From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 9 Apr 2019 14:39:06 +0200 From: Halil Pasic Subject: Re: [RFC PATCH 03/12] s390/mm: force swiotlb for protected virtualization In-Reply-To: <20190409122241.GA9312@infradead.org> References: <20190404231622.52531-1-pasic@linux.ibm.com> <20190404231622.52531-4-pasic@linux.ibm.com> <20190409122241.GA9312@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20190409143906.716e82c0@oc2783563651> Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Christoph Hellwig Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, Cornelia Huck , Martin Schwidefsky , Sebastian Ott , virtualization@lists.linux-foundation.org, Christian Borntraeger , Viktor Mihajlovski , Vasily Gorbik , Janosch Frank , Claudio Imbrenda , Farhan Ali , Eric Farman List-ID: On Tue, 9 Apr 2019 05:22:41 -0700 Christoph Hellwig wrote: > > +++ b/arch/s390/include/asm/dma-mapping.h > > @@ -0,0 +1,13 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +#ifndef _ASM_S390_DMA_MAPPING_H > > +#define _ASM_S390_DMA_MAPPING_H > > + > > +#include > > + > > +static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) > > +{ > > + return NULL; > > +} > > + > > +#endif /* _ASM_S390_DMA_MAPPING_H */ > > + > > Congratulations! You ust create an entirely pointless duplicate of > include/asm-generic/dma-mapping.h. > Right! Thanks for spotting. There was a stage in development when my arch/s390/include/asm/dma-mapping.h looked quite different, but I did end up with an entirely pointless duplicate indeed. I will fix it for v1. Regards, Halil