[PATCH v5 0/5] Add per-transport SCMI communication debug statistics
Sudeep Holla
sudeep.holla at arm.com
Mon Aug 5 06:10:07 PDT 2024
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
More information about the linux-arm-kernel
mailing list