History

Merge tag 'vfio-v3.17-rc1' of git://github.com/awilliam/linux-vfio

Pull VFIO updates from Alex Williamson: - enable support for bus reset on device release - fixes for EEH support * tag 'vfio-v3.17-rc1' of git://github.com/awilliam/linux-vfio: drivers/vfio: Enable VFIO if EEH is not supported drivers/vfio: Allow EEH to be built as module drivers/vfio: Fix EEH build error vfio-pci: Attempt bus/slot reset on release vfio-pci: Use mutex around open, release, and remove vfio-pci: Release devices with BusMaster disabled

Linus Torvalds committed 12 years ago

Commit cc8a44c2 parents 4dacb91 9b936c96 files · +170 −25Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/vfio.h+3−3
@@ -98,16 +98,16 @@ extern int vfio_external_user_iommu_id(struct vfio_group *group); · 97 unmodified lines
9898 extern long vfio_external_check_extension(struct vfio_group *group,
9999 unsigned long arg);
100100
101+struct pci_dev;
101102 #ifdef CONFIG_EEH
102−extern int vfio_spapr_pci_eeh_open(struct pci_dev *pdev);
103+extern void vfio_spapr_pci_eeh_open(struct pci_dev *pdev);
103104 extern void vfio_spapr_pci_eeh_release(struct pci_dev *pdev);
104105 extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
105106 unsigned int cmd,
106107 unsigned long arg);
107108 #else
108−static inline int vfio_spapr_pci_eeh_open(struct pci_dev *pdev)
109+static inline void vfio_spapr_pci_eeh_open(struct pci_dev *pdev)
109110 {
110− return 0;
111111 }
112112
113113 static inline void vfio_spapr_pci_eeh_release(struct pci_dev *pdev)