From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 00/11] firewire: add tracepoints events for self ID sequence
Date: Fri, 7 Jun 2024 07:55:59 +0900 [thread overview]
Message-ID: <20240606225559.GA179534@workstation.local> (raw)
In-Reply-To: <20240605235155.116468-1-o-takashi@sakamocchi.jp>
On Thu, Jun 06, 2024 at 08:51:44AM +0900, Takashi Sakamoto wrote:
> Hi,
>
> In core function, the enumeration of self ID sequences is the first step
> to build bus topology for the current generation. Currently, 1394 OHCI
> driver has a module option to dump the content of self ID sequence, while
> it is implemented by printk. My recent work is going to replace such
> logging with tracepoints events, and this series of changes is for the
> self ID sequence.
>
> The content of self ID sequence is delivered by a kind of phy packet,
> and its serialization and deserialization codes exist in both core function
> and 1394 OHCI driver. They include some redundancies, and the series of
> changes includes some inline helper functions to replace them.
>
> In the series of changes, some KUnit tests are added to check behaviour
> of the enumeration and the helper functions.
>
> Takashi Sakamoto (11):
> firewire: core: add enumerator of self ID sequences and its KUnit test
> firewire: core: add helper function to handle port status from self ID
> sequence and its KUnit test
> firewire: core: minor code refactoring for topology builder
> firewire: ohci: minor code refactoring for self ID logging
> firewire: core: use helper functions for self ID sequence
> firewire: ohci: use helper functions for self ID sequence
> firewire: core: add common inline functions to serialize/deserialize
> self ID packet
> firewire: core: use helper inline functions to deserialize self ID
> packet
> firewire: ohci: use helper inline functions to serialize/deserialize
> self ID packet
> firewire: core: arrangement header inclusion for tracepoints events
> firewire: core: add tracepoints event for self_id_sequence
>
> drivers/firewire/.kunitconfig | 1 +
> drivers/firewire/Kconfig | 15 ++
> drivers/firewire/Makefile | 1 +
> drivers/firewire/core-topology.c | 219 ++++++---------
> drivers/firewire/core-trace.c | 18 ++
> drivers/firewire/core-transaction.c | 2 +-
> drivers/firewire/ohci.c | 148 ++++++----
> drivers/firewire/packet-header-definitions.h | 2 +
> drivers/firewire/packet-serdes-test.c | 255 ++++++++++++++++++
> drivers/firewire/phy-packet-definitions.h | 247 +++++++++++++++++
> .../firewire/self-id-sequence-helper-test.c | 152 +++++++++++
> include/trace/events/firewire.h | 61 ++++-
> 12 files changed, 935 insertions(+), 186 deletions(-)
> create mode 100644 drivers/firewire/phy-packet-definitions.h
> create mode 100644 drivers/firewire/self-id-sequence-helper-test.c
Applied to for-next branch.
Regards
Takashi Sakamoto
prev parent reply other threads:[~2024-06-06 22:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 23:51 [PATCH 00/11] firewire: add tracepoints events for self ID sequence Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 01/11] firewire: core: add enumerator of self ID sequences and its KUnit test Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 02/11] firewire: core: add helper function to handle port status from self ID sequence " Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 03/11] firewire: core: minor code refactoring for topology builder Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 04/11] firewire: ohci: minor code refactoring for self ID logging Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 05/11] firewire: core: use helper functions for self ID sequence Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 06/11] firewire: ohci: " Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 07/11] firewire: core: add common inline functions to serialize/deserialize self ID packet Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 08/11] firewire: core: use helper inline functions to deserialize " Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 09/11] firewire: ohci: use helper inline functions to serialize/deserialize " Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 10/11] firewire: core: arrangement header inclusion for tracepoints events Takashi Sakamoto
2024-06-05 23:51 ` [PATCH 11/11] firewire: core: add tracepoints event for self_id_sequence Takashi Sakamoto
2024-06-06 22:55 ` Takashi Sakamoto [this message]
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=20240606225559.GA179534@workstation.local \
--to=o-takashi@sakamocchi.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
/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