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 Ensure translation table updates ar...



details:   https://anonhg.NetBSD.org/src/rev/7773732fe665
branches:  trunk
changeset: 946601:7773732fe665
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 04 08:24:41 2020 +0000

description:
Ensure translation table updates are visible to the hardware walker(s)
in pmapboot_enter.

diffstat:

 sys/arch/aarch64/aarch64/pmapboot.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r de8729852a9e -r 7773732fe665 sys/arch/aarch64/aarch64/pmapboot.c
--- a/sys/arch/aarch64/aarch64/pmapboot.c       Fri Dec 04 08:00:53 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmapboot.c       Fri Dec 04 08:24:41 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmapboot.c,v 1.12 2020/11/10 07:51:19 skrll Exp $      */
+/*     $NetBSD: pmapboot.c,v 1.13 2020/12/04 08:24:41 skrll Exp $      */
 
 /*
  * Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.12 2020/11/10 07:51:19 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.13 2020/12/04 08:24:41 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -40,6 +40,8 @@
 
 #include <uvm/uvm.h>
 
+#include <arm/cpufunc.h>
+
 #include <aarch64/armreg.h>
 #include <aarch64/cpufunc.h>
 #include <aarch64/machdep.h>
@@ -435,6 +437,8 @@
                }
        }
 
+       dsb(ish);
+
        return nskip;
 }
 



Home | Main Index | Thread Index | Old Index