Invalidate OCTEON icache after TLB ASID wraparound, otherwise userspace
authorvisa <visa@openbsd.org>
Mon, 29 May 2017 11:46:49 +0000 (11:46 +0000)
committervisa <visa@openbsd.org>
Mon, 29 May 2017 11:46:49 +0000 (11:46 +0000)
commitae475946380cb0843308ce5dc56e2cd2faa5a329
treecd4560113fbfb5c25b1385dc890b521410b0be3d
parentd95af62aaf0be80d7bf4dd805645859d40191a12
Invalidate OCTEON icache after TLB ASID wraparound, otherwise userspace
might execute stale instructions. The cache is virtually tagged and does
not seem to pick up TLB alterations automatically.
sys/arch/mips64/mips64/mips64_machdep.c