From: Badhri Jagan Sridharan <badhri@google.com>
To: heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org,
badhri@google.com
Cc: amitsd@google.com, kyletso@google.com, rdbabiera@google.com,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: [PATCH v2 0/1] TCPM logbuffer wraparound
Date: Mon, 3 Nov 2025 05:24:49 +0000 [thread overview]
Message-ID: <20251103052450.1028813-1-badhri@google.com> (raw)
This is a follow up on a previous discussion:
https://lore.kernel.org/lkml/20230410073134.488762-1-badhri@google.com/.
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
--
2.51.1.930.gacf6e81ea2-goog
next reply other threads:[~2025-11-03 5:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 5:24 Badhri Jagan Sridharan [this message]
2025-11-03 5:24 ` [PATCH v2 1/1] tcpm: Wraparound tcpm log and dont clear them when read Badhri Jagan Sridharan
2025-11-03 5:27 ` [PATCH v2 0/1] TCPM logbuffer wraparound Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251103052450.1028813-1-badhri@google.com \
--to=badhri@google.com \
--cc=amitsd@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=kyletso@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rdbabiera@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®