Subject: Re: [PATCH v5 1/2] arm64: Add ARM64_PTR_AUTH_KERNEL config option

From: Catalin Marinas <[email-masked]>
Date: Fri, 4 Jun 2021 11:37:55 +0100

On Fri, Jun 04, 2021 at 12:04:36PM +0200, Daniel Kiss wrote:
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 9f1d8566bbf9..c0c0073a70c3 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -1481,12 +1481,6 @@ menu "ARMv8.3 architectural features"
>  config ARM64_PTR_AUTH
>  	bool "Enable support for pointer authentication"
>  	default y
[...]
> +config ARM64_PTR_AUTH_KERNEL
> +	bool "Use pointer authentication for kernel"
> +	default y
> +	depends on ARM64_PTR_AUTH

Nitpick: if you only apply this patch and disable ARM64_PTR_AUTH_KERNEL,
I suspect it will go wrong. Maybe make it unselectable in this patch:

config ARM64_PTR_AUTH_KERNEL
	bool
	default y
	depends on ARM64_PTR_AUTH

and add the description in the next one, once all the other bits are in
place (for bisectability reasons):

With that:

Reviewed-by: Catalin Marinas <[email-masked]>

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel