Hi all,

I have a question regarding usage of 'dma-ranges', can someone point me in the right direction? On qcom soc, few of the master devices with iommu attached to them, have limitations in using the iova address range. They can allow the iova to be only in a certain range, e.g. video codec firmware can only access iova only in a first few MBs as the video's arm core reset starts at 0x0. To do that, I earlier, had the understanding that we can modify the iommu_domain's geometry aperture. But that looks kind of a hacky way to get the domain for the device and modify the aperture. I was trying to explore if we can use the dma-ranges property. But the iommu bindings documentation doesn't really talks much about usage of dma-ranges. Can someone help me with with the answer to - can we use 'dma-ranges' to limit a device's iova address access? If yes, then how?

TIF

Regards
Vivek

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to