arm64: ptdump: Allow all region boundaries to be defined at boot time
authorArd Biesheuvel <ardb@kernel.org>
Wed, 13 Dec 2023 08:40:28 +0000 (09:40 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 9 Feb 2024 10:56:11 +0000 (10:56 +0000)
commit34f879fbe461dcdcaecb8bece3266dbea3a745ba
tree29b1e270375532aa8ef9f10281a2f4bea07cda61
parentb730b0f2b1fcfbdaed816152cc71993fd708aa11
arm64: ptdump: Allow all region boundaries to be defined at boot time

Rework the way the address_markers array is populated so that we can
tolerate values that are not compile time constants generally, rather
than keeping track manually of the array indexes in question, and poking
new values into them manually. This will be needed for VMALLOC_END,
which will cease to be a compile time constant after a subsequent patch.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20231213084024.2367360-12-ardb@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
arch/arm64/mm/ptdump.c