vfio/qat: Add vfio_pci driver for Intel QAT SR-IOV VF devices
authorXin Zeng <xin.zeng@intel.com>
Fri, 26 Apr 2024 06:40:51 +0000 (14:40 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 29 Apr 2024 19:25:41 +0000 (13:25 -0600)
commitbb208810b1abf1c84870cfbe1cc9cf1a1d35c607
tree99ed0695daa286476824dc645aa20945bb72a9b6
parent4fefd69da0646c1d7dde5efafc73ff79927e92cc
vfio/qat: Add vfio_pci driver for Intel QAT SR-IOV VF devices

Add vfio pci variant driver for Intel QAT SR-IOV VF devices. This driver
registers to the vfio subsystem through the interfaces exposed by the
subsystem. It follows the live migration protocol v2 defined in
uapi/linux/vfio.h and interacts with Intel QAT PF driver through a set
of interfaces defined in qat/qat_mig_dev.h to support live migration of
Intel QAT VF devices.

This version only covers migration for Intel QAT GEN4 VF devices.

Co-developed-by: Yahui Cao <yahui.cao@intel.com>
Signed-off-by: Yahui Cao <yahui.cao@intel.com>
Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240426064051.2859652-1-xin.zeng@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
MAINTAINERS
drivers/vfio/pci/Kconfig
drivers/vfio/pci/Makefile
drivers/vfio/pci/qat/Kconfig [new file with mode: 0644]
drivers/vfio/pci/qat/Makefile [new file with mode: 0644]
drivers/vfio/pci/qat/main.c [new file with mode: 0644]