]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: recognize more ARM implementers
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 30 May 2021 12:13:39 +0000 (15:13 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 31 May 2021 10:14:34 +0000 (12:14 +0200)
Add just the implementer string, no parts yet.

Refs https://developer.arm.com/documentation/ddi0595/2021-03/AArch64-Registers/MIDR-EL1--Main-ID-Register
Refs https://github.com/torvalds/linux/blob/b90e90f40b4ff23c753126008bf4713a42353af6/arch/arm64/include/asm/cputype.h#L54

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
sys-utils/lscpu-arm.c

index 7f2b5c968efdce3799b41ae6d13f79cf9c1c08c7..1560d972c9711a64037e2818cc3a1ea082d3d53d 100644 (file)
@@ -205,13 +205,17 @@ static const struct hw_impl hw_implementer[] = {
     { 0x44, dec_part,     "DEC" },
     { 0x46, fujitsu_part, "FUJITSU" },
     { 0x48, hisi_part,    "HiSilicon" },
+    { 0x49, unknown_part, "Infineon" },
+    { 0x4d, unknown_part, "Motorola/Freescale" },
     { 0x4e, nvidia_part,  "Nvidia" },
     { 0x50, apm_part,     "APM" },
     { 0x51, qcom_part,    "Qualcomm" },
     { 0x53, samsung_part, "Samsung" },
     { 0x56, marvell_part, "Marvell" },
+    { 0x61, unknown_part, "Apple" },
     { 0x66, faraday_part, "Faraday" },
     { 0x69, intel_part,   "Intel" },
+    { 0xc0, unknown_part, "Ampere" },
     { -1,   unknown_part, "unknown" },
 };