aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2014-07-29 11:19:23 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-30 10:56:17 +1000
commit9593215029b4b648b8cd07ae5ad2b71290896ab3 (patch)
treef54cb1b6632723bbcc694c14070f30bd5ddea04c /include
parentae8584729b66181f4fbd18fc394889fa78a01acf (diff)
downloadskiboot-9593215029b4b648b8cd07ae5ad2b71290896ab3.zip
skiboot-9593215029b4b648b8cd07ae5ad2b71290896ab3.tar.gz
skiboot-9593215029b4b648b8cd07ae5ad2b71290896ab3.tar.bz2
slw: patch hsprg0 for wakeup from winkle
Entering winkle results in hypervisor state loss. We can use PORE to restore hypervisor registers. This opal call adds support for that. This patch adds support for restoring HSPRG0. It can be extended to restore other SPRs. Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/opal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h
index fe7d14e..8ef942d 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -135,7 +135,8 @@
#define OPAL_PCI_EEH_FREEZE_SET 97
#define OPAL_HANDLE_HMI 98
#define OPAL_CONFIG_CPU_IDLE_STATE 99
-#define OPAL_LAST 99
+#define OPAL_SLW_SET_REG 100
+#define OPAL_LAST 100
#ifndef __ASSEMBLY__