iommu/io-pgtable-arm: Rename IOMMU_QCOM_SYS_CACHE and improve doc
authorWill Deacon <will@kernel.org>
Thu, 24 Oct 2019 15:57:39 +0000 (16:57 +0100)
committerWill Deacon <will@kernel.org>
Thu, 7 Nov 2019 12:19:05 +0000 (12:19 +0000)
commitdd5ddd3c7a8c7ac382a82d15757f0ca3ab2b2dbc
tree47c564d49e555eaaa7beb14febf303e709360ab7
parent205577ab6f7ade6185f764ed78fb6875dca40205
iommu/io-pgtable-arm: Rename IOMMU_QCOM_SYS_CACHE and improve doc

The 'IOMMU_QCOM_SYS_CACHE' IOMMU protection flag is exposed to all
users of the IOMMU API. Despite its name, the idea behind it isn't
especially tied to Qualcomm implementations and could conceivably be
used by other systems.

Rename it to 'IOMMU_SYS_CACHE_ONLY' and update the comment to describe
a bit better the idea behind it.

Cc: Robin Murphy <robin.murphy@arm.com>
Cc: "Isaac J. Manjarres" <isaacm@codeaurora.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/io-pgtable-arm.c
include/linux/iommu.h