plan9fox/sys/src/9
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
..
bcm kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
bcm64 bcm64: enter page tables in mmutop *AFTER* switching asid in mmuswitch() 2019-09-14 14:02:34 +02:00
boot bootrc: fix $rootdir and $rootspec handling (thanks lucio) 2019-05-05 17:02:37 +02:00
ip devip: if the server does not support TCP ws option, disable window scaling (thanks joe9) 2019-05-22 22:20:31 +02:00
kw kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
mtx kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
omap kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
pc sdide: silence compiler warning in atadebug() 2019-09-09 16:56:01 +02:00
pc64 kernel: clear FPillegal in pexit() and before pprint() 2019-09-08 19:02:01 +02:00
port usbehci: silence "param declared but not used" compiler warning in itdinit()/sitdinit() 2019-09-09 16:58:45 +02:00
ppc kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
sgi kernel: catch execution read fault on SG_NOEXEC segment (for mips) 2019-08-27 03:48:51 +02:00
teg2 kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
xen kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
zynq kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
mkfile remove unmaintained omap4 (pandaboard) kernel 2016-05-05 16:35:25 +02:00