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
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
>
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