linux/drivers/misc/habanalabs/goya
Tomer Tayar 4a0ce7764b habanalabs: Allow accessing host mapped addresses via debugfs
Allows using the addr/data32 debugfs nodes to access a device VA of a
host mapped memory when the IOMMU is disabled.

Due to the possible large amount of a user host mapped memory, the
driver doesn't maintain a database with the host addresses per device VA.
When the IOMMU is disabled, this missing info is being overcome by
simply using phys_to_virt(). However, this is not useful when the IOMMU
is enabled, and thus the enforced limitation.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-06-16 13:48:29 +00:00
..
goya_coresight.c habanalabs: Read upper bits of trace buffer from RWPHI 2019-06-04 15:13:09 +03:00
goya_hwmgr.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
goya_security.c habanalabs: make tpc registers secured 2019-05-30 08:46:01 +00:00
goya.c habanalabs: Allow accessing host mapped addresses via debugfs 2019-06-16 13:48:29 +00:00
goyaP.h habanalabs: add MMU mappings for Goya CPU 2019-05-29 17:30:04 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00