Skip to contentSkip to conversation

crypto: qat - change value of default idle filter

PATCH In review Giovanni Cabiddu 2 participants 2 messages Jun 22, 2023 – Jul 14, 2023

Subsystems (2)
lore
Share & tools
lore

Giovanni Cabiddu

author maintainer
#0 lore raw

PATCH 1/1 crypto: qat - change value of default idle filter

The power management configuration of 4xxx devices is too aggressive and in some conditions the device might be prematurely put to a low power state.
Increase the idle filter value to prevent that.
In future, this will be set by firmware.

Fixes e5745f34113b ("crypto: qat - enable power management for QAT GEN4")
---
 drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h +1 -1
index dd112923e006..c2768762cca3 100644
@@ -35,7 +35,7 @@
 #define ADF_GEN4_PM_MSG_PENDING			BIT(0)
 #define ADF_GEN4_PM_MSG_PAYLOAD_BIT_MASK	GENMASK(28, 1)
 
-#define ADF_GEN4_PM_DEFAULT_IDLE_FILTER		(0x0)
+#define ADF_GEN4_PM_DEFAULT_IDLE_FILTER		(0x6)
 #define ADF_GEN4_PM_MAX_IDLE_FILTER		(0x7)
 #define ADF_GEN4_PM_DEFAULT_IDLE_SUPPORT	(0x1)
 
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 6 lines · Giovanni Cabiddu

The power management configuration of 4xxx devices is too aggressive and in some conditions the device might be prematurely put to a low power state.
Increase the idle filter value to prevent that.
In future, this will be set by firmware.

Quoted 6 lines
Fixes e5745f34113b ("crypto: qat - enable power management for QAT GEN4")
---
 drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt