]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: cputype: Add cputype definition for HIP12
authorYicong Yang <yangyicong@hisilicon.com>
Fri, 25 Apr 2025 03:38:43 +0000 (11:38 +0800)
committerWill Deacon <will@kernel.org>
Thu, 22 May 2025 10:22:18 +0000 (11:22 +0100)
Add MIDR encoding for HiSilicon HIP12 which is used on HiSilicon
HIP12 SoCs.

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250425033845.57671-2-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cputype.h

index d1cc0571798bfae949b960d8e37a53c2ebb9b2b6..36c5bbfbb6e95f5284e0074b149dba6af1b294dd 100644 (file)
 
 #define HISI_CPU_PART_TSV110           0xD01
 #define HISI_CPU_PART_HIP09                    0xD02
+#define HISI_CPU_PART_HIP12            0xD06
 
 #define APPLE_CPU_PART_M1_ICESTORM     0x022
 #define APPLE_CPU_PART_M1_FIRESTORM    0x023
 #define MIDR_FUJITSU_A64FX MIDR_CPU_MODEL(ARM_CPU_IMP_FUJITSU, FUJITSU_CPU_PART_A64FX)
 #define MIDR_HISI_TSV110 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_TSV110)
 #define MIDR_HISI_HIP09 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_HIP09)
+#define MIDR_HISI_HIP12 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_HIP12)
 #define MIDR_APPLE_M1_ICESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_ICESTORM)
 #define MIDR_APPLE_M1_FIRESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM)
 #define MIDR_APPLE_M1_ICESTORM_PRO MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_ICESTORM_PRO)