• Linus Torvalds's avatar
    Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 10826505
    Linus Torvalds authored
    Pull virtio fixes from Michael Tsirkin:
     "The biggest thing here is the adminq change - but it looks like the
      only way to avoid headq blocking causing indefinite stalls.
    
      This fixes three issues:
    
       - Prevent admin commands on one VF blocking another.
    
         This prevents a bad VF from blocking a good one, as well as fixing
         a scalability issue with large # of VFs
    
       - Correctly return error on command failure on octeon. We used to
         treat failed commands as a success.
    
       - Fix modpost warning when building virtio_dma_buf. Harmless, but the
         fix is trivial"
    
    * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
      virtio_pci_modern: remove admin queue serialization lock
      virtio_pci_modern: use completion instead of busy loop to wait on admin cmd result
      virtio_pci_modern: pass cmd as an identification token
      virtio_pci_modern: create admin queue of queried size
      virtio: create admin queues alongside other virtqueues
      virtio_pci: pass vq info as an argument to vp_setup_vq()
      virtio: push out code to vp_avq_index()
      virtio_pci_modern: treat vp_dev->admin_vq.info.vq pointer as static
      virtio_pci: introduce vector allocation fallback for slow path virtqueues
      virtio_pci: pass vector policy enum to vp_find_one_vq_msix()
      virtio_pci: pass vector policy enum to vp_find_vqs_msix()
      virtio_pci: simplify vp_request_msix_vectors() call a bit
      virtio_pci: push out single vq find code to vp_find_one_vq_msix()
      vdpa/octeon_ep: Fix error code in octep_process_mbox()
      virtio: add missing MODULE_DESCRIPTION() macro
    10826505
virtio.c 14.4 KB