Skip to content

Commit 3c6abce

Browse files
lixianglaigregkh
authored andcommitted
LoongArch: KVM: Fix "unreliable stack" for kvm_exc_entry
commit b323a44 upstream. Insert the appropriate UNWIND hint into the kvm_exc_entry assembly function to guide the generation of correct ORC table entries, thereby solving the timeout problem ("unreliable stack") while loading the livepatch-sample module on a physical machine running virtual machines with multiple vcpus. Cc: stable@vger.kernel.org Signed-off-by: Xianglai Li <lixianglai@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0d2e79c commit 3c6abce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/loongarch/kvm/switch.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
.text
113113
.cfi_sections .debug_frame
114114
SYM_CODE_START(kvm_exc_entry)
115-
UNWIND_HINT_UNDEFINED
115+
UNWIND_HINT_END_OF_STACK
116116
csrwr a2, KVM_TEMP_KS
117117
csrrd a2, KVM_VCPU_KS
118118
addi.d a2, a2, KVM_VCPU_ARCH

0 commit comments

Comments
 (0)