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

From: Tiezhu Yang
Date: Mon Nov 02 2020 - 22:15:21 EST


v2: Add some callbacks in csr_ipi probe() for patch #4

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 | 123 +++++++++++++++++----
5 files changed, 136 insertions(+), 80 deletions(-)

--
2.1.0