[PATCH 0/5] firewire: cdev: refactor packet callbacks in process context

From: Takashi Sakamoto

Date: Sun Sep 20 2026 - 04:37:15 EST


Hi,

The address handlers in the cdev layer are now invoked in process context,
following the change to use a workqueue for all packet callbacks in the
1394 OHCI driver[1]. This allows the cdev layer to use GFP_KERNEL for
memory allocation and replace a spinlock with a mutex where appropriate.

This series first updates the kerneldoc for the address handler, and then
refactors the cdev layer accordingly.

[1] https://lore.kernel.org/lkml/20260919115017.859169-1-o-takashi@xxxxxxxxxxxxx/


Takashi Sakamoto (5):
firewire: core: fulfill kerneldoc for address handler
firewire: cdev: use mutex for phy receiver list
firewire: cdev: use GFP_KERNEL in address handler
firewire: cdev: refactor add_client_resource() to drop GFP flags
argument
firewire: cdev: refactor add_client_resource() to have release
callback function

drivers/firewire/core-cdev.c | 50 +++++++++--------------------
drivers/firewire/core-transaction.c | 8 ++---
include/linux/firewire.h | 22 +++++++++----
3 files changed, 34 insertions(+), 46 deletions(-)


base-commit: d34653cbe03fb090325a61566348cabc2d9c83df
--
2.53.0