aboutsummaryrefslogtreecommitdiff
path: root/include/opal.h
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2014-07-29 10:53:30 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-30 10:56:17 +1000
commitd5aed5be5a63f991b80458b3a8eedaa26e203639 (patch)
treed8a0629f9e3419478acbcb204fe2a49bce96221f /include/opal.h
parenta02875504d6c182ec27fd29638f0451bfa13b969 (diff)
downloadskiboot-d5aed5be5a63f991b80458b3a8eedaa26e203639.zip
skiboot-d5aed5be5a63f991b80458b3a8eedaa26e203639.tar.gz
skiboot-d5aed5be5a63f991b80458b3a8eedaa26e203639.tar.bz2
sleep: Add workarounds for fast sleep
Add OPAL calls to setup xscom before and after sleep V1:https://w3-01.ibm.com/stg/linux/ltc/mailinglists/pipermail/sapphire/2014-July/003170.html Changes in V2: 1.Store L2 Fir Action register contents in primary thread's pointer 2.Enable secondary threads also to call opal, now that the synchronization across threads of a core will be taken care of by the kernel. We can hence safely call fastsleep in smt on mode. Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h
index c8a3b5f..fe7d14e 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -134,7 +134,8 @@
#define OPAL_PCI_ERR_INJCT 96
#define OPAL_PCI_EEH_FREEZE_SET 97
#define OPAL_HANDLE_HMI 98
-#define OPAL_LAST 98
+#define OPAL_CONFIG_CPU_IDLE_STATE 99
+#define OPAL_LAST 99
#ifndef __ASSEMBLY__