arm64: ptdump: Expose the attribute parsing functionality
authorSebastian Ene <sebastianene@google.com>
Mon, 9 Sep 2024 12:47:18 +0000 (12:47 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Sep 2024 20:31:59 +0000 (21:31 +0100)
commitacc3d3a8176651a839056c7da4b925ea0bcc38c2
tree8c7534409896b8f626a7c2dc86556ca6746fbb51
parent29caeda359da15d16963096043cda39530f81cc4
arm64: ptdump: Expose the attribute parsing functionality

Reuse the descriptor parsing functionality to keep the same output format
as the original ptdump code. In order for this to happen, move the state
tracking objects into a common header.

[maz: Fixed note_page() stub as suggested by Will]

Signed-off-by: Sebastian Ene <sebastianene@google.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20240909124721.1672199-3-sebastianene@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/ptdump.h
arch/arm64/mm/ptdump.c