[PULL] vhost: cleanups and fixes

From: Michael S. Tsirkin
Date: Mon Apr 10 2017 - 17:37:09 EST


These changes were as in linux-next as e1c287efcd4cf688564ed1112d032b5dac29b159 -
I tweaked the commit log slightly.

Too many people were complaining of warnings and errors in virtio
so I decided revert is the safest path forward right now.

The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf:

Linux 4.11-rc5 (2017-04-02 17:23:54 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus

for you to fetch changes up to 2f8dc3a01f1cf8ed17b1e295812ad12b688be5d3:

virtio-pci: Remove affinity hint before freeing the interrupt (2017-04-11 00:30:20 +0300)

----------------------------------------------------------------
virtio: oops fixes

virtio pci rework using shared interrupts caused a lot of issues. We
tried to fix them but run out of time. Revert for now, and revisit the
issue for the next kernel.

Luckily we are able to do this without loosing automatic
interrupt NUMA affinity which was the main motivator for the
rework.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

----------------------------------------------------------------
Cornelia Huck (1):
MAINTAINERS: fix virtio file pattern

Marc Zyngier (1):
virtio-pci: Remove affinity hint before freeing the interrupt

Michael S. Tsirkin (9):
virtio_net: enable big packets for large MTU values
virtio: allow drivers to validate features
virtio_net: clear MTU when out of range
virtio_console: fix uninitialized variable use
Revert "virtio_pci: fix out of bound access for msix_names"
Revert "virtio_pci: simplify MSI-X setup"
Revert "virtio_pci: don't duplicate the msix_enable flag in struct pci_dev"
Revert "virtio_pci: use shared interrupts for virtqueues"
Revert "virtio_pci: remove struct virtio_pci_vq_info"

MAINTAINERS | 2 +-
drivers/char/virtio_console.c | 6 +-
drivers/net/virtio_net.c | 45 +++--
drivers/virtio/virtio.c | 6 +
drivers/virtio/virtio_pci_common.c | 375 ++++++++++++++++++++++---------------
drivers/virtio/virtio_pci_common.h | 43 ++++-
drivers/virtio/virtio_pci_legacy.c | 8 +-
drivers/virtio/virtio_pci_modern.c | 8 +-
include/linux/virtio.h | 1 +
include/uapi/linux/virtio_pci.h | 2 +-
10 files changed, 323 insertions(+), 173 deletions(-)