public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add debugfs pm_status for qat driver
@ 2023-08-18 10:23 Lucas Segarra Fernandez
  2023-08-18 10:23 ` [PATCH v2 1/2] crypto: qat - refactor included headers Lucas Segarra Fernandez
  2023-08-18 10:23 ` [PATCH v2 2/2] crypto: qat - add pm_status debugfs file Lucas Segarra Fernandez
  0 siblings, 2 replies; 18+ messages in thread
From: Lucas Segarra Fernandez @ 2023-08-18 10:23 UTC (permalink / raw)
  To: herbert, linux-kernel
  Cc: linux-crypto, qat-linux, andriy.shevchenko, alx,
	Lucas Segarra Fernandez

Add debugfs pm_status

Expose power management info by providing the "pm_status" file under
debugfs.

---
v1 -> v2:
- Add constant ICP_QAT_NUMBER_OF_PM_EVENTS, rather than
  ARRAY_SIZE_OF_FIELD()
---

Lucas Segarra Fernandez (2):
  crypto: qat - refactor included headers
  crypto: qat - add pm_status debugfs file

 Documentation/ABI/testing/debugfs-driver-qat  |   9 +
 drivers/crypto/intel/qat/qat_common/Makefile  |   1 +
 .../intel/qat/qat_common/adf_accel_devices.h  |  13 +
 .../crypto/intel/qat/qat_common/adf_admin.c   |  25 ++
 .../intel/qat/qat_common/adf_common_drv.h     |   1 +
 .../crypto/intel/qat/qat_common/adf_dbgfs.c   |   3 +
 .../crypto/intel/qat/qat_common/adf_gen4_pm.c | 261 ++++++++++++++++++
 .../crypto/intel/qat/qat_common/adf_gen4_pm.h |  38 ++-
 .../intel/qat/qat_common/adf_pm_dbgfs.c       |  47 ++++
 .../intel/qat/qat_common/adf_pm_dbgfs.h       |  12 +
 .../qat/qat_common/icp_qat_fw_init_admin.h    |  35 +++
 11 files changed, 444 insertions(+), 1 deletion(-)
 create mode 100644 drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.c
 create mode 100644 drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.h

-- 
2.41.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-08-31 14:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18 10:23 [PATCH v2 0/2] Add debugfs pm_status for qat driver Lucas Segarra Fernandez
2023-08-18 10:23 ` [PATCH v2 1/2] crypto: qat - refactor included headers Lucas Segarra Fernandez
2023-08-25 10:36   ` Herbert Xu
2023-08-25 10:41     ` Herbert Xu
2023-08-25 11:00       ` Herbert Xu
2023-08-25 12:37     ` Andy Shevchenko
2023-08-28 10:22       ` Herbert Xu
2023-08-28 10:46         ` Andy Shevchenko
2023-08-29 10:18           ` Herbert Xu
2023-08-29 14:08             ` Andy Shevchenko
2023-08-31  3:55               ` Herbert Xu
2023-08-31 11:18                 ` Alejandro Colomar
2023-08-31 13:29                   ` Andy Shevchenko
2023-08-31 13:26                 ` Andy Shevchenko
2023-08-18 10:23 ` [PATCH v2 2/2] crypto: qat - add pm_status debugfs file Lucas Segarra Fernandez
2023-08-25 10:39   ` Herbert Xu
2023-08-25 12:38     ` Andy Shevchenko
2023-08-25 11:01   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox