[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240805131013.587016-1-sudeep.holla@arm.com>
Date: Mon, 5 Aug 2024 14:10:07 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
arm-scmi@...r.kernel.org
Cc: Sudeep Holla <sudeep.holla@....com>,
Cristian Marussi <cristian.marussi@....com>
Subject: [PATCH v5 0/5] Add per-transport SCMI communication debug statistics
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
Powered by blists - more mailing lists