2024-05-14 10:39:56

by Takashi Sakamoto

[permalink] [raw]
Subject: [GIT PULL] firewire updates for v6.10

Hi Linus,

Please pull the updates for firewire subsystem to your tree.

The following changes since commit dd5a440a31fae6e459c0d6271dddd62825505361:

Linux 6.9-rc7 (2024-05-05 14:06:01 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 21151fd8f0ea5dcff27e8db25b65bf892d408bdc:

firewire: obsolete usage of *-objs in Makefile for KUnit test (2024-05-09 08:06:22 +0900)

----------------------------------------------------------------
firewire updates for v6.10

During the development period of v6.8 kernel, it became evident that there
was a lack of helper utilities to trace the initial state of bus, while
investigating certain PHYs compliant with different versions of IEEE 1394
specification.

This series of changes includes the addition of tracepoints events,
provided by 'firewire' subsystem. These events enable tracing of how
firewire core functions during bus reset and asynchronous communication
over IEEE 1394 bus.

When implementing the tracepoints events, it was found that the existing
serialization and deserialization helpers for several types of
asynchronous packets are scattered across both firewire-core and
firewire-ohci kernel modules. A set of inline functions is newly added
to address it, along with some KUnit tests, serving as the foundation for
the tracepoints events. This renders the dispersed code obsolete.

The remaining changes constitute the final steps in phasing out the usage
of deprecated PCI MSI APIs, in continuation from the previous version.

----------------------------------------------------------------
Adam Goldman (1):
firewire: core: option to log bus reset initiation

Gustavo A. R. Silva (1):
firewire: Annotate struct fw_iso_packet with __counted_by()

Takashi Sakamoto (27):
Revert "firewire: ohci: use devres for requested IRQ"
firewire: ohci: replace request_irq() with request_threaded_irq()
firewire: ohci: obsolete usage of deprecated API for MSI
firewire: ohci: use pci_irq_vector() to retrieve allocated interrupt line
firewire: core: add common inline functions to serialize/deserialize asynchronous packet header
firewire: core: replace local macros with common inline functions for asynchronous packet header
firewire: ohci: replace local macros with common inline functions for asynchronous packet header
firewire: ohci: replace hard-coded values with inline functions for asynchronous packet header
firewire: ohci: replace hard-coded values with common macros
firewire: core: obsolete tcode check macros with inline functions
firewire: core: add common macro to serialize/deserialize isochronous packet header
firewire: core: replace local macros with common inline functions for isochronous packet header
firewire: core: add support for Linux kernel tracepoints
firewire: core: add tracepoints events for asynchronous outbound request
firewire: core: add tracepoints event for asynchronous inbound response
firewire: core: add tracepoint event for asynchronous inbound request
firewire: core: add tracepoints events for asynchronous outbound response
firewire: core/cdev: add tracepoints events for asynchronous phy packet
firewire: core: add tracepoints event for asynchronous inbound phy packet
firewire: ohci: add bus-reset event for initial set of handled irq
firewire: ohci: obsolete OHCI_PARAM_DEBUG_BUSRESETS from debug module parameter
firewire: core: add tracepoints events for initiating bus reset
Revert "firewire: core: option to log bus reset initiation"
firewire: core: add tracepoint event for handling bus reset
firewire: core: fix type of timestamp for async_inbound_template tracepoints events
firewire: core: remove flag and width from u64 formats of tracepoints events
firewire: obsolete usage of *-objs in Makefile for KUnit test

drivers/firewire/.kunitconfig | 1 +
drivers/firewire/Kconfig | 16 ++++++
drivers/firewire/Makefile | 6 +-
drivers/firewire/core-card.c | 7 +++
drivers/firewire/core-cdev.c | 7 +++
drivers/firewire/core-topology.c | 3 +
drivers/firewire/core-trace.c | 5 ++
drivers/firewire/core-transaction.c | 251 ++++++++++++++++++++++++++++++++++++++++++----------------------------------------
drivers/firewire/core.h | 21 ++++---
drivers/firewire/ohci.c | 131 +++++++++++++++++++++++--------------------
drivers/firewire/packet-header-definitions.h | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/firewire/packet-serdes-test.c | 582 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/firewire.h | 3 +-
include/trace/events/firewire.h | 348 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 files changed, 1420 insertions(+), 195 deletions(-)
create mode 100644 drivers/firewire/core-trace.c
create mode 100644 drivers/firewire/packet-header-definitions.h
create mode 100644 drivers/firewire/packet-serdes-test.c
create mode 100644 include/trace/events/firewire.h


Regards

Takashi Sakamoto


2024-05-15 02:40:42

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] firewire updates for v6.10

The pull request you sent on Tue, 14 May 2024 19:04:18 +0900:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b850dc206a57ae272c639e31ac202ec0c2f46960

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html