summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-06-05 09:45:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-06-05 09:45:09 +0000
commit4d783c691349bc8741d5aa4a58dae498cacc6e2c (patch)
tree09f4926ad49fdfa2b3af3c089abc9b231742c794 /sys
parent249aa72044f0a67eb0acf2da55e5f990efc1fbb6 (diff)
Recognise Cortex A76. Only adding to arm64 as it only supports aarch32
for EL0/userland. MIDR value from ATF. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/arm64/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c
index d0fc0f29e77..3db2dd4e4e7 100644
--- a/sys/arch/arm64/arm64/cpu.c
+++ b/sys/arch/arm64/arm64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.18 2018/05/03 09:45:57 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.19 2018/06/05 09:45:08 jsg Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@ -51,6 +51,7 @@
#define CPU_PART_CORTEX_A72 0xd08
#define CPU_PART_CORTEX_A73 0xd09
#define CPU_PART_CORTEX_A75 0xd0a
+#define CPU_PART_CORTEX_A76 0xd0b
#define CPU_PART_THUNDERX_T88 0x0a1
#define CPU_PART_THUNDERX_T81 0x0a2
@@ -79,6 +80,7 @@ struct cpu_cores cpu_cores_arm[] = {
{ CPU_PART_CORTEX_A72, "Cortex-A72" },
{ CPU_PART_CORTEX_A73, "Cortex-A73" },
{ CPU_PART_CORTEX_A75, "Cortex-A75" },
+ { CPU_PART_CORTEX_A76, "Cortex-A76" },
{ 0 },
};