Module Name: src Committed By: skrll Date: Wed Dec 9 08:51:05 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Remove unnecessary aarch64_dcache_wbinv_all now that pmapboot_enter does dsb(ish) To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/aarch64/aarch64/aarch64_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/aarch64/aarch64/aarch64_machdep.c diff -u src/sys/arch/aarch64/aarch64/aarch64_machdep.c:1.54 src/sys/arch/aarch64/aarch64/aarch64_machdep.c:1.55 --- src/sys/arch/aarch64/aarch64/aarch64_machdep.c:1.54 Tue Nov 10 07:51:19 2020 +++ src/sys/arch/aarch64/aarch64/aarch64_machdep.c Wed Dec 9 08:51:05 2020 @@ -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 @@ cpu_kernel_vm_init(uint64_t memory_start 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();