Identify Apple M4 Seymour and add JackS config#2033
Open
ph0enix1974 wants to merge 1 commit intofreebsd:mainfrom
Open
Identify Apple M4 Seymour and add JackS config#2033ph0enix1974 wants to merge 1 commit intofreebsd:mainfrom
ph0enix1974 wants to merge 1 commit intofreebsd:mainfrom
Conversation
arm64: Add CPU identification for Apple M3 (Sawtooth/Malacca) and M4 (Seymour/Tahoe) series Extend the Apple CPU part definitions in cpu.h and the identification table in identcpu.c to include M3 and M4 models, as well as virtualized Apple CPUs (e.g., UTM/Framework fallback). This provides better strings in dmesg, sysctl hw.model, etc., on newer Apple Silicon hardware. No functional/behavioral changes; purely cosmetic/enhancement. Includes reordering for logical grouping (M3 before M4). Signed-off-by: Jack Seredyniecki <jack@it-wise.com>
Member
|
Where did the names come from? |
Author
|
The PartNum values and codenames are from direct MIDR_EL1 reads on real
M3/M4 hardware via a Linux guest VM in UTM (Apple Virtualization.framework
on macOS host). In the guest user space, `mrs midr_el1` succeeds and
returns the host's actual register values (implementer 0x61, PartNum
0x042/0x043 for M3 variants, 0x052/0x053 for M4).
This matches Asahi Linux patterns for Apple SoC identification (
https://asahilinux.org/docs/hw/cpu/system-registers).
Codenames (Sawtooth/Malacca for M3, Tahoe/Seymour for M4) come from
internal Apple firmware/hardware leaks documented in community sources like
Asahi and The Apple Wiki.
…On Thu, Feb 19, 2026 at 12:57 PM Andrew Turner ***@***.***> wrote:
*zxombie* left a comment (freebsd/freebsd-src#2033)
<#2033 (comment)>
Where did the names come from?
—
Reply to this email directly, view it on GitHub
<#2033 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKUTJNFDZ7UZN6LBWFA3TRL4MX2RHAVCNFSM6AAAAACVW4UQ6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMRYHEYDEOJVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Member
|
That page doesn't list any of the code names, and as far as I can tell neither does The Apple Wiki. |
Author
|
You're right. My initial research showed those names but I'm unable to
reliably verify them.
Are you ok with using the following descriptors?
case 0x042:
return ("Apple M3 (Efficiency)");
case 0x043:
return ("Apple M3 (Performance)");
case 0x052:
return ("Apple M4 (Efficiency)");
case 0x053:
return ("Apple M4 (Performance)");
…On Fri, Feb 20, 2026 at 7:52 AM Andrew Turner ***@***.***> wrote:
*zxombie* left a comment (freebsd/freebsd-src#2033)
<#2033 (comment)>
That page doesn't list any of the code names, and as far as I can tell
neither does The Apple Wiki.
—
Reply to this email directly, view it on GitHub
<#2033 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKUTJNF4CEJA2BSV2T2K4D34M37RVAVCNFSM6AAAAACVW4UQ6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMZUGIYTKNRVHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
Extend Apple CPU part definitions and identification strings to include M3 and M4 models, plus virtualized Apple CPUs (e.g., UTM/Framework fallback).
Improves dmesg, sysctl hw.model, etc. on newer Apple Silicon hardware.
Closes any previous incomplete PRs.