firmware: arm_scmi: Add support to reset the debug metrics
authorLuke Parkin <luke.parkin@arm.com>
Mon, 5 Aug 2024 13:10:12 +0000 (14:10 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 9 Aug 2024 13:21:43 +0000 (14:21 +0100)
commitbd02b0737f3816073e7a37a667190dea3c195e4a
tree35b1190b350a24a3d839d762ed79fd456253bbde
parentf6a905eaf6bfcf63d7b83d27bf3046e0e7a6f0a6
firmware: arm_scmi: Add support to reset the debug metrics

It is sometimes useful to reset all these SCMI communication debug
metrics especially when we are interested in analysing these metrics
during a particular workload or for a fixed time duration. Let us
add the capability to reset all these metrics as once so that they
can be counted during the period of interest.

Signed-off-by: Luke Parkin <luke.parkin@arm.com>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Tested-by: Cristian Marussi <cristian.marussi@arm.com>
Message-Id: <20240805131013.587016-6-sudeep.holla@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c