From 4d783c691349bc8741d5aa4a58dae498cacc6e2c Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 5 Jun 2018 09:45:09 +0000 Subject: Recognise Cortex A76. Only adding to arm64 as it only supports aarch32 for EL0/userland. MIDR value from ATF. ok kettenis@ --- sys/arch/arm64/arm64/cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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 @@ -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 }, }; -- cgit v1.2.3