[PATCH v4 0/3] Improve PTDUMP and introduce new fields

From: Yu Chien Peter Lin
Date: Wed Sep 20 2023 - 22:50:40 EST


This patchset enhances PTDUMP by providing additional information
from pagetable entries.

The first patch fixes the RSW field, while the second and third
patches introduce the PBMT and NAPOT fields, respectively, for
RV64 systems.

Yu Chien Peter Lin (3):
riscv: Improve PTDUMP to show RSW with non-zero value
riscv: Introduce PBMT field to PTDUMP
riscv: Introduce NAPOT field to PTDUMP

arch/riscv/include/asm/pgtable-bits.h | 4 +-
arch/riscv/mm/ptdump.c | 53 +++++++++++++++++----------
2 files changed, 36 insertions(+), 21 deletions(-)

--
2.34.1