mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] firewire: ohci: use regular workqueue to handle 1394 OHCI AT/AR context events
@ 2025-06-14 11:34 Takashi Sakamoto
  2025-06-14 11:34 ` [PATCH 1/3] firewire: core: allocate workqueue for AR/AT request/response contexts Takashi Sakamoto
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2025-06-14 11:34 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

Hi,

Last year, in Linux kernel v6.12, the bottom-halves for isochronous
contexts of 1394 OHCI PCI driver were changed to use workqueue instead of
tasklet (softIRQ). I have received no reports of any issues related to the
change until today. Therefore, I believe it's time to move on to the next
step.

This patchset updates the driver to use a regular workqueue (not WQ_BH) to
handle 1394 OHCI AT/AR context events. Unlike isochronous contexts, the
asynchronous contexts are used by the implementation of the SCSI over
IEEE 1394 protocol (sbp2). The workqueue is allocated with WQ_MEM_RECLAIM
flag so that it can still participate in memory reclaim paths.

With this change, all remaining uses of tasklets in the subsystem are
completely removed.

[1] https://lore.kernel.org/lkml/20240904125155.461886-1-o-takashi@sakamocchi.jp/

Takashi Sakamoto (3):
  firewire: core: allocate workqueue for AR/AT request/response contexts
  firewire: ohci: use workqueue to handle events of AR request/response
    contexts
  firewire: ohci: use workqueue to handle events of AT request/response
    contexts

 drivers/firewire/core-card.c        | 40 ++++++++++++-----
 drivers/firewire/core-transaction.c |  7 +--
 drivers/firewire/net.c              |  4 +-
 drivers/firewire/ohci.c             | 67 +++++++++++++++--------------
 include/linux/firewire.h            | 12 +++++-
 5 files changed, 81 insertions(+), 49 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-15  4:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-14 11:34 [PATCH 0/3] firewire: ohci: use regular workqueue to handle 1394 OHCI AT/AR context events Takashi Sakamoto
2025-06-14 11:34 ` [PATCH 1/3] firewire: core: allocate workqueue for AR/AT request/response contexts Takashi Sakamoto
2025-06-15  4:40   ` kernel test robot
2025-06-14 11:34 ` [PATCH 2/3] firewire: ohci: use workqueue to handle events of AR " Takashi Sakamoto
2025-06-14 11:34 ` [PATCH 3/3] firewire: ohci: use workqueue to handle events of AT " Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®