Skip to content

Commit 8f38465

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 49f4b6b commit 8f38465

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
@@ -111,7 +111,7 @@
111111
.p2align PAGE_SHIFT
112112
.cfi_sections .debug_frame
113113
SYM_CODE_START(kvm_exc_entry)
114-
UNWIND_HINT_UNDEFINED
114+
UNWIND_HINT_END_OF_STACK
115115
csrwr a2, KVM_TEMP_KS
116116
csrrd a2, KVM_VCPU_KS
117117
addi.d a2, a2, KVM_VCPU_ARCH

0 commit comments

Comments
 (0)