[PATCH v3] arch/arm64: Fix topology initialization for core scheduling

Phil Auld pauld at redhat.com
Mon Apr 4 07:26:46 PDT 2022


On Mon, Apr 04, 2022 at 11:10:48AM +0100 Will Deacon wrote:
> On Thu, 31 Mar 2022 11:39:26 -0400, Phil Auld wrote:
> > Arm64 systems rely on store_cpu_topology() to call update_siblings_masks()
> > to transfer the toplogy to the various cpu masks. This needs to be done
> > before the call to notify_cpu_starting() which tells the scheduler about
> > each cpu found, otherwise the core scheduling data structures are setup
> > in a way that does not match the actual topology.
> > 
> > With smt_mask not setup correctly we bail on `cpumask_weight(smt_mask) == 1`
> > for !leaders in:
> > 
> > [...]
> 
> Applied to arm64 (for-next/fixes), thanks!
>

Thanks, Will!


Cheers,
Phil

> [1/1] arch/arm64: Fix topology initialization for core scheduling
>       https://git.kernel.org/arm64/c/5524cbb1bfcd
> 
> Cheers,
> -- 
> Will
> 
> https://fixes.arm64.dev
> https://next.arm64.dev
> https://will.arm64.dev
> 

-- 




More information about the linux-arm-kernel mailing list