On Wed, Sep 28, 2022 at 08:16:53AM +0200, Juergen Gross wrote:
Are sure the hotplug notifier doesn't get called in the boot and in the
It doesn't because it gets registered after smp_init()...
resume cases?
... but it gets called during resume because by that time the notifier
has been registered already. See my notes at the end of this mail of
what the code does currently.
In case my suspicion is correct: this can still be solved by adding the
hotplug notifier only in mtrr_aps_init(), and removing it again in
arch_thaw_secondary_cpus_begin().
Pretty much. Yeah, we still need a bool. ;-(
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature