aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.h
diff options
context:
space:
mode:
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>2018-01-04 16:58:03 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-14 21:05:51 -0600
commita523298bc1e34466bfc4477e4d9aa4352703298a (patch)
tree35f813d5ebb4f099f99e62959c5edc1ea78b943d /include/skiboot.h
parent35c66b8ce5a27ad3312806e8bde9148a5e5b5df8 (diff)
downloadskiboot-a523298bc1e34466bfc4477e4d9aa4352703298a.zip
skiboot-a523298bc1e34466bfc4477e4d9aa4352703298a.tar.gz
skiboot-a523298bc1e34466bfc4477e4d9aa4352703298a.tar.bz2
SLW: Detect if deep states are enabled
Patch adds a global variable which indicates if the deep states are enabled through stop-enabled-bits. Only applies to POWER9. Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r--include/skiboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index 689bbb1..a81198c 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -309,6 +309,7 @@ enum wakeup_engine_states {
WAKEUP_ENGINE_FAILED
};
extern enum wakeup_engine_states wakeup_engine_state;
+extern bool has_deep_states;
/* SLW reinit function for switching core settings */
extern int64_t slw_reinit(uint64_t flags);