Re: [PATCH 13/15] KVM: MIPS: Add CONFIG6 and DIAG registers emulation

2020-04-19 Thread Huacai Chen
Hi, Jiaxun, Thank you for your suggestion, in this patch and the 8th patch I will use CONFIG_CPU_LOONGSON64. Huacai On Mon, Apr 13, 2020 at 7:19 PM Jiaxun Yang wrote: > > On Mon, 13 Apr 2020 15:30:22 +0800 > Huacai Chen wrote: > > > Loongson-3 has CONFIG6 and DIAG registers which need to be

Re: [PATCH 13/15] KVM: MIPS: Add CONFIG6 and DIAG registers emulation

2020-04-13 Thread Jiaxun Yang
On Mon, 13 Apr 2020 15:30:22 +0800 Huacai Chen wrote: > Loongson-3 has CONFIG6 and DIAG registers which need to be emulate. > CONFIG6 is mostly used to enable/disable FTLB and SFB, while DIAG is > mostly used to flush BTB, ITLB, DTLB, VTLB and FTLB. > > Signed-off-by: Huacai Chen >

[PATCH 13/15] KVM: MIPS: Add CONFIG6 and DIAG registers emulation

2020-04-13 Thread Huacai Chen
Loongson-3 has CONFIG6 and DIAG registers which need to be emulate. CONFIG6 is mostly used to enable/disable FTLB and SFB, while DIAG is mostly used to flush BTB, ITLB, DTLB, VTLB and FTLB. Signed-off-by: Huacai Chen Co-developed-by: Jiaxun Yang --- arch/mips/include/asm/kvm_host.h | 5