powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
commit6c7f1a4b53d648f818490155d4ee13e85a9ccd31
authorMichael Neuling <mikey@neuling.org>
Mon, 10 May 2010 20:28:26 +0000 (10 20:28 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:13 +0000 (30 16:53 +0200)
treeef2dfca994cb5b31b8cc13a5305d3de87d5dacbc
parenta5c492695b7967201f0988007e3bd8096b468049
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