From 820e61d0bb2c114a9bb8a568a34bb6a6113ffd31 Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Tue, 31 Jan 2023 11:58:24 +0100 Subject: [PATCH] Adding older Apple cores based on XNU kernel source 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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c index a0dc9fa35..2772c62b6 100644 --- a/sys-utils/lscpu-arm.c +++ b/sys-utils/lscpu-arm.c @@ -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" },