Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Identify the Denver2 CPU in the Nvidia TX2
details: https://anonhg.NetBSD.org/src/rev/f763a7de2d3d
branches: trunk
changeset: 1006775:f763a7de2d3d
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 27 12:56:44 2020 +0000
description:
Identify the Denver2 CPU in the Nvidia TX2
diffstat:
sys/arch/aarch64/aarch64/cpu.c | 5 +++--
sys/arch/arm/include/cputypes.h | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r f23403722afe -r f763a7de2d3d sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c Mon Jan 27 10:56:29 2020 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c Mon Jan 27 12:56:44 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.36 2020/01/25 18:18:31 skrll Exp $ */
+/* $NetBSD: cpu.c,v 1.37 2020/01/27 12:56:44 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.36 2020/01/25 18:18:31 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.37 2020/01/27 12:56:44 skrll Exp $");
#include "locators.h"
#include "opt_arm_debug.h"
@@ -190,6 +190,7 @@
{ CPU_ID_CORTEXA76R3 & CPU_PARTMASK, "Cortex-A76", "Cortex", "V8.2-A+" },
{ CPU_ID_CORTEXA76AER1 & CPU_PARTMASK, "Cortex-A76AE", "Cortex", "V8.2-A+" },
{ CPU_ID_CORTEXA77R0 & CPU_PARTMASK, "Cortex-A77", "Cortex", "V8.2-A+" },
+ { CPU_ID_NVIDIADENVER2 & CPU_PARTMASK, "Nvidia", "Denver2", "V8-A" },
{ CPU_ID_EMAG8180 & CPU_PARTMASK, "Ampere eMAG", "Skylark", "V8-A" },
{ CPU_ID_NEOVERSEE1R1 & CPU_PARTMASK, "Neoverse E1", "Neoverse", "V8.2-A+" },
{ CPU_ID_NEOVERSEN1R3 & CPU_PARTMASK, "Neoverse N1", "Neoverse", "V8.2-A+" },
diff -r f23403722afe -r f763a7de2d3d sys/arch/arm/include/cputypes.h
--- a/sys/arch/arm/include/cputypes.h Mon Jan 27 10:56:29 2020 +0000
+++ b/sys/arch/arm/include/cputypes.h Mon Jan 27 12:56:44 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cputypes.h,v 1.11 2019/12/28 19:18:31 jmcneill Exp $ */
+/* $NetBSD: cputypes.h,v 1.12 2020/01/27 12:56:44 skrll Exp $ */
/*
* Copyright (c) 1998, 2001 Ben Harris
@@ -208,6 +208,7 @@
#define CPU_ID_SA110 0x4401a100
#define CPU_ID_SA1100 0x4401a110
+#define CPU_ID_NVIDIADENVER2 0x4e0f0030
#define CPU_ID_EMAG8180 0x503f0002
#define CPU_ID_TI925T 0x54029250
#define CPU_ID_MV88FR571_VD 0x56155710
Home |
Main Index |
Thread Index |
Old Index