aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorReiji Watanabe <[email protected]>2023-04-18 19:18:52 -0700
committerMarc Zyngier <[email protected]>2023-04-20 09:06:20 +0100
commita189884bdc9238aeba941c50f02e25eb584fafed (patch)
tree4e5c64a8c0724b7584928a45c34241dcab0d2c0f /tools/testing/selftests/bpf/progs/test_autoload.c
parent4ff910be01c0ca28c2ea8b354dd47a3a17524489 (diff)
KVM: arm64: Have kvm_psci_vcpu_on() use WRITE_ONCE() to update mp_state
All accessors of kvm_vcpu_arch::mp_state should be {READ,WRITE}_ONCE(), since readers of the mp_state don't acquire the mp_state_lock. Nonetheless, kvm_psci_vcpu_on() updates the mp_state without using WRITE_ONCE(). So, fix the code to update the mp_state using WRITE_ONCE. Signed-off-by: Reiji Watanabe <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions