Re: [PATCH v10 3/5] arm64: ptdump: Use the ptdump description from a local context

From: Will Deacon
Date: Tue Sep 10 2024 - 06:05:35 EST


On Mon, Sep 09, 2024 at 12:47:19PM +0000, Sebastian Ene wrote:
> Rename the attributes description array to allow the parsing method
> to use the description from a local context. To be able to do this,
> store a pointer to the description array in the state structure. This
> will allow for the later introduced callers (stage_2 ptdump) to specify
> their own page table description format to the ptdump parser.
>
> Signed-off-by: Sebastian Ene <sebastianene@xxxxxxxxxx>
> ---
> arch/arm64/include/asm/ptdump.h | 1 +
> arch/arm64/mm/ptdump.c | 13 ++++++++-----
> 2 files changed, 9 insertions(+), 5 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will