Re: [PATCH v3 10/22] arm64: capabilities: Allow features based on local CPU scope

From: Suzuki K Poulose
Date: Thu Mar 08 2018 - 07:14:58 EST


On 09/02/18 18:22, Dave Martin wrote:
On Fri, Feb 09, 2018 at 05:54:49PM +0000, Suzuki K Poulose wrote:
So far we have treated the feature capabilities as system wide
and this doesn't help with features that could be detected on

doesn't -> wouldn't (since no such features exist yet)

detected to "detected locally" (maybe)


Sure, fixed.

one or more CPUs (e.g, KPTI, Software prefetch). This patch
splits the feature detection to two phases :

1) Local CPU features are checked on all boot time active CPUs.
2) System wide features are checked only once after all CPUs are
active.

Cc: Dave Martin <dave.martin@xxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

Otherwise,

Reviewed-by: Dave Martin <Dave.Martin@xxxxxxx>


Thanks,

Suzuki