[PATCH v2 0/4] iommu: Fix the longstanding probe issues
Robin Murphy
robin.murphy at arm.com
Fri Feb 28 07:46:29 PST 2025
v1: https://lore.kernel.org/linux-iommu/cover.1739486121.git.robin.murphy@arm.com/
Hi all,
This spin irons out a couple of issues which v1 had. Firstly there
should now be no change in behaviour for the weird of_dma_configure()
calls, other than possibly getting the warning if they deserve it.
Secondly I think there was still a possibility for probe to run via
the replay path while its "real" probe was waiting to reacquire the
lock; this is now solved by making dev->iommu a reliable indicator of
the probe lifecycle, with a couple more prep patches.
Thanks,
Robin.
Robin Murphy (4):
iommu: Handle race with default domain setup
iommu: Resolve ops in iommu_init_device()
iommu: Keep dev->iommu state consistent
iommu: Get DT/ACPI parsing into the proper probe path
drivers/acpi/arm64/dma.c | 5 +++
drivers/acpi/scan.c | 7 -----
drivers/amba/bus.c | 3 +-
drivers/base/platform.c | 3 +-
drivers/bus/fsl-mc/fsl-mc-bus.c | 3 +-
drivers/cdx/cdx.c | 3 +-
drivers/iommu/iommu-priv.h | 2 ++
drivers/iommu/iommu.c | 55 ++++++++++++++++++++++++---------
drivers/iommu/of_iommu.c | 13 ++++++--
drivers/of/device.c | 7 ++++-
drivers/pci/pci-driver.c | 3 +-
11 files changed, 74 insertions(+), 30 deletions(-)
--
2.39.2.101.g768bb238c484.dirty
More information about the linux-arm-kernel
mailing list