linux/arch/powerpc
Laurent Dufour 71708851d3 powerpc/xmon: Fix another endiannes issue in RTAS call from xmon
commit e6eb2eba49 upstream.

The commit 3b8a3c0109 ("powerpc/pseries: Fix endiannes issue in RTAS
call from xmon") was fixing an endianness issue in the call made from
xmon to RTAS.

However, as Michael Ellerman noticed, this fix was not complete, the
token value was not byte swapped. This lead to call an unexpected and
most of the time unexisting RTAS function, which is silently ignored by
RTAS.

This fix addresses this hole.

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-02-05 22:36:03 -08:00
..
boot Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-10-11 20:34:00 -04:00
configs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-10-21 07:48:56 -07:00
crypto crypto: add missing crypto module aliases 2015-01-29 17:40:46 -08:00
include powerpc: add little endian flag to syscall_get_arch() 2015-01-16 06:59:46 -08:00
kernel powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode 2015-01-16 06:59:46 -08:00
kvm Fixes and features for 3.18. 2014-10-08 05:27:39 -04:00
lib powerpc: Implement emulation of string loads and stores 2014-09-25 23:14:52 +10:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
net net: bpf: be friendly to kmemcheck 2014-09-09 16:58:56 -07:00
oprofile powerpc: Ensure global functions include their prototype 2014-09-25 23:14:42 +10:00
perf powerpc/perf/hv-24x7: Use per-cpu page buffer 2015-01-16 06:59:46 -08:00
platforms powernv: Fix OPAL tracepoint code 2015-01-27 08:29:40 -08:00
sysdev powerpc/fsl_msi: mark the msi cascade handler IRQF_NO_THREAD 2014-11-17 22:00:30 -06:00
xmon powerpc/xmon: Fix another endiannes issue in RTAS call from xmon 2015-02-05 22:36:03 -08:00
Kconfig powerpc/cell: Move spu_handle_mm_fault() out of cell platform 2014-10-08 20:14:54 +11:00
Kconfig.debug Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
Makefile powerpc: Add POWER8 CPU selection 2014-09-25 23:14:49 +10:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00