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

Amit Kachhap amit.kachhap at arm.com
Thu Jan 9 00:33:18 PST 2020



On 1/7/20 4:48 PM, Suzuki Kuruppassery Poulose wrote:
> 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>

Sure. I missed it.

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

Thanks for reviewing.

> 
> 



More information about the linux-arm-kernel mailing list