Re: [PATCH 1/2] riscv: ptdump: Move pagetable definitions to common header

From: Dylan.Wu

Date: Mon Jul 27 2026 - 08:49:19 EST


Hi Paul,

Thank you very much for taking the time to review this patch and for
the helpful suggestion.

I have split the patch as you requested and sent v2:

https://lore.kernel.org/linux-riscv/20260727122745.118764-1-fredwudi0305@xxxxxxxxx/

Changes in v2:
- Patch 1/3: Create ptdump.h, move declarations there, and export note_page()
- Patch 2/3: Make attribute parsing use per-level bits, rename
pg_level[] to kernel_pg_levels[]
- Patch 3/3: KVM gstage ptdump

I would greatly appreciate any further feedback you may have.

Best regards,
Dylan