plan9fox/sys
cinap_lenrek acab8881bc bcm64: enter page tables in mmutop *AFTER* switching asid in mmuswitch()
there was a small window between modifying mmutop and switching the
asid where the core could bring in the new entries under the old asid
into the tlb due to speculation / prefetching.

this change moves the entering of the page tables into mmutop after
setttbr() to prevent this scenario.

due to us switching to the resereved asid 0 on procsave()->putasid(),
the only asid that could have potentially been poisoned would be asid 0
which does not have any user mappings. so this did not show any noticable
effect.
2019-09-14 14:02:34 +02:00
..
doc
games/lib fortunes: Open source may not be safe if it has no super excellent moderator. 2019-03-17 23:13:27 -04:00
include Add toascii() to ape 2019-09-09 16:00:06 +01:00
lib acid/kernel: for stacktraces, try to use context from error stack when process is not sleeping 2019-09-12 15:28:04 +02:00
man sys/src/libventi: implement vtreconn and vtredial functions 2019-09-06 11:54:44 -07:00
src bcm64: enter page tables in mmutop *AFTER* switching asid in mmuswitch() 2019-09-14 14:02:34 +02:00