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 unnecessary aarch64_dcache_w...



details:   https://anonhg.NetBSD.org/src/rev/5d2978a79492
branches:  trunk
changeset: 1017000:5d2978a79492
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Dec 09 08:51:05 2020 +0000

description:
Remove unnecessary aarch64_dcache_wbinv_all now that pmapboot_enter does
dsb(ish)

diffstat:

 sys/arch/aarch64/aarch64/aarch64_machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 237688a4dd6f -r 5d2978a79492 sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c        Wed Dec 09 08:20:56 2020 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c        Wed Dec 09 08:51:05 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.54 2020/11/10 07:51:19 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.55 2020/12/09 08:51:05 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.54 2020/11/10 07:51:19 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.55 2020/12/09 08:51:05 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_cpuoptions.h"
@@ -166,7 +166,6 @@
                pmapboot_enter_range(AARCH64_PA_TO_KVA(start), start,
                    end - start, dmattr, printf);
        }
-       aarch64_dcache_wbinv_all();
 
        /* Disable translation table walks using TTBR0 */
        uint64_t tcr = reg_tcr_el1_read();



Home | Main Index | Thread Index | Old Index