forked from Minki/linux
6fadb02126
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>
12 lines
383 B
Makefile
12 lines
383 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
vfio-pci-core-y := vfio_pci_core.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o
|
|
vfio-pci-core-$(CONFIG_S390) += vfio_pci_zdev.o
|
|
obj-$(CONFIG_VFIO_PCI_CORE) += vfio-pci-core.o
|
|
|
|
vfio-pci-y := vfio_pci.o
|
|
vfio-pci-$(CONFIG_VFIO_PCI_IGD) += vfio_pci_igd.o
|
|
obj-$(CONFIG_VFIO_PCI) += vfio-pci.o
|
|
|
|
obj-$(CONFIG_MLX5_VFIO_PCI) += mlx5/
|