]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: KVM: Remove PGD saving during VM context switch
authorBibo Mao <maobibo@loongson.cn>
Tue, 18 Mar 2025 08:48:08 +0000 (16:48 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 18 Mar 2025 08:48:08 +0000 (16:48 +0800)
commit062ac0cb83837fab2afdb817f136d0f8860474e9
treee5910f3056d05e54e6c3ca1778ef7d7cd680f11c
parent1c405b42171e56d925b9b59d2d2b274fccfdd64a
LoongArch: KVM: Remove PGD saving during VM context switch

PGD table for primary mmu keeps unchanged once VM is created, it is not
necessary to save PGD table pointer during VM context switch. And it can
be acquired when VM is created.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_host.h
arch/loongarch/kernel/asm-offsets.c
arch/loongarch/kvm/switch.S
arch/loongarch/kvm/vcpu.c