mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Add tracepoint support and remote name mapping to smp2p
@ 2024-06-11 12:33 Sudeepgoud Patil
  2024-06-11 12:33 ` [PATCH V2 1/2] soc: qcom: smp2p: Add remote name into smp2p irq devname Sudeepgoud Patil
  2024-06-11 12:33 ` [PATCH V2 2/2] soc: qcom: smp2p: Introduce tracepoint support Sudeepgoud Patil
  0 siblings, 2 replies; 8+ messages in thread
From: Sudeepgoud Patil @ 2024-06-11 12:33 UTC (permalink / raw)
  To: quic_bjorande, andersson, quic_clew, mathieu.poirier
  Cc: linux-kernel, quic_deesin, linux-arm-msm, linux-remoteproc

This commit introduces tracepoint support to smp2p module, enabling logging of communication
events between local and remote processors. The tracepoints capture essential details
such as remote processor ID, subsystem names, negotiation specifics, supported features,
bit changes, and subsystem restart (SSR) activity.
These tracepoints enhance debugging capabilities for inter-subsystem issues.

Addressing feedback from v1 to map remote PID (Process ID) along with the remote name
in tracepoints added new patch in V2 1/2, adding support to include the remote name
in the smp2p irq devname which fetches remote name from respective smp2p dtsi node,
which also makes the wakeup source distinguishable in irq wakeup prints.

Changes in v2:
- Added support to include the remote name in the smp2p IRQ devname, allowing for remote PID-name mapping
- Mapped the remote PID (Process ID) along with the remote name in tracepoints, as suggested by Chris
- Modified to capture all `out->features` instead of just the `ssr_ack`, following Chris's recommendation
- Expanded the commit description to provide additional context
- Link to v1: https://lore.kernel.org/all/20240429075528.1723133-1-quic_sudeepgo@quicinc.com

Sudeepgoud Patil (2):
  soc: qcom: smp2p: Add remote name into smp2p irq devname
  soc: qcom: smp2p: Introduce tracepoint support

 drivers/soc/qcom/Makefile      |   1 +
 drivers/soc/qcom/smp2p.c       |  26 +++++++-
 drivers/soc/qcom/trace-smp2p.h | 116 +++++++++++++++++++++++++++++++++
 3 files changed, 142 insertions(+), 1 deletion(-)
 create mode 100644 drivers/soc/qcom/trace-smp2p.h

-- 


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-12  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-11 12:33 [PATCH V2 0/2] Add tracepoint support and remote name mapping to smp2p Sudeepgoud Patil
2024-06-11 12:33 ` [PATCH V2 1/2] soc: qcom: smp2p: Add remote name into smp2p irq devname Sudeepgoud Patil
2024-06-11 16:06   ` Bjorn Andersson
2024-06-11 17:53     ` Chris Lew
2024-06-11 19:19       ` Bjorn Andersson
2024-06-11 12:33 ` [PATCH V2 2/2] soc: qcom: smp2p: Introduce tracepoint support Sudeepgoud Patil
2024-06-11 23:05   ` Chris Lew
2024-06-12  9:12     ` Deepak Kumar Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®