From: Sudeep Holla <sudeep.holla@arm.com>
To: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>,
Cristian Marussi <cristian.marussi@arm.com>
Subject: [PATCH v5 0/5] Add per-transport SCMI communication debug statistics
Date: Mon, 5 Aug 2024 14:10:07 +0100 [thread overview]
Message-ID: <20240805131013.587016-1-sudeep.holla@arm.com> (raw)
This series adds support for SCMI communication debug metrict tracking.
I am just sending on behalf of Luke with minor reworks in his absense.
Cristian,
I have retained your review tags, please shout if you disagree.
Regards,
Sudeep
V4->V5
- Updated/improved some patch titles and commit messages
- Moved all debugs strings to an array and changed the creations of the
same into a for loop
- Minor changes to the debugfs file names itself to improve readability
V3->V4
- Rename to counters rather than statistics to reflect the scmi protocol better
- Use basic writing rather than custom function on debugfs in patch 5
V2->V3
- Switch statistic counters to an array to store statistics.
- Add more statistics
- Add the ability to reset statistics, both individually and all
V1->V2
- Add a minor fix removing an unneeded call to handle_to_scmi_info
- Use new scmi_log_stats op/no-op rather than if(IS_ENABLED)
- Drop unneeded atomic_set's
- Use a helper function for stats debugfs creation
Luke Parkin (5):
firmware: arm_scmi: Remove superfluous handle_to_scmi_info
firmware: arm_scmi: Add support for debug metrics at the interface
firmware: arm_scmi: Track basic SCMI communication debug metrics
firmware: arm_scmi: Create debugfs files for SCMI communication debug
metrics
firmware: arm_scmi: Add support to reset the debug metrics
drivers/firmware/arm_scmi/Kconfig | 14 +++++
drivers/firmware/arm_scmi/common.h | 24 +++++++++
drivers/firmware/arm_scmi/driver.c | 83 +++++++++++++++++++++++++++---
3 files changed, 113 insertions(+), 8 deletions(-)
--
2.46.0
next reply other threads:[~2024-08-05 13:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 13:10 Sudeep Holla [this message]
2024-08-05 13:10 ` [PATCH v5 1/5] firmware: arm_scmi: Remove superfluous handle_to_scmi_info Sudeep Holla
2024-08-05 13:10 ` [PATCH v5 2/5] firmware: arm_scmi: Add support for debug metrics at the interface Sudeep Holla
2024-08-05 13:10 ` [PATCH v5 3/5] firmware: arm_scmi: Track basic SCMI communication debug metrics Sudeep Holla
2024-08-05 13:10 ` [PATCH v5 4/5] firmware: arm_scmi: Create debugfs files for " Sudeep Holla
2024-08-05 13:10 ` [PATCH v5 5/5] firmware: arm_scmi: Add support to reset the " Sudeep Holla
2024-08-05 15:12 ` [PATCH v5 0/5] Add per-transport SCMI communication debug statistics Cristian Marussi
2024-08-06 12:37 ` Sudeep Holla
2024-08-09 13:34 ` Sudeep Holla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240805131013.587016-1-sudeep.holla@arm.com \
--to=sudeep.holla@arm.com \
--cc=arm-scmi@vger.kernel.org \
--cc=cristian.marussi@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®