powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
commit543366ccb6d8fe2b42e5653c374b1109208b4700
authorMichael Neuling <mikey@neuling.org>
Mon, 10 May 2010 20:28:26 +0000 (10 20:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:32 +0000 (21 12:45 -0700)
tree4cdce6f7a008b0f31fa2a0cdcb7a7b2cd5474f8c
parentc006ef62a4609974e184814c6455cb53603a93ff
powerpc/pseries: Add hcall to read 4 ptes at a time in real mode

commit f90ece28c1f5b3ec13fe481406857fe92f4bc7d1 upstream.

This adds plpar_pte_read_4_raw() which can be used read 4 PTEs from
PHYP at a time, while in real mode.

It also creates a new hcall9 which can be used in real mode.  It's the
same as plpar_hcall9 but minus the tracing hcall statistics which may
require variables outside the RMO.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Kamalesh babulal <kamalesh@linux.vnet.ibm.com>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/plpar_wrappers.h