[PATCH v1 14/18] arm64: reorganise PAGE_/PROT_ macros

Catalin Marinas catalin.marinas at arm.com
Mon Mar 27 09:51:33 PDT 2023


On Thu, Mar 09, 2023 at 02:52:42PM +0000, Joey Gouly wrote:
> Make these macros available to assembly code, so they can be re-used by the PIE
> initialisation code.
> 
> This involves adding some extra macros, prepended with _ that are the raw values
> not `pgprot` values.
> 
> A dummy value for PTE_MAYBE_NG is also provided, for use in assembly.
> 
> Signed-off-by: Joey Gouly <joey.gouly at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Mark Rutland <mark.rutland at arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list