Commit a32cd73f authored by Ahsan Atta's avatar Ahsan Atta Committed by Greg Kroah-Hartman
Browse files

crypto: qat - allow enabling VFs in the absence of IOMMU



[ Upstream commit 53669ff5 ]

The commit ca88a2bd ("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: ca88a2bd ("crypto: qat - allow disabling SR-IOV VFs")
Signed-off-by: default avatarAhsan Atta <ahsan.atta@intel.com>
Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: default avatarMichal Witwicki <michal.witwicki@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bfd78c42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment