soc: qcom: rpmh-rsc: Include state in trace event
authorBjorn Andersson <quic_bjorande@quicinc.com>
Tue, 20 Jun 2023 23:00:58 +0000 (16:00 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:18:35 +0000 (21:18 -0700)
commit1b06d8ca087a8fd9b395b577048636926db22f0e
tree840a3b55ffdc5d1268564b433d08023fcd013ba3
parentd4600cbd5bcbaa2b296b5cf9a5c04408eedb4ef3
soc: qcom: rpmh-rsc: Include state in trace event

When tracing messages written to the RSC it's very useful to know the
type of TCS being targeted, in particular if/when the code borrows a
WAKE TCS for ACTIVE votes.

Add the "state" of the message to the traced information.

While at it, drop the "send-msg:" substring, as this is already captured
by the trace event itself.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230620230058.428833-1-quic_bjorande@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/rpmh-rsc.c
drivers/soc/qcom/trace-rpmh.h