From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: Re: [PATCH v4 0/6] virtio core DMA API conversion Date: Fri, 30 Oct 2015 10:57:37 +0100 Message-ID: <56333F11.5030300__30803.0449822128$1446199102$gmane$org@de.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Andy Lutomirski , linux-kernel@vger.kernel.org, "David S. Miller" , sparclinux@vger.kernel.org Cc: linux-s390 , Joerg Roedel , KVM , "Michael S. Tsirkin" , benh@kernel.crashing.org, Sebastian Ott , virtualization@lists.linux-foundation.org, Martin Schwidefsky , Paolo Bonzini , dwmw2@infradead.org, Christoph Hellwig List-Id: virtualization@lists.linuxfoundation.org Am 30.10.2015 um 02:09 schrieb Andy Lutomirski: > This switches virtio to use the DMA API unconditionally. I'm sure > it breaks things, but it seems to work on x86 using virtio-pci, with > and without Xen, and using both the modern 1.0 variant and the > legacy variant. > > This appears to work on native and Xen x86_64 using both modern and > legacy virtio-pci. It also appears to work on arm and arm64. > > It definitely won't work as-is on s390x, and I haven't been able to > test Christian's patches because I can't get virtio-ccw to work in > QEMU at all. I don't know what I'm doing wrong. [...] > virtio-net: Stop doing DMA from the stack > > drivers/net/virtio_net.c | 34 ++-- > drivers/virtio/Kconfig | 2 +- > drivers/virtio/virtio_mmio.c | 67 ++----- > drivers/virtio/virtio_pci_common.h | 6 - > drivers/virtio/virtio_pci_legacy.c | 42 ++--- > drivers/virtio/virtio_pci_modern.c | 61 ++----- > drivers/virtio/virtio_ring.c | 348 ++++++++++++++++++++++++++++++------- do you also have an untested patch for drivers/s390/virtio/* ?