iommu/io-pgtable-arm: Add support to use system cache
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Wed, 25 Nov 2020 07:00:11 +0000 (12:30 +0530)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 12:39:09 +0000 (12:39 +0000)
commite67890c97944b9962cf8c140a7f8077ed643b7d7
tree0d28bec804f2f21c08b99b8bb937c53d52468213
parenta7656ecf825ac0434a5e7bf108ec1a56b65ee5e4
iommu/io-pgtable-arm: Add support to use system cache

Add a quirk IO_PGTABLE_QUIRK_ARM_OUTER_WBWA to override
the outer-cacheability attributes set in the TCR for a
non-coherent page table walker when using system cache.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/r/f818676b4a2a9ad1edb92721947d47db41ed6a7c.1606287059.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/io-pgtable-arm.c
include/linux/io-pgtable.h