Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33c83cb3 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

ARM: KVM: vgic: take distributor lock on sync_hwstate path



Now that the maintenance interrupt handling is actually out of the
handler itself, the code becomes quite racy as we can get preempted
while we process the state.

Wrapping this code around the distributor lock ensures that we're not
preempted and relatively race-free.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 75da01e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment