From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 3/3] s390/dma: Allow per device dma ops Date: Mon, 2 Nov 2015 16:21:18 +0100 Message-ID: <20151102152118.GE2876@suse.de> References: <1446211237-111298-1-git-send-email-borntraeger@de.ibm.com> <1446211237-111298-4-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1446211237-111298-4-git-send-email-borntraeger@de.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Christian Borntraeger Cc: linux-s390 , KVM , Michael Tsirkin , benh@kernel.crashing.org, Sebastian Ott , virtualization@lists.linux-foundation.org, Martin Schwidefsky , Andy Lutomirski , Paolo Bonzini , dwmw2@infradead.org, Christoph Hellwig List-Id: virtualization@lists.linuxfoundation.org On Fri, Oct 30, 2015 at 02:20:37PM +0100, Christian Borntraeger wrote: > As virtio-ccw now has dma ops, we can no longer default to the PCI ones. > Make use of dev_archdata to keep the dma_ops per device. The pci devices > now use that to override the default, and the default is changed to use > the noop ops for everything that is not PCI. To compile without PCI > support we also have to enable the DMA api with virtio. > > Signed-off-by: Christian Borntraeger > --- > arch/s390/Kconfig | 3 ++- > arch/s390/include/asm/device.h | 6 +++++- > arch/s390/include/asm/dma-mapping.h | 6 ++++-- > arch/s390/pci/pci.c | 1 + > arch/s390/pci/pci_dma.c | 4 ++-- > 5 files changed, 14 insertions(+), 6 deletions(-) Reviewed-by: Joerg Roedel