linux-bl808/arch/powerpc/platforms/powernv
Anton Blanchard bfe5fda8e7 powernv: Fix OPAL tracepoint code
Patch c49f63530b ("powernv: Add OPAL tracepoints") has a spurious
store to the stack:

	ld      r12,opal_tracepoint_refcount@toc(r2);           \
	std     r12,32(r1);                                     \

The store was originally used to save the current tracepoint status
so the entry and the exit tracepoints were always balanced. In the
end I just created a separate path when tracepoints are enabled.

The offset on the stack used for this store is not valid for ABIv2
and it causes strange issues. I noticed it because OPAL console input
was broken.

Fixes: c49f63530b ("powernv: Add OPAL tracepoints")
Cc: <stable@vger.kernel.org> # v3.17+
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-01-12 16:40:02 +11:00
..
eeh-ioda.c
eeh-powernv.c
Kconfig
Makefile
opal-async.c
opal-dump.c
opal-elog.c
opal-flash.c
opal-hmi.c
opal-lpc.c
opal-memory-errors.c
opal-msglog.c
opal-nvram.c
opal-rtc.c
opal-sensor.c
opal-sysparam.c
opal-tracepoints.c
opal-wrappers.S powernv: Fix OPAL tracepoint code 2015-01-12 16:40:02 +11:00
opal-xscom.c
opal.c powerpc/powernv: Expose OPAL firmware symbol map 2014-12-15 13:21:44 +11:00
pci-ioda.c powerpc updates for 3.19 2014-12-11 17:48:14 -08:00
pci-p5ioc2.c
pci.c powerpc updates for 3.19 2014-12-11 17:48:14 -08:00
pci.h
powernv.h powerpc/powernv: Enable Offline CPUs to enter deep idle states 2014-12-15 10:46:40 +11:00
rng.c
setup.c powernv/powerpc: Add winkle support for offline cpus 2014-12-15 10:46:41 +11:00
smp.c powerpc/powernv: Ignore smt-enabled on Power8 and later 2014-12-18 19:59:21 +11:00
subcore-asm.S
subcore.c powernv/powerpc: Add winkle support for offline cpus 2014-12-15 10:46:41 +11:00
subcore.h powernv/powerpc: Add winkle support for offline cpus 2014-12-15 10:46:41 +11:00