aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-arm.c
diff options
context:
space:
mode:
authorThomasKaiser <ThomasKaiser@users.noreply.github.com>2021-11-28 16:39:47 +0100
committerGitHub <noreply@github.com>2021-11-28 16:39:47 +0100
commit42c8ad6378b2d6e48e72ca5039159580e12b4589 (patch)
tree048f4ecf52bb85911c839743e3b8ffb5a904dfa9 /sys-utils/lscpu-arm.c
parent57d9fd2bea629f211bdd30a12cacc759c0b4f93b (diff)
downloadutil-linux-42c8ad6378b2d6e48e72ca5039159580e12b4589.tar.gz
Add Apple cores, fix Phytium core names
See https://www.spinics.net/lists/arm-kernel/msg879381.html and https://en.wikipedia.org/wiki/FeiTeng_(processor)#Future_processors (S2500 and D2000 are SoCs and contain 4 or 8 FTC663 cores).
Diffstat (limited to 'sys-utils/lscpu-arm.c')
-rw-r--r--sys-utils/lscpu-arm.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
index c10438dc29..ea8430ffa5 100644
--- a/sys-utils/lscpu-arm.c
+++ b/sys-utils/lscpu-arm.c
@@ -147,6 +147,12 @@ static const struct id_part marvell_part[] = {
{ -1, "unknown" },
};
+static const struct id_part apple_part[] = {
+ { 0x022, "Icestorm" },
+ { 0x023, "Firestorm" },
+ { -1, "unknown" },
+};
+
static const struct id_part faraday_part[] = {
{ 0x526, "FA526" },
{ 0x626, "FA626" },
@@ -189,8 +195,8 @@ static const struct id_part hisi_part[] = {
};
static const struct id_part ft_part[] = {
- { 0x662, "FT2000PLUS" },
- { 0x663, "S2500" },
+ { 0x662, "FTC662" },
+ { 0x663, "FTC663" },
{ -1, "unknown" },
};
@@ -218,7 +224,7 @@ static const struct hw_impl hw_implementer[] = {
{ 0x51, qcom_part, "Qualcomm" },
{ 0x53, samsung_part, "Samsung" },
{ 0x56, marvell_part, "Marvell" },
- { 0x61, unknown_part, "Apple" },
+ { 0x61, apple_part, "Apple" },
{ 0x66, faraday_part, "Faraday" },
{ 0x69, intel_part, "Intel" },
{ 0x70, ft_part, "Phytium" },