smp: Allow switching the boot (primary) CPU core#563
Open
jannau wants to merge 3 commits intoAsahiLinux:mainfrom
Open
smp: Allow switching the boot (primary) CPU core#563jannau wants to merge 3 commits intoAsahiLinux:mainfrom
jannau wants to merge 3 commits intoAsahiLinux:mainfrom
Conversation
Member
jannau
commented
Apr 16, 2026
It will be used to switch to CPU 0 on M3 and later to avoid confusion when Linux is not started with CPU 0. Signed-off-by: Janne Grunau <j@jannau.net>
yuyuyureka
reviewed
Apr 17, 2026
M3 and later Apple silicon SoCs start m1n1 on the first perfomance core. The cluster layout remained unchanged with an efficiency core cluster first. This causes an annoying but mostly cosmetic issue in Linux. Linux assigns CPU index 0 to the boot CPU. This results in a mismatch of logical and physical CPU core order. As seen with the Radxa Orion O6 this will at least generate support questions but is also annoying for CPU pinning. It's likely to result in pinning to mixture of performance and efficiency cores. While functionality it should not matter to which secondary CPU core control is passed the only expected use case is switching to CPU core 0. Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Janne Grunau <j@jannau.net>
Member
Author
|
I've seen now some unhandled exceptions after switching the boot CPU during DT preparation so it's possible that there is something missing during initialisation of the new boot CPU |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.