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

From: Takashi Sakamoto

Date: Sun Sep 20 2026 - 23:00:41 EST


On Sun, Sep 20, 2026 at 05:36:54PM +0900, Takashi Sakamoto wrote:
> 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(-)

Applied to for-next branch.


Regards

Takashi Sakamoto