aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_flash.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2021-08-18 20:21:30 +0000
committerMarc Zyngier <[email protected]>2021-08-19 09:08:56 +0100
commit6654f9dfcb88fea3b9affc180dc3c04333d0f306 (patch)
treefd54c1cfff1f8bd1d13672699fc2b32b657f3aed /drivers/net/wwan/iosm/iosm_ipc_flash.c
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff)
KVM: arm64: Fix read-side race on updates to vcpu reset state
KVM correctly serializes writes to a vCPU's reset state, however since we do not take the KVM lock on the read side it is entirely possible to read state from two different reset requests. Cure the race for now by taking the KVM lock when reading the reset_state structure. Fixes: 358b28f09f0a ("arm/arm64: KVM: Allow a VCPU to fully reset itself") Signed-off-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_flash.c')
0 files changed, 0 insertions, 0 deletions