Home
last modified time | relevance | path

Searched hist:"4 a0ce7764b09044fdb5f92dcf03ec5d8657296f4" (Results 1 – 1 of 1) sorted by relevance

/linux/Documentation/ABI/testing/
H A Ddebugfs-driver-habanalabsdiff 4a0ce7764b09044fdb5f92dcf03ec5d8657296f4 Sun Jun 16 15:48:29 CEST 2019 Tomer Tayar <ttayar@habana.ai> 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>