summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-08-10 12:21:50 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-08-10 12:21:50 +0800
commit32d05564a6128d59ea876cf9078fe6866a809e14 (patch)
treed46f0b23c9556bdce4490b3a4944ac8f9e979781 /tools/perf/scripts
parentfd4021529faa931818186b6e83bd46f5de7517eb (diff)
LoongArch: KVM: Set vcpu->cpu before IN_GUEST_MODE is set
In function kvm_make_vcpu_request(), it will send IPI to physical CPU when vCPU is in IN_GUEST_MODE mode. And physical CPU is set in function kvm_check_vpid(), thus it should be called before IN_GUEST_MODE is set. Otherwise IPI will send to wrong old physical CPU where vCPU is running. Cc: stable@vger.kernel.org Fixes: 2fc3bd86db4b ("LoongArch: KVM: Implement basic vcpu interfaces") Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions