On Tue, Mar 16, 2021 at 04:38:23PM +0100, Christoph Hellwig wrote:
Use an explicit set_pgtable_quirks method instead that just passes the actual quirk bitmask instead.
Signed-off-by: Christoph Hellwig hch@lst.de Acked-by: Li Yang leoyang.li@nxp.com
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 5 +- drivers/iommu/arm/arm-smmu/arm-smmu.c | 64 +++++-------------------- drivers/iommu/arm/arm-smmu/arm-smmu.h | 2 +- drivers/iommu/iommu.c | 11 +++++ include/linux/io-pgtable.h | 4 -- include/linux/iommu.h | 12 ++++- 6 files changed, 35 insertions(+), 63 deletions(-)
I'm fine with this for now, although there has been talk about passing things other than boolean flags as page-table quirks. We can cross that bridge when we get there, so:
Acked-by: Will Deacon will@kernel.org
Will
dri-devel@lists.freedesktop.org