Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1259366

Re: [PATCH v4 0/6] virtio core DMA API conversion

From Christian Borntraeger <borntraeger@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 0/6] virtio core DMA API conversion
Date 2015-10-30 11:00 +0100
Message-ID <qpeDw-4cd-3@gated-at.bofh.it> (permalink)
References <qp6wh-7Kj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/* ?



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/6] virtio core DMA API conversion Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
  [PATCH v4 6/6] virtio_pci: Use the DMA API Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
  Re: [PATCH v4 0/6] virtio core DMA API conversion Andy Lutomirski <luto@amacapital.net> - 2015-10-30 02:20 +0100
  [PATCH v4 5/6] virtio_mmio: Use the DMA API Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
  [PATCH v4 3/6] virtio_pci: Use the DMA API Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
  [PATCH v4 4/6] virtio: Add improved queue allocation API Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
  [PATCH v4 2/6] virtio_ring: Support DMA APIs Andy Lutomirski <luto@kernel.org> - 2015-10-30 02:20 +0100
    Re: [PATCH v4 2/6] virtio_ring: Support DMA APIs Cornelia Huck <cornelia.huck@de.ibm.com> - 2015-10-30 13:10 +0100
      Re: [PATCH v4 2/6] virtio_ring: Support DMA APIs Christian Borntraeger <borntraeger@de.ibm.com> - 2015-10-30 13:10 +0100
        Re: [PATCH v4 2/6] virtio_ring: Support DMA APIs Andy Lutomirski <luto@amacapital.net> - 2015-10-30 20:00 +0100
  Re: [PATCH v4 0/6] virtio core DMA API conversion Christian Borntraeger <borntraeger@de.ibm.com> - 2015-10-30 11:00 +0100

csiph-web