diff options
author | Tomer Tayar | 2019-06-16 13:48:29 +0000 |
---|---|---|
committer | Oded Gabbay | 2019-06-16 13:48:29 +0000 |
commit | 4a0ce7764b09044fdb5f92dcf03ec5d8657296f4 (patch) | |
tree | 009d171c57d8625736a2709c9fe30c45a02666a8 /Documentation/fmc | |
parent | 747bf88c61772ec1e670ee04f4db6af15398c2ef (diff) |
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 'Documentation/fmc')
0 files changed, 0 insertions, 0 deletions