aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2022-08-15 17:20:05 +0100
committerJoerg Roedel <[email protected]>2022-09-07 14:25:02 +0200
commitc13dbc1e24854908376c40ccaeb7a3a3c111e3af (patch)
tree38a19375c2acc04509d6b8c76104531c7d106c3d /lib/mpi/mpi-mod.c
parent927a5fdd949a03a244c1f5b3e6103aaadd547542 (diff)
iommu: Always register bus notifiers
The number of bus types that the IOMMU subsystem deals with is small and manageable, so pull that list into core code as a first step towards cleaning up all the boilerplate bus-awareness from drivers. Calling iommu_probe_device() before bus->iommu_ops is set will simply return -ENODEV and not break the notifier call chain, so there should be no harm in proactively registering all our bus notifiers at init time. Tested-by: Marek Szyprowski <[email protected]> Tested-by: Matthew Rosato <[email protected]> # s390 Tested-by: Niklas Schnelle <[email protected]> # s390 Signed-off-by: Robin Murphy <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/7462347bf938bd6eedb629a3a318434f6516e712.1660572783.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions