freebsd-skq/sys
Andrew Turner 4f33c38083 Add missing data barriers after storeing a new valid pagetable entry.
When moving from an invalid to a valid entry we don't need to invalidate
the tlb, however we do need to ensure the store is ordered before later
memory accesses. This is because this later access may be to a virtual
address within the newly mapped region.

Add the needed barriers to places where we don't later invalidate the
tlb. When we do invalidate the tlb there will be a barrier to correctly
order this.

This fixes a panic on boot on ThunderX2 when INVARIANTS is turned off:
panic: vm_fault_hold: fault on nofault entry, addr: 0xffff000040c11000

Reported by:	jchandra
Tested by:	jchandra
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D19097
2019-02-07 20:58:45 +00:00
..
amd64 Retire SPX_HACK option unused after r342244 2019-02-06 17:21:25 +00:00
arm arm, acpi: increase size of memory region arrays 2019-02-05 06:25:35 +00:00
arm64 Add missing data barriers after storeing a new valid pagetable entry. 2019-02-07 20:58:45 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Add quirk for Sansisk X400 drives 2019-02-05 22:53:36 +00:00
cddl s/Maximal/Maximum/ in sysctl description. 2019-02-04 20:09:22 +00:00
compat Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
conf arm64 acpi: Add support for IORT table 2019-02-07 02:30:33 +00:00
contrib Remove two more #ifdefs missed in r343701. 2019-02-04 05:37:16 +00:00
crypto Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev netmap: revert netmap_attach_ext() to pre-r343772 2019-02-07 11:28:53 +00:00
dts Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent with 2019-02-06 06:03:44 +00:00
fs ext2fs: Add some extra consistency checks for the superblock. 2019-01-25 22:22:29 +00:00
gdb
geom geom_uzip(4): set 'gp != NULL' assertion on top of the function 2019-01-26 17:17:25 +00:00
gnu Import DTS from Linux 4.20 2019-01-11 09:40:34 +00:00
i386 Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
isa
kern Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Remove a few stray "All Rights Reserved." declarations on stuff I've 2019-02-05 21:28:29 +00:00
modules arm64: dtb: allwinner: Add the new pine64-lts dtb file to the build 2019-02-07 18:07:17 +00:00
net o As illustrated by e. g. figure 7-14 of the Intel 82599 10 GbE 2019-02-04 20:46:57 +00:00
net80211 net80211(4): validate supplied roam:rate values from ifconfig(8) 2019-02-06 13:01:21 +00:00
netgraph Allow ng_nat to be attached to a ethernet interface directly via ng_ether(4) 2018-12-17 16:00:35 +00:00
netinet Only reduce the PMTU after the send call. The only way to increase it, is 2019-02-05 10:29:31 +00:00
netinet6 New pfil(9) KPI together with newborn pfil API and control utility. 2019-01-31 23:01:03 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Return PFIL_CONSUMED if packet was consumed. While here gather all 2019-02-02 05:49:05 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Plug memory leak for AES_*_NIST_GMAC algorithms. 2018-12-13 08:59:51 +00:00
powerpc [ppc64] fix /dev/kmem 2019-02-07 17:30:44 +00:00
riscv riscv: default to non-executable stack 2019-02-06 19:22:15 +00:00
rpc Add kern.rpc.gss.client_max, to make it possible to bump it easily. 2018-12-15 11:32:11 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
sys Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
teken My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs This bug was introduced with the change to use softdep_bp_to_mp() in 2019-01-28 21:36:45 +00:00
vm Now that there is only one way to allocate a slab, remove uz_slab method. 2019-02-07 03:55:05 +00:00
x86 Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile