]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iommu/io-pgtable: Replace IO_PGTABLE_QUIRK_NO_DMA with specific flag
authorWill Deacon <will@kernel.org>
Tue, 25 Jun 2019 11:51:25 +0000 (12:51 +0100)
committerWill Deacon <will@kernel.org>
Tue, 25 Jun 2019 11:51:25 +0000 (12:51 +0100)
commit4f41845b340783eaec9cc2840fe3cb9a00574054
tree76d23e87a97d2dade1c3e8e2483e935b4af23bec
parent90ec7a76cc4ba65bfedeb8621cba09cd5a317d8f
iommu/io-pgtable: Replace IO_PGTABLE_QUIRK_NO_DMA with specific flag

IO_PGTABLE_QUIRK_NO_DMA is a bit of a misnomer, since it's really just
an indication of whether or not the page-table walker for the IOMMU is
coherent with the CPU caches. Since cache coherency is more than just a
quirk, replace the flag with its own field in the io_pgtable_cfg
structure.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c
drivers/iommu/io-pgtable-arm-v7s.c
drivers/iommu/io-pgtable-arm.c
drivers/iommu/ipmmu-vmsa.c
include/linux/io-pgtable.h