[GIT PULL] firewire updates for v6.11

From: Takashi Sakamoto
Date: Sat Jul 20 2024 - 04:47:48 EST


Hi Linus,

Please pull FireWire subsystem updates for v6.11.

The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f:

Linux 6.10-rc4 (2024-06-16 13:40:16 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-updates-6.11

for you to fetch changes up to 06dcc4c9baa9e92896f00d02ffa760c0988b4371:

firewire: core: move copy_port_status() helper function to TP_fast_assign() block (2024-07-12 14:34:12 +0900)

----------------------------------------------------------------
firewire updates for v6.11

There are many line changes for FireWire subsystem, while there is no
functional change for practical use. The most of changes are for code
refactoring, some KUnit tests to added helper functions, and new
tracepoints events for both the core functions and 1394 OHCI driver.

The tracepoints events now cover the verbose logging enabled by debug
parameter of firewire-ohci kernel module. The parameter would be removed
in any future timing, thus it is now deprecated.

----------------------------------------------------------------
Colin Ian King (1):
firewire: core: Fix spelling mistakes in tracepoint messages

Takashi Sakamoto (31):
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
firewire: core: add tests for serialization/deserialization of phy config packet
firewire: core: use inline helper functions to serialize phy config packet
firewire: core: record card index in tracepoints event for self ID sequence
firewire: core: undefine macros after use in tracepoints events
firewire: core: add tracepoints events for allocation/deallocation of isochronous context
firewire: core: add tracepoints events for setting channels of multichannel context
firewire: core: add tracepoints events for starting/stopping of isochronous context
firewire: core: add tracepoints events for flushing of isochronous context
firewire: core: add tracepoints events for flushing completions of isochronous context
firewire: core: add tracepoints events for queueing packets of isochronous context
firewire: core: add tracepoints events for completions of packets in isochronous context
firewire: ohci: add support for Linux kernel tracepoints
firewire: ohci: add tracepoints event for hardIRQ event
firewire: ohci: use common macro to interpret be32 data in le32 buffer
firewire: ohci: use static function to handle endian issue on PowerPC platform
firewire: ohci: add static inline functions to deserialize for Self-ID DMA operation
firewire: ohci: use inline functions to operate data of self-ID DMA
firewire: ohci: add tracepoints event for data of Self-ID DMA
Revert "firewire: ohci: use common macro to interpret be32 data in le32 buffer"
firewire: core: move copy_port_status() helper function to TP_fast_assign() block

drivers/firewire/.kunitconfig | 2 +
drivers/firewire/Kconfig | 31 +++++++++++
drivers/firewire/Makefile | 2 +
drivers/firewire/core-iso.c | 32 +++++++++++
drivers/firewire/core-topology.c | 219 +++++++++++++++++++++++++++++----------------------------------------------
drivers/firewire/core-trace.c | 11 ++++
drivers/firewire/core-transaction.c | 24 ++++-----
drivers/firewire/ohci-serdes-test.c | 56 ++++++++++++++++++++
drivers/firewire/ohci.c | 237 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------
drivers/firewire/ohci.h | 43 ++++++++++++++-
drivers/firewire/packet-header-definitions.h | 2 +
drivers/firewire/packet-serdes-test.c | 334 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/firewire/phy-packet-definitions.h | 302 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/firewire/self-id-sequence-helper-test.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++
include/trace/events/firewire.h | 541 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
include/trace/events/firewire_ohci.h | 101 +++++++++++++++++++++++++++++++++++
16 files changed, 1867 insertions(+), 222 deletions(-)
create mode 100644 drivers/firewire/ohci-serdes-test.c
create mode 100644 drivers/firewire/phy-packet-definitions.h
create mode 100644 drivers/firewire/self-id-sequence-helper-test.c
create mode 100644 include/trace/events/firewire_ohci.h


Regards

Takashi Sakamoto