linux/arch/powerpc
Scott Wood 47ce8af420 powerpc: add barrier after writing kernel PTE
There is no barrier between something like ioremap() writing to
a PTE, and returning the value to a caller that may then store the
pointer in a place that is visible to other CPUs.  Such callers
generally don't perform barriers of their own.

Even if callers of ioremap() and similar things did use barriers,
the most logical choise would be smp_wmb(), which is not
architecturally sufficient when BookE hardware tablewalk is used.  A
full sync is specified by the architecture.

For userspace mappings, OTOH, we generally already have an lwsync due
to locking, and if we occasionally take a spurious fault due to not
having a full sync with hardware tablewalk, it will not be fatal
because we will retry rather than oops.

Signed-off-by: Scott Wood <scottwood@freescale.com>
2014-01-09 17:52:19 -06:00
..
boot powerpc/p1022ds: add a interrupt for rtc node 2014-01-09 17:52:13 -06:00
configs powerpc 8xx: defconfig: slice by 4 is more efficient than the default slice by 8 on Powerpc 8xx. 2014-01-07 19:11:20 -06:00
crypto
include powerpc: introduce macro LOAD_REG_ADDR_PIC 2014-01-09 17:52:15 -06:00
kernel powerpc/fsl_booke: smp support for booting a relocatable kernel above 64M 2014-01-09 17:52:18 -06:00
kvm powerpc/booke64: Add LRAT error exception handler 2014-01-07 18:15:29 -06:00
lib Merge branch 'merge' into next 2013-12-30 15:19:31 +11:00
math-emu powerpc: fix e500 SPE float SIGFPE generation 2014-01-07 18:43:42 -06:00
mm powerpc: add barrier after writing kernel PTE 2014-01-09 17:52:19 -06:00
net
oprofile
perf
platforms powerpc/85xx: Add TWR-P1025 board support 2014-01-07 19:09:29 -06:00
sysdev powerpc/mpic_timer: fix convert ticks to time subtraction overflow 2014-01-09 17:52:14 -06:00
xmon powerpc/book3s: Introduce exclusive emergency stack for machine check exception. 2013-12-05 16:02:05 +11:00
Kconfig powerpc/fsl_booke: enable the relocatable for the kdump kernel 2014-01-09 17:52:18 -06:00
Kconfig.debug
Makefile powerpc: Fix error when cross building TAGS & cscope 2013-11-25 11:49:11 +11:00
relocs_check.pl