Hi Marek,
On Wed, Apr 08, 2020 at 04:23:05PM +0200, Marek Szyprowski wrote:
> I need a place to initialize properly all the structures for the given
> master (IOMMU client device, the one which performs DMA operations).
That could be in the probe_device() call-back, no?
> I tried to move all the initialization from xlate() to device_probe(),
> but such approach doesn't work.
device_probe() is exynos_sysmmu_probe(), then yes, this is called before
any of the xlate() calls are made.
Would it work to keep the iommu_device structures in the sysmmus and
also create them for the owners? This isn't really a nice solution but
should work the the IOMMU driver until there is a better way to fix
this.
Regards,
Joerg
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization