[PATCH v3 05/16] arm64: ptrauth: Add bootup/runtime flags for __cpu_setup

Suzuki Kuruppassery Poulose suzuki.poulose at arm.com
Tue Jan 7 03:18:44 PST 2020


On 16/12/2019 08:47, Amit Daniel Kachhap wrote:
> This patch allows __cpu_setup to be invoked with one of these flags,
> ARM64_CPU_BOOT_PRIMARY, ARM64_CPU_BOOT_LATE or ARM64_CPU_RUNTIME.
> This is required as some cpufeatures need different handling during
> different scenarios.
> 
> The input parameter in x0 is preserved till the end to be used inside
> this function.
> 
> There should be no functional change with this patch and is useful
> for the subsequent ptrauth patch which utilizes it. Some upcoming
> arm cpufeatures can also utilize these flags.
> 
> Signed-off-by: Amit Daniel Kachhap <amit.kachhap at arm.com>

You may add:

Suggested-by: James Morse <james.morse at arm.com>


Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>




More information about the linux-arm-kernel mailing list