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 Remove the A72 errata #859971 detec...



details:   https://anonhg.NetBSD.org/src/rev/6c2cbf642e1a
branches:  trunk
changeset: 966114:6c2cbf642e1a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Oct 14 22:53:05 2019 +0000

description:
Remove the A72 errata #859971 detection, it causes an illegal instruction on AWS A1 (virtualized)

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r 42b7d4f2177d -r 6c2cbf642e1a sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Mon Oct 14 17:30:17 2019 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Mon Oct 14 22:53:05 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.21 2019/09/15 15:16:30 tnn Exp $ */
+/* $NetBSD: cpu.c,v 1.22 2019/10/14 22:53:05 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.21 2019/09/15 15:16:30 tnn Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.22 2019/10/14 22:53:05 jmcneill Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -432,14 +432,6 @@
        }
 
        aprint_normal("\n");
-
-       if ((id->ac_midr & CPU_PARTMASK) == (CPU_ID_CORTEXA72R0 & CPU_PARTMASK)
-           && __SHIFTOUT(id->ac_midr, CPU_ID_REVISION_MASK) <= 3) {
-               aprint_normal_dev(self, "A72 errata #859971 present"
-                   ", workaround %s\n",
-                   ISSET(reg_a72_cpuactlr_el1_read(), __BIT(32))
-                   ? "enabled" : "NOT enabled (U-Boot update needed)");
-       }
 }
 
 /*



Home | Main Index | Thread Index | Old Index