]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Fix "unreliable stack" for kvm_exc_entry
authorXianglai Li <lixianglai@loongson.cn>
Mon, 4 May 2026 01:00:37 +0000 (09:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 May 2026 13:31:19 +0000 (15:31 +0200)
commit8f3846559f6fb4e38a4cd49278a5a77284ec091d
tree9e98478937b656c4dbfc9ca4956d420a1868f241
parent49f4b6b39b9dd34602a56e28c899eec45805c073
LoongArch: KVM: Fix "unreliable stack" for kvm_exc_entry

commit b323a441da602dfdfc24f30d3190cac786ffebf2 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>
arch/loongarch/kvm/switch.S