]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: qat - allow enabling VFs in the absence of IOMMU
authorAhsan Atta <ahsan.atta@intel.com>
Wed, 4 Jun 2025 08:23:43 +0000 (09:23 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 09:26:17 +0000 (17:26 +0800)
commit53669ff591d4deb2d80eed4c07593ad0c0b45899
treeaea51ec6a0808068f8448af895a5c3ab99367c31
parent0fa766726c091ff0ec7d26874f6e4724d23ecb0e
crypto: qat - allow enabling VFs in the absence of IOMMU

The commit ca88a2bdd4dd ("crypto: qat - allow disabling SR-IOV VFs")
introduced an unnecessary change that prevented enabling SR-IOV when
IOMMU is disabled. In certain scenarios, it is desirable to enable
SR-IOV even in the absence of IOMMU. Thus, restoring the previous
functionality to allow VFs to be enumerated in the absence of IOMMU.

Fixes: ca88a2bdd4dd ("crypto: qat - allow disabling SR-IOV VFs")
Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Michal Witwicki <michal.witwicki@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_sriov.c