aboutsummaryrefslogtreecommitdiff
path: root/drivers/vfio/pci/Kconfig
diff options
context:
space:
mode:
authorYishai Hadas2022-02-24 16:20:22 +0200
committerLeon Romanovsky2022-03-03 13:01:19 +0200
commit6fadb021266d03c5fd7bca2cfa1607efd246dad1 (patch)
treef29956cf271921a8f40ab83536d3dfe018e535a8 /drivers/vfio/pci/Kconfig
parentf1d98f346ee34ef41369ace9f91fc4f46a3e30cb (diff)
vfio/mlx5: Implement vfio_pci driver for mlx5 devices
This patch adds support for vfio_pci driver for mlx5 devices. It uses vfio_pci_core to register to the VFIO subsystem and then implements the mlx5 specific logic in the migration area. The migration implementation follows the definition from uapi/vfio.h and uses the mlx5 VF->PF command channel to achieve it. This patch implements the suspend/resume flows. Link: https://lore.kernel.org/all/20220224142024.147653-14-yishaih@nvidia.com Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/vfio/pci/Kconfig')
-rw-r--r--drivers/vfio/pci/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vfio/pci/Kconfig b/drivers/vfio/pci/Kconfig
index 860424ccda1b..187b9c259944 100644
--- a/drivers/vfio/pci/Kconfig
+++ b/drivers/vfio/pci/Kconfig
@@ -43,4 +43,7 @@ config VFIO_PCI_IGD
To enable Intel IGD assignment through vfio-pci, say Y.
endif
+
+source "drivers/vfio/pci/mlx5/Kconfig"
+
endif