Module Name: src Committed By: skrll Date: Fri Dec 4 08:24:41 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: pmapboot.c Log Message: Ensure translation table updates are visible to the hardware walker(s) in pmapboot_enter. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/aarch64/pmapboot.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/pmapboot.c diff -u src/sys/arch/aarch64/aarch64/pmapboot.c:1.12 src/sys/arch/aarch64/aarch64/pmapboot.c:1.13 --- src/sys/arch/aarch64/aarch64/pmapboot.c:1.12 Tue Nov 10 07:51:19 2020 +++ src/sys/arch/aarch64/aarch64/pmapboot.c Fri Dec 4 08:24:41 2020 @@ -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 <r...@nerv.org> @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v #include <uvm/uvm.h> +#include <arm/cpufunc.h> + #include <aarch64/armreg.h> #include <aarch64/cpufunc.h> #include <aarch64/machdep.h> @@ -435,6 +437,8 @@ pmapboot_enter(vaddr_t va, paddr_t pa, p } } + dsb(ish); + return nskip; }