Re: [PATCH v2 0/2] firewire: core: invoke packet callback from workqueue when removing card instance
From: Takashi Sakamoto
Date: Sun Oct 18 2026 - 23:07:47 EST
On Sun, Oct 18, 2026 at 10:29:53PM +0900, Takashi Sakamoto wrote:
> Hi,
>
> This series is take 2 of the previous series[1].
>
> This series updates the dummy driver used during card removal.
>
> The first patch switches to a designated initializer for the dummy
> driver, which contains mutable variables.
>
> The second patch ensures that packet callbacks are invoked from a
> workqueue in process context during card removal, maintaining a
> consistent execution context for callbacks.
>
> [1] https://lore.kernel.org/lkml/20261016135948.85343-1-o-takashi@xxxxxxxxxxxxx/
>
> Takashi Sakamoto (2):
> firewire: core: use designated initializer for dummy driver on card
> removal
> firewire: core: invoke packet callback from workqueue when removing
> card instance
>
> drivers/firewire/core-card.c | 88 +++++++++++++++++++++++++-----------
> 1 file changed, 61 insertions(+), 27 deletions(-)
Applied to for-next branch with a small change that both
disable_work_sync() and destroy_work_on_stack() are called for closer.work
in the final part of fw_core_remove_card().
Regards
Takashi Sakamoto