[PATCH v2 0/5] firewire: core: make execution context assumptions explicit

From: Takashi Sakamoto

Date: Fri Oct 09 2026 - 08:11:05 EST


Hi,

This series is take 2 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 sparse annotations
and lockdep checks for several locks to document the expected locking
context and help detect incorrect locking behavior.

Chanes from v1:
* drop a patch to arrange spinlock usages for reconsideration

[1] https://lore.kernel.org/lkml/20261008234432.251412-1-o-takashi@xxxxxxxxxxxxx/


Takashi Sakamoto (5):
firewire: core: add might_sleep() checks
firewire: core: use sparse annotations and lockdep checks for
transaction lock
firewire: core: use sparse annotations and lockdep checks for topology
map lock
firewire: core: use sparse annotations and lockdep checks for split
timeout lock
firewire: core: narrow the card lock scope when accessing node_id

drivers/firewire/core-topology.c | 3 ++
drivers/firewire/core-transaction.c | 70 ++++++++++++++++++++++++++---
2 files changed, 66 insertions(+), 7 deletions(-)


base-commit: a8cf19ce243bf2cd0d338823fa79cd927e34b830
--
2.53.0