]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: remove duplicate ARM names, clean up names
authorKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2026 09:37:49 +0000 (10:37 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2026 10:12:53 +0000 (11:12 +0100)
* Remove duplicate ARM core names
* Remove unwanted blank characters from core names

References: https://github.com/util-linux/util-linux/pull/3882
Reported-by: Martin Storsjö
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu-arm.c

index 563ececfd8381fb2c316e97a484fffa8067308bf..591e12064702aeb6a424888d0cc3db8934f79993 100644 (file)
@@ -23,9 +23,6 @@ struct id_part {
 };
 
 static const struct id_part arm_part[] = {
-    { 0xb36, "ARM1136j-s" },
-    { 0xb56, "ARM1156t2-s" },
-    { 0xb76, "ARM1176jz-s" },
     { 0x810, "ARM810" },
     { 0x920, "ARM920" },
     { 0x922, "ARM922" },
@@ -36,7 +33,7 @@ static const struct id_part arm_part[] = {
     { 0xa20, "ARM1020" },
     { 0xa22, "ARM1022" },
     { 0xa26, "ARM1026" },
-    { 0xb02, "ARM11 MPCore" },
+    { 0xb02, "ARM11-MPCore" },
     { 0xb36, "ARM1136" },
     { 0xb56, "ARM1156" },
     { 0xb76, "ARM1176" },
@@ -178,7 +175,7 @@ static const struct id_part samsung_part[] = {
 
 static const struct id_part nvidia_part[] = {
     { 0x000, "Denver" },
-    { 0x003, "Denver 2" },
+    { 0x003, "Denver-2" },
     { 0x004, "Carmel" },
     { 0x010, "Olympus" },
     { -1, "unknown" },