linux/arch/loongarch/kvm
Bibo Mao acc7f20d54 LoongArch: KVM: Add vm migration support for LBT registers
Every vcpu has separate LBT registers. And there are four scr registers,
one flags and ftop register for LBT extension. When VM migrates, VMM
needs to get LBT registers for every vcpu.

Here macro KVM_REG_LOONGARCH_LBT is added for new vcpu lbt register type,
the following macro is added to get/put LBT registers.
  KVM_REG_LOONGARCH_LBT_SCR0
  KVM_REG_LOONGARCH_LBT_SCR1
  KVM_REG_LOONGARCH_LBT_SCR2
  KVM_REG_LOONGARCH_LBT_SCR3
  KVM_REG_LOONGARCH_LBT_EFLAGS
  KVM_REG_LOONGARCH_LBT_FTOP

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2024-09-11 23:26:32 +08:00
..
exit.c LoongArch: KVM: Add Binary Translation extension support 2024-09-11 23:26:32 +08:00
interrupt.c LoongArch: KVM: Implement vcpu interrupt operations 2023-10-02 10:01:28 +08:00
Kconfig LoongArch: KVM: Add PV steal time support in host side 2024-07-09 16:25:51 +08:00
main.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
mmu.c LoongArch: Use accessors to page table entries instead of direct dereference 2024-08-07 17:37:11 +08:00
switch.S LoongArch: Add ifdefs to fix LSX and LASX related warnings 2024-08-26 23:11:32 +08:00
timer.c LoongArch: KVM: Invalidate guest steal time address on vCPU reset 2024-08-26 23:11:32 +08:00
tlb.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
trace.h LoongArch: KVM: Add mmio trace events support 2024-05-06 22:00:47 +08:00
vcpu.c LoongArch: KVM: Add vm migration support for LBT registers 2024-09-11 23:26:32 +08:00
vm.c LoongArch: KVM: Add VM feature detection function 2024-09-11 23:26:32 +08:00