Re: [PATCH v3 05/16] arm64: ptrauth: Add bootup/runtime flags for __cpu_setup
From: Suzuki Kuruppassery Poulose <suzuki.poulose@arm.com>
Date: 2020-01-07 11:18:59
From: Suzuki Kuruppassery Poulose <suzuki.poulose@arm.com>
Date: 2020-01-07 11:18:59
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 <redacted>
You may add: Suggested-by: James Morse <james.morse@arm.com> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel