powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
commit2059788cc18e6e2ed634de4fed649a3ea31323ed
authorMichael Neuling <mikey@neuling.org>
Mon, 10 May 2010 20:28:26 +0000 (10 20:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 21:29:56 +0000 (14 14:29 -0700)
tree822f1d94d10f67bf6d873e570692e74d0509dc22
parent17b08650ffabf7d025ceb608748dc12d4dc2928d
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