aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-04-28 19:33:28 +0100
committerSudeep Holla <sudeep.holla@kernel.org>2026-04-29 16:50:34 +0100
commit9985d5357ed93af0d1933969c247e966957730e1 (patch)
treeed2476a9908636e3c4b27fecddd77908957d0a62 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
parentfirmware: arm_ffa: Avoid collapsing NPI work from different CPUs (diff)
firmware: arm_ffa: Fix per-vcpu self notifications handling in workqueue
Per-vcpu notification handling already runs from a per-cpu work item on the target cpu. Routing that path back through smp_call_function_single() re-enters the call-function IPI path and executes the notification handler with interrupts disabled. That makes the framework path unsafe, since it takes a mutex, allocates memory with GFP_KERNEL, and invokes client callbacks. Handle per-vcpu self notifications directly from the existing per-cpu work item instead. This keeps the per-vcpu path in task context and avoids the extra IPI hop entirely. Fixes: 3a3e2b83e805 ("firmware: arm_ffa: Avoid queuing work when running on the worker queue") Link: https://patch.msgid.link/20260428-ffa_fixes-v2-4-8595ae450034@kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions