[PATCH v3 13/24] arm64: Populate cpuinfo after notify_cpu_starting

Catalin Marinas catalin.marinas at arm.com
Thu Oct 15 03:54:38 PDT 2015


On Tue, Oct 13, 2015 at 06:22:21PM +0100, Suzuki K. Poulose wrote:
> This patch delays populating the cpuinfo for a new (hotplugged)
> CPU until the notifiers have executed. This will enable us to verify
> if the new (hotplugged) CPU has all the capabilities which the system
> already has. If it doesn't, we could prevent it from turning online and
> also modifying the system wide feature register status.

Just a question here: do we expect the notifiers to enable certain
features that we check later? AFAICT, the checking is done on the
feature registers which don't change after notifiers, so we could as
well block the booting before any notifier is run.

-- 
Catalin



More information about the linux-arm-kernel mailing list