For !EARLY_AP_STARTUP && NUMA systems, this may result in a callout on
a non-boot cpu before we're prepared for it.
This fixes my two-domain setup on arm64.
Differential D32743
nvme: avoid callout_reset_on in early boot kevans on Oct 29 2021, 9:21 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions So I still don't understand exactly why it's problematic to schedule a callout on an AP before SI_SUB_SMP. Is that not supposed to work? I wonder if PSR_DAIF_DEFAULT should include PSR_I? It's like interrupts are being enabled during cpu_throw. Comment Actions My follow-up question is if it's generally OK for the callout to be delayed all the way until SI_SUB_SMP, if there's a more appropriate fix. Comment Actions As noted, this change is wrong.
|