Re: [PATCH v3 05/16] arm64: ptrauth: Add bootup/runtime flags for __cpu_setup
From: Amit Kachhap <hidden>
Date: 2020-01-16 12:41:11
From: Amit Kachhap <hidden>
Date: 2020-01-16 12:41:11
On 1/15/20 11:00 PM, Catalin Marinas wrote:
On Mon, Dec 16, 2019 at 02:17:07PM +0530, Amit Daniel Kachhap wrote:quoted
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h index a0c8a0b..008d004 100644 --- a/arch/arm64/include/asm/smp.h +++ b/arch/arm64/include/asm/smp.h@@ -23,6 +23,11 @@ #define CPU_STUCK_REASON_52_BIT_VA (UL(1) << CPU_STUCK_REASON_SHIFT) #define CPU_STUCK_REASON_NO_GRAN (UL(2) << CPU_STUCK_REASON_SHIFT) +/* Options for __cpu_setup */ +#define ARM64_CPU_BOOT_PRIMARY (1) +#define ARM64_CPU_BOOT_LATE (2)Nitpick: I'd call this ARM64_CPU_BOOT_SECONDARY. I thought we tend to use "late" for CPUs brought up after user space started (at least that was my impression from the cpufeature.c code).
Sure. I will update it in the next version.
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel