On Wed, May 13, 2020 at 04:42:45PM +0800, Huacai Chen wrote: > This patch enable KVM support for Loongson-3 by selecting HAVE_KVM, but > only enable KVM/VZ on Loongson-3A R4+ (because VZ of early processors > are incomplete). Besides, Loongson-3 support SMP guests, so we clear the > linked load bit of LLAddr in kvm_vz_vcpu_load() if the guest has more > than one VCPUs. > > Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx> > Co-developed-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > --- > arch/mips/Kconfig | 1 + > arch/mips/kernel/cpu-probe.c | 1 + > arch/mips/kvm/vz.c | 2 +- > 3 files changed, 3 insertions(+), 1 deletion(-) Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]