On Fri, Jun 09, 2023 at 07:06:14PM +0200, Lucas Segarra Fernandez wrote: > Expose 'pm_idle_enabled' sysfs attribute. This attribute controls how > idle conditions are handled. If it is set to 1 (idle support enabled) > when the device detects an idle condition, the driver will transition > the device to the 'MIN' power configuration. > > In order to set the value of this attribute for a device, the device > must be in the 'down' state. > > This only applies to qat_4xxx generation. > > Signed-off-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@xxxxxxxxx> > Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- > Documentation/ABI/testing/sysfs-driver-qat | 35 ++++++++++++ > .../intel/qat/qat_common/adf_cfg_strings.h | 1 + > .../crypto/intel/qat/qat_common/adf_gen4_pm.c | 12 ++++- > .../crypto/intel/qat/qat_common/adf_gen4_pm.h | 1 + > .../crypto/intel/qat/qat_common/adf_sysfs.c | 53 +++++++++++++++++++ > 5 files changed, 101 insertions(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt