From f0a0b78b87b176baaf7c25df094e0899a0f44cff Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 30 Jul 2025 12:02:33 +0200 Subject: [PATCH] lscpu: update table with ARM IDs Resolves: RHEL-82216 --- ...u-Add-FUJITSU-aarch64-MONAKA-cpupart.patch | 29 ++++++++++++ 0011-lscpu-New-Arm-part-numbers.patch | 46 +++++++++++++++++++ util-linux.spec | 3 ++ 3 files changed, 78 insertions(+) create mode 100644 0010-lscpu-Add-FUJITSU-aarch64-MONAKA-cpupart.patch create mode 100644 0011-lscpu-New-Arm-part-numbers.patch diff --git a/0010-lscpu-Add-FUJITSU-aarch64-MONAKA-cpupart.patch b/0010-lscpu-Add-FUJITSU-aarch64-MONAKA-cpupart.patch new file mode 100644 index 0000000..44c4a7b --- /dev/null +++ b/0010-lscpu-Add-FUJITSU-aarch64-MONAKA-cpupart.patch @@ -0,0 +1,29 @@ +From 07c5d3c21b17b1dc0517ff4fe5bdd925c145c145 Mon Sep 17 00:00:00 2001 +From: "Emi, Kisanuki" +Date: Tue, 24 Dec 2024 06:27:51 +0000 +Subject: lscpu: Add FUJITSU aarch64 MONAKA cpupart + +Add an entry for FUJITSU aarch64 part MONAKA. + +Signed-off-by: Emi, Kisanuki +Upstream: http://github.com/util-linux/util-linux/commit/9156b69f05bc1519230d823c735cc69be9823de5 +Addresses: https://issues.redhat.com/browse/RHEL-82216 +--- + sys-utils/lscpu-arm.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c +index 997ae88ff..949b31e71 100644 +--- a/sys-utils/lscpu-arm.c ++++ b/sys-utils/lscpu-arm.c +@@ -249,6 +249,7 @@ static const struct id_part intel_part[] = { + + static const struct id_part fujitsu_part[] = { + { 0x001, "A64FX" }, ++ { 0x003, "MONAKA" }, + { -1, "unknown" }, + }; + +-- +2.50.1 + diff --git a/0011-lscpu-New-Arm-part-numbers.patch b/0011-lscpu-New-Arm-part-numbers.patch new file mode 100644 index 0000000..26c913d --- /dev/null +++ b/0011-lscpu-New-Arm-part-numbers.patch @@ -0,0 +1,46 @@ +From 3863c5bac1a4ea75e1917878ec711c085f09a0d0 Mon Sep 17 00:00:00 2001 +From: Jeremy Linton +Date: Thu, 6 Mar 2025 12:17:30 -0600 +Subject: lscpu: New Arm part numbers + +Arm has announced the Cortex-A320 and published the TRM here: +https://developer.arm.com/documentation/109551 + +The Cortex-A520AE with a TRM here: +https://developer.arm.com/documentation/107726 + +The Cortex-A720AE with a TRM here: +https://developer.arm.com/documentation/102828 + +The Neoverse-V3AE with a TRM here: +https://developer.arm.com/documentation/101595 + +Signed-off-by: Jeremy Linton +Upstream: http://github.com/util-linux/util-linux/commit/be77fa82ad491f38537030c329c2a8e0612506a5 +Addresses: https://issues.redhat.com/browse/RHEL-82216 +--- + sys-utils/lscpu-arm.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c +index 949b31e71..682868550 100644 +--- a/sys-utils/lscpu-arm.c ++++ b/sys-utils/lscpu-arm.c +@@ -93,10 +93,14 @@ static const struct id_part arm_part[] = { + { 0xd80, "Cortex-A520" }, + { 0xd81, "Cortex-A720" }, + { 0xd82, "Cortex-X4" }, ++ { 0xd83, "Neoverse-V3AE" }, + { 0xd84, "Neoverse-V3" }, + { 0xd85, "Cortex-X925" }, + { 0xd87, "Cortex-A725" }, ++ { 0xd88, "Cortex-A520AE" }, ++ { 0xd89, "Cortex-A720AE" }, + { 0xd8e, "Neoverse-N3" }, ++ { 0xd8f, "Cortex-A320" }, + { -1, "unknown" }, + }; + +-- +2.50.1 + diff --git a/util-linux.spec b/util-linux.spec index a847f37..360e6e1 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -113,6 +113,9 @@ Patch6: 0006-agetty-fix-stdin-conversion-to-tty-name.patch Patch7: 0007-coresched-Manage-core-scheduling-cookies-for-tasks.patch Patch8: 0008-coresched-add-bash-completions.patch Patch9: 0009-docs-add-European-Public-License-v1.2.patch +# RHEL-82216 - lscpu: Add FUJITSU aarch64 MONAKA cpupart +Patch10: 0010-lscpu-Add-FUJITSU-aarch64-MONAKA-cpupart.patch +Patch11: 0011-lscpu-New-Arm-part-numbers.patch %description