mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/6] firewire: core: make execution context assumptions explicit for transaction layer
@ 2026-10-11  6:31 Takashi Sakamoto
  2026-10-11  6:31 ` [PATCH v3 1/6] firewire: core: add might_sleep() checks to " Takashi Sakamoto
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Takashi Sakamoto @ 2026-10-11  6:31 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

Hi,

This series is take 3 of the previous series[1].

Recent code changes have guaranteed the execution contexts of several
functions in the transaction layer. Based on this, this series adds
might_sleep() calls where appropriate. It also adds context analysis
annotations and lockdep checks for several locks to document the expected
locking context and help detect incorrect locking behavior.

Chanes from v2:
* Switch from sparse to Compiler-based context analysis assisted by Thread
  Safety Analysis in LLVM/Clang v23 or later.

[1][PATCH v2 0/5] firewire: core: make execution context assumptions explicit
https://lore.kernel.org/lkml/20261009121048.282982-1-o-takashi@sakamocchi.jp/


Takashi Sakamoto (6):
  firewire: core: add might_sleep() checks to transaction layer
  firewire: core: enable context analysis for transaction layer
  firewire: core: use context analysis annotations and lockdep checks
    for transactions lock
  firewire: core: use context analysis annotations and lockdep checks
    for split timeout lock
  firewire: core: use context analysis annotations and lockdep checks
    for topology map lock
  firewire: core: narrow the card lock scope when accessing node_id

 drivers/firewire/Makefile           |  2 +
 drivers/firewire/core-topology.c    |  3 +
 drivers/firewire/core-transaction.c | 97 +++++++++++++++++++++++------
 include/linux/firewire.h            | 16 ++---
 4 files changed, 91 insertions(+), 27 deletions(-)


base-commit: a8cf19ce243bf2cd0d338823fa79cd927e34b830
-- 
2.53.0


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

end of thread, other threads:[~2026-10-12  1:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11  6:31 [PATCH v3 0/6] firewire: core: make execution context assumptions explicit for transaction layer Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 1/6] firewire: core: add might_sleep() checks to " Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 2/6] firewire: core: enable context analysis for " Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 3/6] firewire: core: use context analysis annotations and lockdep checks for transactions lock Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 4/6] firewire: core: use context analysis annotations and lockdep checks for split timeout lock Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 5/6] firewire: core: use context analysis annotations and lockdep checks for topology map lock Takashi Sakamoto
2026-10-11  6:31 ` [PATCH v3 6/6] firewire: core: narrow the card lock scope when accessing node_id Takashi Sakamoto
2026-10-12  1:03 ` [PATCH v3 0/6] firewire: core: make execution context assumptions explicit for transaction layer 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®