From: Ville Skyttä Date: Sun, 30 May 2021 12:13:39 +0000 (+0300) Subject: lscpu: recognize more ARM implementers X-Git-Tag: v2.37~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d44a83c1f9a638310a1b6747dff9c020b3279bea;p=thirdparty%2Futil-linux.git lscpu: recognize more ARM implementers 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ä --- diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c index 7f2b5c968e..1560d972c9 100644 --- a/sys-utils/lscpu-arm.c +++ b/sys-utils/lscpu-arm.c @@ -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" }, };