Add per-transport SCMI communication debug statistics
Status from this message: Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v5 from the cover letter
- 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
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | firmware: arm_scmi: Remove superfluous handle_to_scmi_infodrivers/ | +0 | 0 replies | |
| 2/5 | firmware: arm_scmi: Add support for debug metrics at the interfacedrivers/ drivers/ drivers/ | +26 | 0 replies | |
| 3/5 | firmware: arm_scmi: Track basic SCMI communication debug metricsdrivers/ drivers/ | +34 | 0 replies | |
| 4/5 | firmware: arm_scmi: Create debugfs files for SCMI communication debug metricsdrivers/ | +33 | 0 replies | |
| 5/5 | firmware: arm_scmi: Add support to reset the debug metricsdrivers/ | +21 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Cristian Marussi |
|---|---|
| Series | T-b |
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
2.46.0