From d1659d690c5a48436f37817b60520f74b36bcfb1 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 30 Jun 2021 07:39:05 +0000 Subject: [PATCH] add missing call to sbi_remote_fence_i() ok kettenis@ --- sys/arch/riscv64/riscv64/pmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/riscv64/riscv64/pmap.c b/sys/arch/riscv64/riscv64/pmap.c index 80773fae117..e8d263f8669 100644 --- a/sys/arch/riscv64/riscv64/pmap.c +++ b/sys/arch/riscv64/riscv64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.14 2021/06/30 01:08:10 jsg Exp $ */ +/* $OpenBSD: pmap.c,v 1.15 2021/06/30 07:39:05 jsg Exp $ */ /* * Copyright (c) 2019-2020 Brian Bamsch @@ -83,6 +83,7 @@ icache_flush(void) hart_mask |= (1UL << ci->ci_hartid); } + sbi_remote_fence_i(&hart_mask); #endif fence_i(); -- 2.20.1