]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:58 +0000 (12:46 -0400)
commitf30fad797f0b1eb8d1979e2fee7892fb01fca0f9
tree5b5892167656f18b03c65e8498350d45325984b1
parente99b1a9c4cac54d0ea635e4e745cfb9d871419ed
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: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/plpar_wrappers.h