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

Yu Chien Peter Lin peterlin at andestech.com
Wed Sep 20 19:50:19 PDT 2023


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




More information about the linux-riscv mailing list