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)
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>