mirror of https://gitee.com/openkylin/linux.git
4dac3210c5
With IOMMU probe deferral, iort_iommu_configure can be called
multiple times for the same device. Hence we have a check
to see if the device's fwspec is already translated and return
the iommu_ops from that directly. But the check is wrongly
placed in iort_iommu_xlate, which breaks devices with multiple
sids. Move the check to iort_iommu_configure.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
gtdt.c | ||
iort.c |