diff options
| author | 2026-06-11 20:46:43 +0800 | |
|---|---|---|
| committer | 2026-06-11 20:46:43 +0800 | |
| commit | 8c5cd2b9d6a724998c1ab9af06ac897b6152d568 (patch) | |
| tree | 5dd876d23a8d2be6cbdc278153b084722073cece /tools/perf/scripts/python/stackcollapse.py | |
| parent | LoongArch: KVM: Add valid bit check when set CSR.ESTAT register (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
