Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 Need CPU_PARTMASK for eMAG CPU ID



details:   https://anonhg.NetBSD.org/src/rev/9daf5b339d2a
branches:  trunk
changeset: 1000242:9daf5b339d2a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jul 16 20:29:53 2019 +0000

description:
Need CPU_PARTMASK for eMAG CPU ID

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0be6b6a3334c -r 9daf5b339d2a sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Tue Jul 16 17:29:17 2019 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Tue Jul 16 20:29:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.19 2019/07/16 10:37:12 jmcneill Exp $ */
+/* $NetBSD: cpu.c,v 1.20 2019/07/16 20:29:53 jmcneill 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.19 2019/07/16 10:37:12 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.20 2019/07/16 20:29:53 jmcneill Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -195,7 +195,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_EMAG8180, "Ampere eMAG 8180", "Skylark", "V8-A" },
+       { CPU_ID_EMAG8180 & CPU_PARTMASK, "Ampere eMAG", "Skylark", "V8-A" },
        { CPU_ID_THUNDERXRX, "Cavium ThunderX", "Cavium", "V8-A" },
        { CPU_ID_THUNDERX81XXRX, "Cavium ThunderX CN81XX", "Cavium", "V8-A" },
        { CPU_ID_THUNDERX83XXRX, "Cavium ThunderX CN83XX", "Cavium", "V8-A" },



Home | Main Index | Thread Index | Old Index