powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
authorMichael Neuling <mikey@neuling.org>
Mon, 10 May 2010 20:28:26 +0000 (20:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 May 2010 07:31:10 +0000 (17:31 +1000)
commitf90ece28c1f5b3ec13fe481406857fe92f4bc7d1
treecd79abe5db649fd40be88066cb16a5192a676096
parent095c7965f4dc870ed2b65143b1e2610de653416c
powerpc/pseries: Add hcall to read 4 ptes at a time in real mode

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>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/plpar_wrappers.h