]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/arm-smmu: Support non-PCI devices with SMMUv3
authorRobin Murphy <robin.murphy@arm.com>
Mon, 12 Sep 2016 16:13:46 +0000 (17:13 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:17 +0000 (09:34 +0100)
commit08d4ca2a672bab34e6640ffa946844d09d4f6f60
treedbeaa2195fa98cfeb47a72d4449a28f550a06b95
parent8f78515425daead9d69e061cc4d8da8299ed0e88
iommu/arm-smmu: Support non-PCI devices with SMMUv3

With the device <-> stream ID relationship suitably abstracted and
of_xlate() hooked up, the PCI dependency now looks, and is, entirely
arbitrary. Any bus using the of_dma_configure() mechanism will work,
so extend support to the platform and AMBA buses which do just that.

Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/Kconfig
drivers/iommu/arm-smmu-v3.c