[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e11fd419-1095-471e-a57f-fc5ff7ce713a@ti.com>
Date: Wed, 20 Aug 2025 15:04:03 -0500
From: Andrew Davis <afd@...com>
To: Jonathan Cormier <jcormier@...ticallink.com>, Nishanth Menon <nm@...com>,
Tero Kristo <kristo@...nel.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Vignesh Raghavendra
<vigneshr@...com>
CC: <linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] PATCH: firmware: ti_sci: Add trace events to TI SCI
On 8/20/25 1:10 PM, Jonathan Cormier wrote:
> Add trace events to help debug and measure the speed of the
> communication channel.
>
> Add parsing of the messages types but I am not sure how to parse the
> flags, since the REQ and RESP flags conflict. Left as seperate commit to
The REQ and RESP flags should be handled by different TRACE_EVENTs. Right
now you only dump the content of the response messages (the ones in
rx_callback), also tracing what is sent is just as important, so you
might want to add slightly different ti_sci_msg_dump EVENT for the
sending side which uses the different REQ flag parser.
Andrew
> make it easier to drop or make changes depending on comments. The two
> commits should squash easily.
>
> Nishanth Menon and Vignesh Raghavendra requested I send this patch
> upstream.
>
> Signed-off-by: Jonathan Cormier <jcormier@...ticallink.com>
> ---
> Jonathan Cormier (2):
> firmware: ti_sci: Add trace events
> firmware: ti_sci: trace: Decode message types
>
> MAINTAINERS | 1 +
> drivers/firmware/Makefile | 3 +
> drivers/firmware/ti_sci.c | 11 +++
> drivers/firmware/ti_sci_trace.h | 146 ++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 161 insertions(+)
> ---
> base-commit: d7b8f8e20813f0179d8ef519541a3527e7661d3a
> change-id: 20250709-linux_master_ti_sci_trace-91fd2af65dca
>
> Best regards,
Powered by blists - more mailing lists