]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: qat - enable power management debugfs for GEN6 devices
authorGeorge Abraham P <george.abraham.p@intel.com>
Mon, 7 Jul 2025 12:28:46 +0000 (13:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:51:59 +0000 (20:51 +1000)
commitc963ff0ec45a4eef7fad8a741848af9a888a0863
tree39e3aff4d0c650e7bfb57d87c09caef95b880c9c
parent7c68005a46108ffaa598e91f1571e5f7f9acb6dc
crypto: qat - enable power management debugfs for GEN6 devices

The QAT driver includes infrastructure to report power management (PM)
information via debugfs. Extend this support to QAT GEN6 devices
by exposing PM debug data through the `pm_status` file.

This implementation reports the current PM state, power management
hardware control and status registers (CSR), and per-domain power
status specific to the QAT GEN6 architecture.

The debug functionality is implemented in adf_gen6_pm_dbgfs.c
and initialized as part of the enable_pm() function.

Co-developed-by: Vijay Sundar Selvamani <vijay.sundar.selvamani@intel.com>
Signed-off-by: Vijay Sundar Selvamani <vijay.sundar.selvamani@intel.com>
Signed-off-by: George Abraham P <george.abraham.p@intel.com>
Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/ABI/testing/debugfs-driver-qat
drivers/crypto/intel/qat/qat_6xxx/adf_6xxx_hw_data.c
drivers/crypto/intel/qat/qat_common/Makefile
drivers/crypto/intel/qat/qat_common/adf_gen6_pm.h
drivers/crypto/intel/qat/qat_common/adf_gen6_pm_dbgfs.c [new file with mode: 0644]