linux/arch/powerpc
Greg Kurz 599d287042 powerpc/le: Big endian arguments for ppc_rtas()
The ppc_rtas() syscall allows userspace to interact directly with RTAS.
For the moment, it assumes every thing is big endian and returns either
EINVAL or EFAULT when called in a little endian environment.

As suggested by Benjamin, to avoid bugs when userspace wants to pass
a non 32 bit value to RTAS, it is far better to stick with a simple
rationale: ppc_rtas() should be called with a big endian rtas_args
structure.

With this patch, it is now up to userspace to forge big endian arguments,
as expected by RTAS.

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-03-24 09:48:36 +11:00
..
boot powerpc: Delete old PrPMC 280/2800 support 2014-03-07 15:54:48 +11:00
configs powerpc: Use default set of netfilter modules (CONFIG_NETFILTER_ADVANCED=n) 2014-03-24 09:48:35 +11:00
crypto powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit 2013-03-05 16:56:26 +11:00
include powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info) 2014-03-24 09:48:28 +11:00
kernel powerpc/le: Big endian arguments for ppc_rtas() 2014-03-24 09:48:36 +11:00
kvm Second batch of KVM updates. Some minor x86 fixes, 2014-01-31 08:37:32 -08:00
lib selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
math-emu powerpc: fix e500 SPE float SIGFPE generation 2014-01-07 18:43:42 -06:00
mm powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split 2014-03-24 09:48:34 +11:00
net bpf: do not use reciprocal divide 2014-01-15 17:02:08 -08:00
oprofile powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
perf powerpc/perf: Fix handling of L3 events with bank == 1 2014-03-24 09:48:33 +11:00
platforms powerpc/perf: Add kconfig option for hypervisor provided counters 2014-03-24 09:48:32 +11:00
sysdev powerpc: Fix build failure in sysdev/mpic.c for MPIC_WEIRD=y 2014-02-11 11:24:45 +11:00
xmon powerpc: Fix xmon disassembler for little-endian 2014-03-07 15:50:12 +11:00
Kconfig powerpc: Add "force config cmd line" Kconfig option 2014-03-07 15:54:50 +11:00
Kconfig.debug Merge branch 'kconfig-diet' from Dave Hansen 2013-07-04 11:25:51 -07:00
Makefile powerpc: Fix error when cross building TAGS & cscope 2013-11-25 11:49:11 +11:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00