aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/fs.c
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2025-05-23 10:47:28 +0000
committerAnup Patel <[email protected]>2025-05-24 16:00:47 +0000
commit7917be170928189fefad490d1a1237fdfa6b856f (patch)
tree8e2cffa7f11d45e13ff02cad2cd65a0c1ac781db /rust/helpers/fs.c
parentRISC-V: KVM: add KVM_CAP_RISCV_MP_STATE_RESET (diff)
downloadkernel-7917be170928189fefad490d1a1237fdfa6b856f.tar.gz
kernel-7917be170928189fefad490d1a1237fdfa6b856f.zip
RISC-V: KVM: lock the correct mp_state during reset
Currently, the kvm_riscv_vcpu_sbi_system_reset() function locks vcpu->arch.mp_state_lock when updating tmp->arch.mp_state.mp_state which is incorrect hence fix it. Fixes: 2121cadec45a ("RISCV: KVM: Introduce mp_state_lock to avoid lock inversion") Signed-off-by: Radim Krčmář <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'rust/helpers/fs.c')
0 files changed, 0 insertions, 0 deletions