LoongArch: Humanize the CRMD line when showing registers
authorWANG Xuerui <git@xen0n.name>
Mon, 1 May 2023 09:19:10 +0000 (17:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 1 May 2023 09:19:10 +0000 (17:19 +0800)
commitefada2afacee7b5e59b3182bc36ddfb0fad2b0e2
tree4f6666fde31a201d18c81ea799fa1863613aaabe
parent05fa8d4977d727cf41294ea09b4a5085cba4ad54
LoongArch: Humanize the CRMD line when showing registers

Example output looks like:

[   xx.xxxxxx]  CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)

Some initial machinery for this pretty-printing format has been included
in this patch as well.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/traps.c