riscv: Introduce NAPOT field to PTDUMP
authorYu Chien Peter Lin <peterlin@andestech.com>
Thu, 21 Sep 2023 02:50:22 +0000 (10:50 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 17:41:55 +0000 (09:41 -0800)
commit015c3c370472290e37143d1387c000db7ec273ad
treeec31238c1949d2f10c80de14947a826f40291201
parent0713ff337173884bcaf163e44cadd6a56bc8193a
riscv: Introduce NAPOT field to PTDUMP

This patch introduces the NAPOT field to PTDUMP, allowing it
to display the letter "N" for pages that have the 63rd bit set.

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-4-peterlin@andestech.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/ptdump.c