]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iommu/arm-smmu: Support non-strict mode
authorRobin Murphy <robin.murphy@arm.com>
Thu, 20 Sep 2018 16:10:27 +0000 (17:10 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit616de6e83dda8b72e55974708f64d9413c88730d
tree813c76279babfdc057b2e90f80723a63ec00c28c
parent4fda815ac5d36b5e76ac5caf051fb9820fb9a8f9
iommu/arm-smmu: Support non-strict mode

BugLink: https://bugs.launchpad.net/bugs/1806488
All we need is to wire up .flush_iotlb_all properly and implement the
domain attribute, and iommu-dma and io-pgtable will do the rest for us.
The only real subtlety is documenting the barrier semantics we're
introducing between io-pgtable and the drivers for non-strict flushes.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(backported from commit 44f6876a00e83df5fd28681502b19b0f51e4a3c6)
[ dannf: trivial context fix in arm_smmu_ops struct ]
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/iommu/arm-smmu.c