Skip to content

TCPM logbuffer wraparound

Badhri Jagan Sridharan linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tcpm: Wraparound tcpm log and dont clear them when readdrivers/usb/typec/tcpm/Kconfig drivers/usb/typec/tcpm/tcpm.c+57 -20 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchKyle TsoAmit Sunil Dhamne
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] TCPM logbuffer wraparound

This is a follow up on a previous discussion:
https://lore.kernel.org/lkml/[email protected]/.

With this change, TCPM log buffer will now wrap around when full and will not self-clear upon being read (dumped). A Kconfig option and a corresponding debugfs file node are introduced to allow opt-in back to the previous, non-wrapping, self-clearing behavior if required. This is an interim step while TCPM logging infrastructure is migrated to the standard event trace system.

Badhri Jagan Sridharan (1):
tcpm: Wraparound tcpm log and dont clear them when read

 drivers/usb/typec/tcpm/Kconfig |  8 ++++++
 drivers/usb/typec/tcpm/tcpm.c  | 51 ++++++++++++++++++++++++++++++++--
 2 files changed, 57 insertions(+), 2 deletions(-)

base-commit: 18514fd70ea4ca9de137bb3bceeac1bac4bcad75

Signature · 1 line
2.51.1.930.gacf6e81ea2-goog