Re: [PATCH] arm64/mm: Describe TTBR1_BADDR_4852_OFFSET
From: Catalin Marinas
Date: Fri Mar 27 2026 - 15:25:14 EST
On Wed, 25 Feb 2026 06:40:28 +0000, Anshuman Khandual wrote:
> TTBR1_BADDR_4852_OFFSET is a constant offset which gets added into kernel
> page table physical address for TTBR1_EL1 when kernel is build for 52 bit
> VA but found to be running on 48 bit VA capable system. Although there is
> no explanation on how the macro is computed.
>
> Describe TTBR1_BADDR_4852_OFFSET computation in detail via deriving from
> all required parameters involved thus improving clarity and readability.
>
> [...]
Applied to arm64 (for-next/ttbr-macros-cleanup), thanks!
[1/1] arm64/mm: Describe TTBR1_BADDR_4852_OFFSET
(no commit info, script got confused for some reason)
--
Catalin