summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-06-15 12:47:20 -0700
committerJakub Kicinski <kuba@kernel.org>2026-06-15 12:47:21 -0700
commit62821d481975d830ed67f30d0cf2b2036bf3b5ca (patch)
tree0f79b393423c163d1706b820cbdb01ef9ab288f9 /include/linux/timerqueue.h
parent47186409c092cd7dd70350999186c700233e854d (diff)
parent0b352f04b9be2c83c0240aa6dae7257fefa90464 (diff)
Merge branch 'octeontx2-quiesce-stale-mailbox-irq-state-before-request_irq'
Runyu Xiao says: ==================== octeontx2: quiesce stale mailbox IRQ state before request_irq() Both OTX2 mailbox registration paths currently install their IRQ handlers before clearing stale local mailbox interrupt state, even though the code comments already say that the clear is needed first to avoid spurious interrupts. This issue was found by our static analysis tool and manually audited on Linux v6.18.21. Directed QEMU no-device validation further showed that the real PF and VF mailbox handlers are already reachable in that pre-clear window and can touch the same mailbox and workqueue carrier before local quiesce has completed. This series keeps the change minimal: - clear stale mailbox interrupt state before request_irq() - keep interrupt enabling after the handler is installed That closes the early-IRQ window without introducing a new enable-before-handler window. Patch 1 fixes the PF mailbox registration path. Patch 2 fixes the VF mailbox registration path. Build-tested by compiling otx2_pf.o and otx2_vf.o. No OTX2 hardware was available for end-to-end runtime testing. ==================== Link: https://patch.msgid.link/20260611160014.3202224-1-runyu.xiao@seu.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions