Repository navigation
Conversation
kimishpatel
reviewed
Oct 7, 2026
| return cpuinfo_uarch_zen; | ||
| case 0x3: // model 31h -> | ||
| // Rome/Castle Peak | ||
| case 0x4: // model 47h -> Xbox |
Contributor
There was a problem hiding this comment.
nevermind. i see it is moved
kimishpatel
approved these changes
Oct 7, 2026
kimishpatel
left a comment
Contributor
There was a problem hiding this comment.
can you add in summary how the cpu info (hex id) was derived
fbarchard
force-pushed
the
oberon-arden-uarch
branch
from
October 8, 2026 03:06
71f2602 to
aff2eea
Compare
…ection AMD family 17h extended model 0x4 now returns cpuinfo_uarch_oberon (previously zen2, mislabeled as Xbox Series X): - model 46h: Sony PlayStation 5 (Oberon), retail ps5-linux/ps5-linux-patches#29 - model 47h: AMD 4700S Desktop Kit (Cardinal), CPUID 0x00840F70 http://users.atw.hu/instlatx64/AuthenticAMD/AuthenticAMD0840F70_K17_CPUID.txt AMD family 17h extended model 0x8 now returns cpuinfo_uarch_arden: - model 84h: Microsoft Xbox Series X/S (Arden) / AMD 4800S, CPUID 0x00880F40 http://users.atw.hu/instlatx64/AuthenticAMD/AuthenticAMD0880F40_K17_CPUID.txt
fbarchard
force-pushed
the
oberon-arden-uarch
branch
from
October 8, 2026 03:07
aff2eea to
fd58831
Compare
Contributor
Author
|
For testing I wrote a little cpuid app and ran it but I dug up developer community references which are in the description. The source is |
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.
Fixes #440
Summary
Identify the Sony PlayStation 5 (Oberon) CPU as its own microarchitecture instead of generic Zen 2.
Before this change, AMD family 17h, extended model
0x4fell through the samecaseas Rome (extended model0x3) and returnedcpuinfo_uarch_zen2. A comment also mislabeled it as "Xbox Series X". The PS5 core is a custom Zen 2 with a cut-down 128-bit FPU, so it performs differently from standard Zen 2 (Rome, Matisse, Renoir, ...).This PR adds
cpuinfo_uarch_oberon(0x0020010F) and returns it for family 17h, extended model0x4. That covers both known parts with this extended model:0x00840F6x(stepping not published)0x00840F70Sources:
family 0x17, model 0x46inarch/x86/kernel/cpu/amd.cto name the CPU "AMD Custom Zen 2 (Oberon)".x86/cpu/amd: set Oberon CPU model name (family 0x17, model 0x46) ps5-linux/ps5-linux-patches#29
http://users.atw.hu/instlatx64/AuthenticAMD/AuthenticAMD0840F70_K17_CPUID.txt
Standard Zen 2 parts keep returning
cpuinfo_uarch_zen2: Rome 31h, Renoir 60h / Lucienne 68h, Matisse 71h, Van Gogh 90h / Mero 98h, and Mendocino A0h.Also included
cpuinfo_uarch_arden(0x00200110) for Microsoft Xbox Series X/S (Arden) / AMD 4800S: family 17h, extended model0x8, model 84h, CPUID0x00880F40. It was previously unhandled (cpuinfo_uarch_unknown). Unlike the PS5, it keeps standard Zen 2's full 256-bit FPU.Source: http://users.atw.hu/instlatx64/AuthenticAMD/AuthenticAMD0880F40_K17_CPUID.txt
"Oberon"and"Arden"string mappings intools/cpu-info.c.