summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/opal.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 07:10:02 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 07:10:02 +0200
commit75b93da43aa1132bf23dafbb4badb028ccf78129 (patch)
treecc3cf2301808302e7951ee6887398ea7d639302a /arch/powerpc/include/asm/opal.h
parentpowerpc: Fix MAX_STACK_TRACE_ENTRIES too low warning again (diff)
downloadlinux-75b93da43aa1132bf23dafbb4badb028ccf78129.tar.xz
linux-75b93da43aa1132bf23dafbb4badb028ccf78129.zip
powerpc/powernv: Detect OPAL v3 API version
Future firmwares will support that new version Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/opal.h')
-rw-r--r--arch/powerpc/include/asm/opal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index b2906adb89d3..cbb9305ab15a 100644
--- a/arch/powerpc/include/asm/opal.h
+++ b/arch/powerpc/include/asm/opal.h
@@ -243,7 +243,8 @@ enum OpalMCE_TlbErrorType {
enum OpalThreadStatus {
OPAL_THREAD_INACTIVE = 0x0,
- OPAL_THREAD_STARTED = 0x1
+ OPAL_THREAD_STARTED = 0x1,
+ OPAL_THREAD_UNAVAILABLE = 0x2 /* opal-v3 */
};
enum OpalPciBusCompare {