diff options
author | 2022-12-05 11:29:16 -0400 | |
---|---|---|
committer | 2022-12-05 12:04:32 -0700 | |
commit | 8f8bcc8c720c360885639de66fe69756febed824 (patch) | |
tree | 1c4cb53dee705235aa105cdfbcbbaca947f42d14 /drivers/vfio/vfio_spapr_eeh.c | |
parent | vfio/iova_bitmap: refactor iova_bitmap_set() to better handle page boundaries (diff) | |
download | linux-8f8bcc8c720c360885639de66fe69756febed824.tar.gz linux-8f8bcc8c720c360885639de66fe69756febed824.tar.bz2 linux-8f8bcc8c720c360885639de66fe69756febed824.zip |
vfio/pci: Move all the SPAPR PCI specific logic to vfio_pci_core.ko
The vfio_spapr_pci_eeh_open/release() functions are one line wrappers
around an arch function. Just call them directly. This eliminates some
weird exported symbols that don't need to exist.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/1-v5-fc5346cacfd4+4c482-vfio_modules_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio_spapr_eeh.c')
-rw-r--r-- | drivers/vfio/vfio_spapr_eeh.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/vfio/vfio_spapr_eeh.c b/drivers/vfio/vfio_spapr_eeh.c index 67f55ac1d459..c9d102aafbcd 100644 --- a/drivers/vfio/vfio_spapr_eeh.c +++ b/drivers/vfio/vfio_spapr_eeh.c @@ -15,19 +15,6 @@ #define DRIVER_AUTHOR "Gavin Shan, IBM Corporation" #define DRIVER_DESC "VFIO IOMMU SPAPR EEH" -/* We might build address mapping here for "fast" path later */ -void vfio_spapr_pci_eeh_open(struct pci_dev *pdev) -{ - eeh_dev_open(pdev); -} -EXPORT_SYMBOL_GPL(vfio_spapr_pci_eeh_open); - -void vfio_spapr_pci_eeh_release(struct pci_dev *pdev) -{ - eeh_dev_release(pdev); -} -EXPORT_SYMBOL_GPL(vfio_spapr_pci_eeh_release); - long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, unsigned int cmd, unsigned long arg) { |