• Linus Torvalds's avatar
    Merge tag 'vfio-v5.15-rc1' of git://github.com/awilliam/linux-vfio · 89b6b8cd
    Linus Torvalds authored
    Pull VFIO updates from Alex Williamson:
    
     - Fix dma-valid return WAITED implementation (Anthony Yznaga)
    
     - SPDX license cleanups (Cai Huoqing)
    
     - Split vfio-pci-core from vfio-pci and enhance PCI driver matching to
       support future vendor provided vfio-pci variants (Yishai Hadas, Max
       Gurtovoy, Jason Gunthorpe)
    
     - Replace duplicated reflck with core support for managing first open,
       last close, and device sets (Jason Gunthorpe, Max Gurtovoy, Yishai
       Hadas)
    
     - Fix non-modular mdev support and don't nag about request callback
       support (Christoph Hellwig)
    
     - Add semaphore to protect instruction intercept handler and replace
       open-coded locks in vfio-ap driver (Tony Krowiak)
    
     - Convert vfio-ap to vfio_register_group_dev() API (Jason Gunthorpe)
    
    * tag 'vfio-v5.15-rc1' of git://github.com/awilliam/linux-vfio: (37 commits)
      vfio/pci: Introduce vfio_pci_core.ko
      vfio: Use kconfig if XX/endif blocks instead of repeating 'depends on'
      vfio: Use select for eventfd
      PCI / VFIO: Add 'override_only' support for VFIO PCI sub system
      PCI: Add 'override_only' field to struct pci_device_id
      vfio/pci: Move module parameters to vfio_pci.c
      vfio/pci: Move igd initialization to vfio_pci.c
      vfio/pci: Split the pci_driver code out of vfio_pci_core.c
      vfio/pci: Include vfio header in vfio_pci_core.h
      vfio/pci: Rename ops functions to fit core namings
      vfio/pci: Rename vfio_pci_device to vfio_pci_core_device
      vfio/pci: Rename vfio_pci_private.h to vfio_pci_core.h
      vfio/pci: Rename vfio_pci.c to vfio_pci_core.c
      vfio/ap_ops: Convert to use vfio_register_group_dev()
      s390/vfio-ap: replace open coded locks for VFIO_GROUP_NOTIFY_SET_KVM notification
      s390/vfio-ap: r/w lock for PQAP interception handler function pointer
      vfio/type1: Fix vfio_find_dma_valid return
      vfio-pci/zdev: Remove repeated verbose license text
      vfio: platform: reset: Convert to SPDX identifier
      vfio: Remove struct vfio_device_ops open/release
      ...
    89b6b8cd
vfio_pci_core.c 55.3 KB