vfio/pci: Move all the SPAPR PCI specific logic to vfio_pci_core.ko
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 5 Dec 2022 15:29:16 +0000 (11:29 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 5 Dec 2022 19:04:32 +0000 (12:04 -0700)
commit8f8bcc8c720c360885639de66fe69756febed824
tree1c4cb53dee705235aa105cdfbcbbaca947f42d14
parentb058ea3ab5afea873ab8d976277539ca9e43869a
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>
drivers/vfio/pci/vfio_pci_core.c
drivers/vfio/vfio_spapr_eeh.c
include/linux/vfio.h