aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorYong-Xuan Wang <yongxuan.wang@sifive.com>2024-04-17 15:45:26 +0800
committerAnup Patel <anup@brainfault.org>2024-04-22 10:39:03 +0530
commit9752fed8f67c258213535d72f7669279921a6491 (patch)
tree2a8e749cf87dcd5b4bc34304f9925d0a8883cd6d /lib/dump_stack.c
parentRISCV: KVM: Introduce mp_state_lock to avoid lock inversion (diff)
downloadwireguard-linux-9752fed8f67c258213535d72f7669279921a6491.tar.xz
wireguard-linux-9752fed8f67c258213535d72f7669279921a6491.zip
RISCV: KVM: Introduce vcpu->reset_cntx_lock
Originally, the use of kvm->lock in SBI_EXT_HSM_HART_START also avoids the simultaneous updates to the reset context of target VCPU. Since this lock has been replace with vcpu->mp_state_lock, and this new lock also protects the vcpu->mp_state. We have to add a separate lock for vcpu->reset_cntx. Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20240417074528.16506-3-yongxuan.wang@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions