[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210330131448.GQ5908@willie-the-truck>
Date: Tue, 30 Mar 2021 14:14:49 +0100
From: Will Deacon <will@...nel.org>
To: Christoph Hellwig <hch@....de>
Cc: Joerg Roedel <joro@...tes.org>, Li Yang <leoyang.li@....com>,
Michael Ellerman <mpe@...erman.id.au>,
David Woodhouse <dwmw2@...radead.org>,
Lu Baolu <baolu.lu@...ux.intel.com>,
linuxppc-dev@...ts.ozlabs.org, linux-arm-msm@...r.kernel.org,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org,
iommu@...ts.linux-foundation.org,
linux-arm-kernel@...ts.infradead.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH 17/18] iommu: remove DOMAIN_ATTR_IO_PGTABLE_CFG
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@....de>
> Acked-by: Li Yang <leoyang.li@....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@...nel.org>
Will
Powered by blists - more mailing lists