Re: [PATCH] iommu: Remove unused IOMMU_SYS_CACHE_ONLY flag

Will Deacon
2020-07-10T13:05:36Z

Hi Joerg,

On Fri, Jul 10, 2020 at 02:58:32PM +0200, Joerg Roedel wrote:
> On Fri, Jul 03, 2020 at 05:25:48PM +0100, Will Deacon wrote:
> > The IOMMU_SYS_CACHE_ONLY flag was never exposed via the DMA API and
> > has no in-tree users. Remove it.
> >
> > Cc: Robin Murphy <robin.murphy@arm.com>
> > Cc: "Isaac J. Manjarres" <isaacm@codeaurora.org>
> > Cc: Joerg Roedel <joro@8bytes.org>
> > Cc: Christoph Hellwig <hch@lst.de>
> > Cc: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
> > Cc: Rob Clark <robdclark@gmail.com>
> > Signed-off-by: Will Deacon <will@kernel.org>
> > ---
> >
> > As discussed in [1], sounds like this should be a domain attribute anyway
> > when it's needed by the GPU.
> >
> > [1] https://lore.kernel.org/r/CAF6AEGsCROVTsi2R7_aUkmH9Luoc_guMR0w0KUJc2cEgpfj79w@mail.gmail.com
> >
> > drivers/iommu/io-pgtable-arm.c | 3 ---
> > include/linux/iommu.h | 6 ------
> > 2 files changed, 9 deletions(-)
>
> Applied, thanks.

Ah, I'd already got this queued for 5.9:

https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=for-joerg/arm-smmu/updates

and I've queued a small number of patches on top of it now.

Are you planning to send it for 5.8? If so, I suspect I'll have to rebase.

Will