OSDN Git Service

MIPS: define more Loongson CP0.Config6 and CP0.Diag feature bits
authorWANG Xuerui <git@xen0n.name>
Sun, 3 May 2020 10:33:04 +0000 (18:33 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 17 May 2020 08:26:58 +0000 (10:26 +0200)
commitac44d672787f7f61880114953654e22936c9b008
tree0b058cfdf7cd6d2778bd0dd6d843f338c5d4f6d0
parentfdec207e466d57e658ca18755ff990a18e85d5ae
MIPS: define more Loongson CP0.Config6 and CP0.Diag feature bits

These are exposed to userland alternatively via the new CPUCFG
instruction on Loongson-3A R4 and above. Add definitions for readback
on older cores.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mipsregs.h