Re: [PATCH 0/5] firewire: use sleepable workqueue to handle 1394 OHCI IT/IR context events

From: Takashi Sakamoto
Date: Thu Sep 05 2024 - 04:33:29 EST


On Wed, Sep 04, 2024 at 09:51:49PM +0900, Takashi Sakamoto wrote:
> Hi,
>
> This series of changes updates my previous RFT[1] to apply for v6.12
> kernel. For the detail, please refer to the previous one.
>
> To Iwai-san, this series includes the change for sound subsystem as
> well. All of changes are specific to ALSA firewire stack, so I would
> like to send it to Linus as the part of firewire subsystem updates if
> you do not mind it.
>
> Changes from the RFT:
> * WQ_FREEZABLE is newly supported in the workqueue
> * Improve code comment in IEC 61883-1/6 packet streaming engine
> * Avoid dead lock in the calls of workqueue sync API
>
> [1] https://lore.kernel.org/lkml/20240901110642.154523-1-o-takashi@xxxxxxxxxxxxx/
>
>
> Regards
>
> Takashi Sakamoto (5):
> firewire: core: allocate workqueue to handle isochronous contexts in
> card
> firewire: core: add local API to queue work item to workqueue specific
> to isochronous contexts
> firewire: ohci: operate IT/IR events in sleepable work process instead
> of tasklet softIRQ
> firewire: core: non-atomic memory allocation for isochronous event to
> user client
> ALSA: firewire: use nonatomic PCM operation
>
> drivers/firewire/core-card.c | 33 ++++++++++++--
> drivers/firewire/core-cdev.c | 4 +-
> drivers/firewire/core-iso.c | 30 ++++++++++++-
> drivers/firewire/core.h | 14 +++++-
> drivers/firewire/ohci.c | 57 +++++++++++++++++++-----
> include/linux/firewire.h | 3 ++
> sound/firewire/amdtp-stream.c | 34 +++++++++++---
> sound/firewire/bebob/bebob_pcm.c | 1 +
> sound/firewire/dice/dice-pcm.c | 1 +
> sound/firewire/digi00x/digi00x-pcm.c | 1 +
> sound/firewire/fireface/ff-pcm.c | 1 +
> sound/firewire/fireworks/fireworks_pcm.c | 1 +
> sound/firewire/isight.c | 1 +
> sound/firewire/motu/motu-pcm.c | 1 +
> sound/firewire/oxfw/oxfw-pcm.c | 1 +
> sound/firewire/tascam/tascam-pcm.c | 1 +
> 16 files changed, 157 insertions(+), 27 deletions(-)

I applied all of them to for-next branch.


Regards

Takashi Sakamoto