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

firmware: arm_scmi: Track basic SCMI communication debug metrics



[ Upstream commit 0b3d48c4 ]

Add the support for counting some of the SCMI communication debug metrics
like how many were sent successfully or with some errors, responses
received, notifications and delayed responses, transfer timeouts and
errors from the firmware/platform.

In many cases, the traces exists. But the traces are not always necessarily
enabled and getting such cumulative SCMI communication debug metrics helps
in understanding if there are any possible improvements that can be made
on either side of SCMI communication.

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-4-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 0b175f7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment