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

Will Deacon will at kernel.org
Mon Apr 4 03:10:48 PDT 2022


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!

[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