arm64: Add MIDR encoding for HiSilicon Taishan CPUs
Subsystems (2)
PATCH 1/1 arm64: Add MIDR encoding for HiSilicon Taishan CPUs
From: Hanjun Guo <[email protected]>
[ Upstream commit efd00c722ca855745fcc35a7e6675b5a782a3fc8 ]
Adding the MIDR encodings for HiSilicon Taishan v110 CPUs, which is used in Kunpeng ARM64 server SoCs. TSV110 is the abbreviation of Taishan v110.
Signed-off-by Hanjun Guo <[email protected]>
Reviewed-by John Garry <[email protected]>
Reviewed-by Zhangshaokun <[email protected]>
Signed-off-by Catalin Marinas <[email protected]>
Signed-off-by Hanjun Guo <[email protected]>
--- arch/arm64/include/asm/cputype.h | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/include/asm/cputype.h +4 -0
@@ -68,6 +68,7 @@#define ARM_CPU_IMP_BRCM 0x42#define ARM_CPU_IMP_QCOM 0x51#define ARM_CPU_IMP_NVIDIA 0x4E +#define ARM_CPU_IMP_HISI 0x48#define ARM_CPU_PART_AEM_V8 0xD0F#define ARM_CPU_PART_FOUNDATION 0xD00
@@ -96,6 +97,8 @@#define NVIDIA_CPU_PART_DENVER 0x003#define NVIDIA_CPU_PART_CARMEL 0x004 +#define HISI_CPU_PART_TSV110 0xD01 +#define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53)#define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57)#define MIDR_CORTEX_A72 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A72)
@@ -114,6 +117,7 @@#define MIDR_QCOM_KRYO MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO)#define MIDR_NVIDIA_DENVER MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_DENVER)#define MIDR_NVIDIA_CARMEL MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_CARMEL) +#define MIDR_HISI_TSV110 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_TSV110)#ifndef __ASSEMBLY__
Signature · 1 line
1.7.12.4
Greg KH
maintainerQuoted 8 lines · Hanjun Guo
From: Hanjun Guo <[email protected]>
[ Upstream commit
efd00c722ca855745fcc35a7e6675b5a782a3fc8]Adding the MIDR encodings for HiSilicon Taishan v110 CPUs, which is used in Kunpeng ARM64 server SoCs. TSV110 is the abbreviation of Taishan v110.
Quoted 8 lines
Signed-off-by Hanjun Guo <[email protected]>Reviewed-by John Garry <[email protected]>Reviewed-by Zhangshaokun <[email protected]>Signed-off-by Catalin Marinas <[email protected]>Signed-off-by Hanjun Guo <[email protected]>--- arch/arm64/include/asm/cputype.h | 4 ++++ 1 file changed, 4 insertions(+)
Thanks for this, now queued up.
greg k-h