Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 16:03:17 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339381 - head/sys/riscv/riscv
Message-ID:  <201810161603.w9GG3HCP086645@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Tue Oct 16 16:03:17 2018
New Revision: 339381
URL: https://svnweb.freebsd.org/changeset/base/339381

Log:
  Invalidate TLB on a local hart.
  
  This was missed in r339367 ("Various fixes for TLB management on RISC-V.").
  
  This fixes operation on lowRISC.
  
  Reviewed by:	jhb
  Approved by:	re (gjb)
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D17583

Modified:
  head/sys/riscv/riscv/pmap.c

Modified: head/sys/riscv/riscv/pmap.c
==============================================================================
--- head/sys/riscv/riscv/pmap.c	Tue Oct 16 16:00:41 2018	(r339380)
+++ head/sys/riscv/riscv/pmap.c	Tue Oct 16 16:03:17 2018	(r339381)
@@ -804,6 +804,7 @@ pmap_invalidate_all(pmap_t pmap)
 	 * all sfence_vma requests as global however.
 	 */
 	sbi_remote_sfence_vma(mask.__bits, 0, 0);
+	sfence_vma();
 	sched_unpin();
 }
 #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810161603.w9GG3HCP086645>