Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/rpi No need to cpu_dcache_wbinv_all now that...



details:   https://anonhg.NetBSD.org/src/rev/22a2f8ccd248
branches:  trunk
changeset: 338593:22a2f8ccd248
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun May 31 08:13:18 2015 +0000

description:
No need to cpu_dcache_wbinv_all now that a9_mpsubr.S invalidates L1 only
as it should

diffstat:

 sys/arch/evbarm/rpi/rpi_machdep.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 4a3c7b6b6923 -r 22a2f8ccd248 sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Sun May 31 07:04:18 2015 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Sun May 31 08:13:18 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpi_machdep.c,v 1.65 2015/05/27 09:40:51 jmcneill Exp $        */
+/*     $NetBSD: rpi_machdep.c,v 1.66 2015/05/31 08:13:18 skrll Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.65 2015/05/27 09:40:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.66 2015/05/31 08:13:18 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_bcm283x.h"
@@ -503,8 +503,6 @@
 
        extern void cortex_mpstart(void);
 
-       cpu_dcache_wbinv_all();
-
        for (size_t i = 1; i < arm_cpu_max; i++) {
                bus_space_tag_t iot = &bcm2835_bs_tag;
                bus_space_handle_t ioh = BCM2836_ARM_LOCAL_VBASE;



Home | Main Index | Thread Index | Old Index