]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - fix firmware loading failure for GEN6 devices
authorSuman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Tue, 5 May 2026 10:17:38 +0000 (06:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 May 2026 13:31:19 +0000 (15:31 +0200)
commit9213bf1a2baa3eae2063f5b5dd8e8f5a4b139a30
treeac0dc34568bdca033bbce9c83b8a5656edaa81db
parenta7b716d18670d22d8377bd99a58ee7c359905c54
crypto: qat - fix firmware loading failure for GEN6 devices

[ Upstream commit e7dcb722bb75bb3f3992f580a8728a794732fd7a ]

QAT GEN6 hardware requires a minimum 3 us delay during the acceleration
engine reset sequence to ensure the hardware fully settles.
Without this delay, the firmware load may fail intermittently.

Add a delay after placing the AE into reset and before clearing the reset,
matching the hardware requirements and ensuring stable firmware loading.
Earlier generations remain unaffected.

Fixes: 17fd7514ae68 ("crypto: qat - add qat_6xxx driver")
Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/intel/qat/qat_common/adf_accel_engine.c
drivers/crypto/intel/qat/qat_common/icp_qat_fw_loader_handle.h
drivers/crypto/intel/qat/qat_common/qat_hal.c