mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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>
11 lines
288 B
Plaintext
11 lines
288 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config MLX5_VFIO_PCI
|
|
tristate "VFIO support for MLX5 PCI devices"
|
|
depends on MLX5_CORE
|
|
depends on VFIO_PCI_CORE
|
|
help
|
|
This provides migration support for MLX5 devices using the VFIO
|
|
framework.
|
|
|
|
If you don't know what to do here, say N.
|