summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/firmware.c
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au1.ibm.com>2012-11-06 16:15:17 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 15:08:06 +1100
commitd8f48ecc0e81cbc52a8eac907e02916d98dbfb5a (patch)
treeeb51a7a834fea2dd9e82c701cf686a6d7920b881 /arch/powerpc/platforms/pseries/firmware.c
parentb0302722eec7c086a31de6e3d9789304ef21df7b (diff)
downloadblackbird-op-linux-d8f48ecc0e81cbc52a8eac907e02916d98dbfb5a.tar.gz
blackbird-op-linux-d8f48ecc0e81cbc52a8eac907e02916d98dbfb5a.zip
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/firmware.c')
-rw-r--r--arch/powerpc/platforms/pseries/firmware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c
index 0b0eff0cce35..7b56118f531c 100644
--- a/arch/powerpc/platforms/pseries/firmware.c
+++ b/arch/powerpc/platforms/pseries/firmware.c
@@ -56,6 +56,7 @@ firmware_features_table[FIRMWARE_MAX_FEATURES] = {
{FW_FEATURE_MULTITCE, "hcall-multi-tce"},
{FW_FEATURE_SPLPAR, "hcall-splpar"},
{FW_FEATURE_VPHN, "hcall-vphn"},
+ {FW_FEATURE_SET_MODE, "hcall-set-mode"},
};
/* Build up the firmware features bitmask using the contents of
OpenPOWER on IntegriCloud