aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-06-11 20:46:43 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-06-11 20:46:43 +0800
commit8c5cd2b9d6a724998c1ab9af06ac897b6152d568 (patch)
tree5dd876d23a8d2be6cbdc278153b084722073cece /tools/perf/scripts/python/stackcollapse.py
parent42985883613cb316d9a1520365ff6c1e07ef5c11 (diff)
LoongArch: KVM: Deliver interrupt after IN_GUEST_MODE is set
Interrupt delivery should be called after IN_GUEST_MODE is set. Other threads may be posting interrupt however does not send IPI to the vCPU, since the vCPU is not in IN_GUEST_MODE yet. Here move function call with kvm_deliver_intr() after IN_GUEST_MODE is set, and set mode with OUTSIDE_GUEST_MODE with atomic method. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions