crypto: qat - change value of default idle filter
Subsystems (2)
Giovanni Cabiddu
maintainerPATCH 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")
Signed-off-by Giovanni Cabiddu <[email protected]>
Reviewed-by Damian Muszynski <[email protected]>
--- 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
@@ -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
Herbert Xu
maintainerQuoted 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")Signed-off-by Giovanni Cabiddu <[email protected]>Reviewed-by Damian Muszynski <[email protected]>--- 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