Commit 0b175f7c authored by Luke Parkin's avatar Luke Parkin Committed by Greg Kroah-Hartman
Browse files

firmware: arm_scmi: Add support for debug metrics at the interface



[ Upstream commit 1b18d429 ]

Since SCMI involves interaction with the entity(software, firmware and/or
hardware) providing services or features, it is quite useful to track
certain metrics(for pure debugging purposes) like how many messages were
sent or received, were there any failures, what kind of failures, ..etc.

Add a new optional config option for the above purpose and the initial
support for counting such key debug metrics.

Signed-off-by: default avatarLuke Parkin <luke.parkin@arm.com>
Reviewed-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Tested-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Message-Id: <20240805131013.587016-3-sudeep.holla@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Stable-dep-of: c23c03bf ("firmware: arm_scmi: Fix timeout checks on polling path")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 844b899f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment