Re: [PATCH] habanalabs: Allow accessing host mapped addresses via debugfs

2019-06-17 Thread Oded Gabbay
On Sun, Jun 16, 2019 at 4:48 PM Tomer Tayar wrote: > > 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 ad

[PATCH] habanalabs: Allow accessing host mapped addresses via debugfs

2019-06-16 Thread Tomer Tayar
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