[PATCH v5 2/2] arm64: Conditionally configure PTR_AUTH key of the kernel.

Catalin Marinas catalin.marinas at arm.com
Fri Jun 4 04:04:18 PDT 2021


On Fri, Jun 04, 2021 at 12:04:37PM +0200, Daniel Kiss wrote:
> If the kernel is not compiled with CONFIG_ARM64_PTR_AUTH_KERNEL=y,
> then no PACI/AUTI instructions are expected while the kernel is running
> so the kernel's key will not be used. Write of a system regiters

s/regiters/registers/

> is expensive therefore avoid it not required.

s/it/if/

> Signed-off-by: Daniel Kiss <daniel.kiss at arm.com>

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



More information about the linux-arm-kernel mailing list