riscv: Introduce PBMT field to PTDUMP
authorYu Chien Peter Lin <peterlin@andestech.com>
Thu, 21 Sep 2023 02:50:21 +0000 (10:50 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 17:41:54 +0000 (09:41 -0800)
commit0713ff337173884bcaf163e44cadd6a56bc8193a
tree5732dd2031c3de5392329e238eb0240e66383a3b
parentd5d2c264d33b9acf1a0216861942176ee3569258
riscv: Introduce PBMT field to PTDUMP

This patch introduces the PBMT field to the PTDUMP, so it can
display the memory attributes for NC or IO.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20230921025022.3989723-3-peterlin@andestech.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/ptdump.c