]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
vfio/qat: extend Kconfig dependencies for 420xx and 6xxx devices
authorVijay Sundar Selvamani <vijay.sundar.selvamani@intel.com>
Fri, 13 Feb 2026 09:14:03 +0000 (09:14 +0000)
committerAlex Williamson <alex@shazbot.org>
Fri, 27 Feb 2026 19:52:36 +0000 (12:52 -0700)
Currently, the QAT VFIO PCI driver can only be configured when the 4xxx
QAT driver (CRYPTO_DEV_QAT_4XXX) is enabled. This is too restrictive as
the VFIO driver also supports VFs from the 420xx and 6xxx device
families, which share a compatible migration interface.

Extends the Kconfig dependencies to allow configuration when any of the
supported QAT device families (4xxx, 420xx, or 6xxx) are enabled.

Signed-off-by: Vijay Sundar Selvamani <vijay.sundar.selvamani@intel.com>
Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Link: https://lore.kernel.org/r/20260213091403.72338-1-suman.kumar.chakraborty@intel.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/pci/qat/Kconfig

index bf52cfa4b595c3fdee279ec760bc7bade3142187..83f037d7e9a4906ba34af5eb3e275e4f85a04667 100644 (file)
@@ -2,7 +2,7 @@
 config QAT_VFIO_PCI
        tristate "VFIO support for QAT VF PCI devices"
        select VFIO_PCI_CORE
-       depends on CRYPTO_DEV_QAT_4XXX
+       depends on CRYPTO_DEV_QAT_4XXX || CRYPTO_DEV_QAT_420XX || CRYPTO_DEV_QAT_6XXX
        help
          This provides migration support for Intel(R) QAT Virtual Function
          using the VFIO framework.