]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: KVM: Add ecode parameter for exception handlers
authorBibo Mao <maobibo@loongson.cn>
Tue, 20 May 2025 12:20:18 +0000 (20:20 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 20 May 2025 12:20:18 +0000 (20:20 +0800)
commitfecd903c3c028da67a89a5e2efa41d288999b70c
tree576fd80b3438e625f5c60fb0195db3cdae52a545
parenta5806cd506af5a7c19bcd596e4708b5c464bfd21
LoongArch: KVM: Add ecode parameter for exception handlers

For some KVM exception types, they share the same exception handler. To
show the difference, ecode (exception code) is added as a new parameter
in exception handlers.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_vcpu.h
arch/loongarch/kvm/exit.c