Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Assume all ARM11[37]6 r0 variants are mis...
details: https://anonhg.NetBSD.org/src/rev/d53f75c26e52
branches: trunk
changeset: 984406:d53f75c26e52
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jul 06 08:34:28 2021 +0000
description:
Assume all ARM11[37]6 r0 variants are missing ISAR and friends. This is
certainly the case for r0 variants I could find TRMs for.
PR/50596 CPU_ID_ARM1136JS r0p4 does not support feature registers
diffstat:
sys/arch/arm/arm32/cpu.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r ec780cd8e7f1 -r d53f75c26e52 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Tue Jul 06 08:31:41 2021 +0000
+++ b/sys/arch/arm/arm32/cpu.c Tue Jul 06 08:34:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.147 2020/07/02 11:49:48 martin Exp $ */
+/* $NetBSD: cpu.c,v 1.148 2021/07/06 08:34:28 skrll Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.147 2020/07/02 11:49:48 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.148 2021/07/06 08:34:28 skrll Exp $");
#include <sys/param.h>
@@ -739,7 +739,10 @@
aprint_normal("\n");
if (CPU_ID_CORTEX_P(arm_cpuid) || CPU_ID_ARM11_P(arm_cpuid) || CPU_ID_MV88SV58XX_P(arm_cpuid)) {
- identify_features(dv);
+ if ((arm_cpuid & CPU_ID_CPU_MASK) != CPU_ID_ARM1136JS &&
+ (arm_cpuid & CPU_ID_CPU_MASK) != CPU_ID_ARM1176JZS) {
+ identify_features(dv);
+ }
}
/* Print cache info. */
Home |
Main Index |
Thread Index |
Old Index