freebsd-skq/sys/arm
Konstantin Belousov 8954a9a4e6 Add the atomic_thread_fence() family of functions with intent to
provide a semantic defined by the C11 fences with corresponding
memory_order.

atomic_thread_fence_acq() gives r | r, w, where r and w are read and
write accesses, and | denotes the fence itself.

atomic_thread_fence_rel() is r, w | w.

atomic_thread_fence_acq_rel() is the combination of the acquire and
release in single operation.  Note that reads after the acq+rel fence
could be made visible before writes preceeding the fence.

atomic_thread_fence_seq_cst() orders all accesses before/after the
fence, and the fence itself is globally ordered against other
sequentially consistent atomic operations.

Reviewed by:	alc
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
2015-07-08 18:12:24 +00:00
..
allwinner Add the routines to activate the GMAC clock and setup the GMAC mode. 2015-07-03 18:39:25 +00:00
altera/socfpga Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
amlogic/aml8726 CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
annapurna/alpine More tr -d '\r' t make config happy and 2015-05-16 20:04:49 +00:00
arm pc_curpmap is only in the armv6 pcpu data. 2015-06-26 09:02:40 +00:00
at91 Need to handle the !FDT case still too... I thought in r270025 we 2015-05-22 05:02:53 +00:00
broadcom/bcm2835 Add a missing wakeup when releasing ownership of the SPI hardware. 2015-06-02 16:07:28 +00:00
cavium/cns11xx Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
conf Enable ipsec by default on all armv6 platforms. 2015-07-05 14:16:31 +00:00
freescale Include a header required for vtophys(). 2015-06-06 14:26:40 +00:00
include Add the atomic_thread_fence() family of functions with intent to 2015-07-08 18:12:24 +00:00
lpc Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
mv Include vm/pmap.h for pmap_kextract. 2015-04-04 23:03:11 +00:00
qemu Enable SMP on the qemu virt platform. We use the device tree to find which 2015-05-24 12:33:12 +00:00
rockchip Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
samsung Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
ti Add missing driver for TDA19988 HDMI framer 2015-06-18 16:51:49 +00:00
versatile Include vm/pmap.h for pmap_kextract. 2015-04-04 23:03:11 +00:00
xilinx Use the new gic option on all configs that need it. 2015-05-10 12:13:27 +00:00
xscale Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00