aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-02-08 18:34:16 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-07 15:40:20 +1100
commit139e32d139103fc7fcb2121146c89edb9f40c55f (patch)
tree81488319384125d77350c3eb4c2237132977e0ab /include
parent28e96ffaba8b659f48312bdcea35a1403310fba3 (diff)
downloadskiboot-139e32d139103fc7fcb2121146c89edb9f40c55f.zip
skiboot-139e32d139103fc7fcb2121146c89edb9f40c55f.tar.gz
skiboot-139e32d139103fc7fcb2121146c89edb9f40c55f.tar.bz2
System reset IPI facility and Mambo implementation
Add an opal call OPAL_SIGNAL_SYSTEM_RESET which allows system reset exceptions to be raised on other CPUs and act as an NMI IPI. There is an initial simple Mambo implementation, but allowances are made for a more complex hardware implementation. This API is based on the POWER8 implementation from Alistair Popple. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [stewart@linux.vnet.ibm.com: minor RST fix] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal-api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index 96e86e2..b814060 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -200,7 +200,8 @@
#define OPAL_XIVE_DUMP 142
#define OPAL_XIVE_RESERVED3 143
#define OPAL_XIVE_RESERVED4 144
-#define OPAL_LAST 144
+#define OPAL_SIGNAL_SYSTEM_RESET 145
+#define OPAL_LAST 145
/* Device tree flags */