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
..
2019-06-23 09:23:33 +02:00
2019-06-23 09:23:33 +02:00
2019-06-09 09:11:21 +02:00
2019-06-09 09:11:21 +02:00
2019-06-23 09:23:33 +02:00
2019-06-09 09:11:21 +02:00
2019-06-06 15:16:00 +02:00
2019-04-21 23:14:47 +02:00
2019-07-03 09:51:08 +02:00
2019-07-03 09:51:08 +02:00
2019-05-24 20:19:17 +02:00