diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-06-11 15:46:43 +0300 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-06-11 15:46:43 +0300 |
| commit | 8c5cd2b9d6a724998c1ab9af06ac897b6152d568 (patch) | |
| tree | 5dd876d23a8d2be6cbdc278153b084722073cece /scripts/Makefile.thinlto | |
| parent | 42985883613cb316d9a1520365ff6c1e07ef5c11 (diff) | |
| download | linux-8c5cd2b9d6a724998c1ab9af06ac897b6152d568.tar.xz | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
