[PATCH] KVM: arm64: ptdump: Initialize parser_state before pgtable walk
Marc Zyngier
maz at kernel.org
Sat Mar 28 04:13:25 PDT 2026
On Sat, 28 Mar 2026 13:31:55 +0800, Zenghui Yu wrote:
> If we go through the "need a bigger buffer" path in seq_read_iter(), which
> is likely to happen as we're dumping page tables, we will pass the
> populated-by-last-run st::parser_state to
> kvm_pgtable_walk()/kvm_ptdump_visitor(). As a result, the output of
> stage2_page_tables on my box looks like
>
> 0x0000000240000000-0x0000000000000000 17179869175G 1
> 0x0000000000000000-0x0000000000200000 2M 2 R px ux AF BLK
> 0x0000000000200000-0x0000000040000000 1022M 2
> 0x0000000040000000-0x0000000040200000 2M 2 R W PXNUXN AF BLK
> [...]
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: ptdump: Initialize parser_state before pgtable walk
commit: 570428601ba506e76c265a65626524ef3c5cbc04
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list