summaryrefslogtreecommitdiffstats
path: root/sys/dev/pv/xen.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2017-03-12 21:05:25 +0000
committerkettenis <kettenis@openbsd.org>2017-03-12 21:05:25 +0000
commit1155022125311d0d60a6880adf895511cba73ef3 (patch)
treecbecfe61382274c88bfa258af8891ba18ff99fbf /sys/dev/pv/xen.c
parentBring SROP mitigation to arm64. Make some small modifications to the arm (diff)
downloadwireguard-openbsd-1155022125311d0d60a6880adf895511cba73ef3.tar.xz
wireguard-openbsd-1155022125311d0d60a6880adf895511cba73ef3.zip
Add a "dsm ishst" barrier before TLB maintenance instructions. The ARMv8
architecture reference manual says this is required (D4.7 under "Ordering and completion of TLB maintenance instructions" to guarantee that the translation table walk can observe previous store to the page tables. It also has a note that says In all cases in this section, where a DMB or DSB is referred to, it refers to a DMB or DSB whose required access type is both loads and stores. But both Linux and FreeBSD use a Store-Store barrier here. Sadly this doesn't fix the arm64 stability problems (or at least not all of them). ok patrick@
Diffstat (limited to 'sys/dev/pv/xen.c')
0 files changed, 0 insertions, 0 deletions