]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Adding older Apple cores based on XNU kernel source
authorThomasKaiser <ThomasKaiser@users.noreply.github.com>
Tue, 31 Jan 2023 10:58:24 +0000 (11:58 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 10:58:24 +0000 (11:58 +0100)
Naming based on https://opensource.apple.com/source/xnu/xnu-7195.81.3/osfmk/arm/cpuid.h.auto.html and https://en.wikipedia.org/wiki/List_of_Apple_codenames#Apple-designed_processors

No idea about IDs of the new and more interesting Sawtooth and Everest cores in the A16 SoC. I'll leave this for the Asahi people to discover...

sys-utils/lscpu-arm.c

index a0dc9fa35d139218e1758818d0a5b5874510ec05..2772c62b6a87152bac221ed5ec3512a900e8b4f5 100644 (file)
@@ -176,12 +176,30 @@ static const struct id_part marvell_part[] = {
 };
 
 static const struct id_part apple_part[] = {
+    { 0x000, "Swift" },
+    { 0x001, "Cyclone" },
+    { 0x002, "Typhoon" },
+    { 0x003, "Typhoon/Capri" },
+    { 0x004, "Twister" },
+    { 0x005, "Twister/Elba/Malta" },
+    { 0x006, "Hurricane" },
+    { 0x007, "Hurricane/Myst" },
+    { 0x008, "Monsoon" },
+    { 0x009, "Mistral" },
+    { 0x00b, "Vortex" },
+    { 0x00c, "Tempest" },
+    { 0x00f, "Tempest-M9" },
+    { 0x010, "Vortex/Aruba" },
+    { 0x011, "Tempest/Aruba" },
+    { 0x012, "Lightning" },
+    { 0x013, "Thunder" },
     { 0x020, "Icestorm-A14" },
     { 0x021, "Firestorm-A14" },
     { 0x022, "Icestorm-M1" },
     { 0x023, "Firestorm-M1" },
     { 0x024, "Icestorm-M1-Pro" },
     { 0x025, "Firestorm-M1-Pro" },
+    { 0x026, "Thunder-M10" },
     { 0x028, "Icestorm-M1-Max" },
     { 0x029, "Firestorm-M1-Max" },
     { 0x030, "Blizzard-A15" },