Re: [PATCH 02/15] swiotlb: remove dma_mark_clean

2019-01-03 Thread Tony Luck
On Wed, Jan 2, 2019 at 11:23 PM Christoph Hellwig wrote: > I think something like the patch below should fix it: > > diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig > index ccd56f5df8cd..8d7396bd1790 100644 > --- a/arch/ia64/Kconfig > +++ b/arch/ia64/Kconfig > @@ -31,7 +31,7 @@ config IA64 >

Re: [PATCH 02/15] swiotlb: remove dma_mark_clean

2019-01-02 Thread Tony Luck
On Fri, Dec 7, 2018 at 11:08 AM Christoph Hellwig wrote: > > Instead of providing a special dma_mark_clean hook just for ia64, switch > ia64 to use the normal arch_sync_dma_for_cpu hooks instead. > > This means that we now also set the PG_arch_1 bit for pages in the > swiotlb buffer, which isn't s