]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Add set_mode hcall
authorIan Munsie <imunsie@au1.ibm.com>
Tue, 6 Nov 2012 05:15:17 +0000 (16:15 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 04:08:06 +0000 (15:08 +1100)
commitd8f48ecc0e81cbc52a8eac907e02916d98dbfb5a
treeeb51a7a834fea2dd9e82c701cf686a6d7920b881
parentb0302722eec7c086a31de6e3d9789304ef21df7b
powerpc: Add set_mode hcall

This new hcall in POWER8 is used to set various resource mode registers.
eg. it can set address translation mode on interrupt (note: partition wide
scope)

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/firmware.h
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/firmware.c
arch/powerpc/platforms/pseries/plpar_wrappers.h