public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add interconnect debugfs client
@ 2023-07-25  1:28 Mike Tipton
  2023-07-25  1:28 ` [PATCH 1/3] debugfs: Add write support to debugfs_create_str() Mike Tipton
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Mike Tipton @ 2023-07-25  1:28 UTC (permalink / raw)
  To: djakov, gregkh, rafael
  Cc: linux-kernel, linux-pm, quic_okukatla, quic_viveka, Mike Tipton

This series introduces interconnect debugfs files that support voting
for any path the framework supports.

We've historically relied on an out-of-tree module for this, which used
the old icc_get() that was recently removed in [0]. The old icc_get()
took integer endpoint IDs, which made identifying paths in our old
implementation non-intuitive. The logical node names typically don't
change much chip-to-chip, but the raw integer IDs do. Take this
opportunity to introduce an icc_get() that uses string names instead,
which allows for a more intuitive and generic debugfs interface.

We rely on this support for debug, test, and verification. Hopefully
it'll be useful for other vendors as well.

[0] commit 7dcdad6f32c9 ("interconnect: drop unused icc_get() interface")

Mike Tipton (3):
  debugfs: Add write support to debugfs_create_str()
  interconnect: Reintroduce icc_get()
  interconnect: Add debugfs test client

 drivers/interconnect/Makefile         |   2 +-
 drivers/interconnect/core.c           |  67 +++++++++++
 drivers/interconnect/debugfs-client.c | 156 ++++++++++++++++++++++++++
 drivers/interconnect/internal.h       |   2 +
 fs/debugfs/file.c                     |  48 +++++++-
 include/linux/interconnect.h          |   6 +
 6 files changed, 278 insertions(+), 3 deletions(-)
 create mode 100644 drivers/interconnect/debugfs-client.c

-- 
2.17.1


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

end of thread, other threads:[~2023-07-26  1:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25  1:28 [PATCH 0/3] Add interconnect debugfs client Mike Tipton
2023-07-25  1:28 ` [PATCH 1/3] debugfs: Add write support to debugfs_create_str() Mike Tipton
2023-07-25  1:28 ` [PATCH 2/3] interconnect: Reintroduce icc_get() Mike Tipton
2023-07-25  5:48   ` Pavan Kondeti
2023-07-26  1:24     ` Mike Tipton
2023-07-25  8:07   ` kernel test robot
2023-07-25  8:49   ` kernel test robot
2023-07-25  1:28 ` [PATCH 3/3] interconnect: Add debugfs test client Mike Tipton
2023-07-25  5:46   ` Pavan Kondeti
2023-07-25 15:59     ` Mike Tipton
2023-07-25  5:30 ` [PATCH 0/3] Add interconnect debugfs client Pavan Kondeti

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