[PATCH 0/6] Modify some registers operations and move decode_cpucfg() to loongson_regs.h

From: Tiezhu Yang
Date: Thu Oct 29 2020 - 04:05:18 EST


Tiezhu Yang (6):
MIPS: Loongson64: Do not write the read only field LPA of CP0_CONFIG3
MIPS: Loongson64: Set the field ELPA of CP0_PAGEGRAIN only once
MIPS: Loongson64: Set IPI_Enable register per core by itself
MIPS: Loongson64: Add Mail_Send support for 3A4000+ CPU
MIPS: Loongson64: Make sure the PC address is correct when 3A4000+ CPU
hotplug
MIPS: Loongson64: Move decode_cpucfg() to loongson_regs.h

.../asm/mach-loongson64/kernel-entry-init.h | 8 ---
.../include/asm/mach-loongson64/loongson_regs.h | 34 ++++++++++
arch/mips/kernel/cpu-probe.c | 31 +--------
arch/mips/loongson64/numa.c | 20 +-----
arch/mips/loongson64/smp.c | 78 +++++++++++++++++-----
5 files changed, 97 insertions(+), 74 deletions(-)

--
2.1.0