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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"