Re: [PATCH] arm64: irq: exclude the softirq stack switch from KCOV

From: Will Deacon

Date: Thu Oct 08 2026 - 11:19:32 EST


On Sat, 26 Sep 2026 21:13:25 +0200, Karl Mehltretter wrote:
> On IRQ exit, __irq_exit_rcu() drops HARDIRQ_OFFSET before calling
> invoke_softirq(). The arm64 do_softirq_own_stack() wrapper and its
> ____do_softirq() trampoline run before __do_softirq() establishes
> softirq context, so KCOV records their PCs in the interrupted task's
> coverage buffer. They also run outside softirq accounting when
> local_bh_enable() reaches do_softirq().
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: irq: exclude the softirq stack switch from KCOV
https://git.kernel.org/arm64/c/a9cd14bfb0c1

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev