summaryrefslogtreecommitdiffstats
path: root/ipc/namespace.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2019-06-16 15:48:29 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2019-06-16 15:48:29 +0200
commit4a0ce7764b09044fdb5f92dcf03ec5d8657296f4 (patch)
tree009d171c57d8625736a2709c9fe30c45a02666a8 /ipc/namespace.c
parenthabanalabs: add WARN in case of bad MMU mapping (diff)
downloadlinux-4a0ce7764b09044fdb5f92dcf03ec5d8657296f4.tar.xz
linux-4a0ce7764b09044fdb5f92dcf03ec5d8657296f4.zip
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>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions