mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
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: e5745f3411 ("crypto: qat - enable power management for QAT GEN4")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
74c6df413f
commit
0f942bdfe9
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user