aboutsummaryrefslogtreecommitdiff
path: root/core/exceptions.c
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2014-07-25 00:11:50 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:52 +1000
commit91f1712faaa1b8774bb2198e580d1d210ae473cb (patch)
tree9e3f70291f12828d16d76e6de2451f8885c8e438 /core/exceptions.c
parente02dd7f7d86f54273a512a4546c716ce659a38c8 (diff)
downloadskiboot-91f1712faaa1b8774bb2198e580d1d210ae473cb.zip
skiboot-91f1712faaa1b8774bb2198e580d1d210ae473cb.tar.gz
skiboot-91f1712faaa1b8774bb2198e580d1d210ae473cb.tar.bz2
opal: Add opal call to handle HMI.
With new proposed change, Linux will get the HMI interrupt directly. Linux will then invoke opal_handle_hmi to handle HMI recovery in opal. After handling HMI errors, opal will generate an OPAL HMI event and queue it up in opal message infrastructure so that Linux host can pull the event and act upon it accordingly. This patch also adds new message type for HMI event. Changes in v2: - Removed the token argument from opal_handle_hmi() Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'core/exceptions.c')
-rw-r--r--core/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/exceptions.c b/core/exceptions.c
index 2b2aa6c..6e0d27f 100644
--- a/core/exceptions.c
+++ b/core/exceptions.c
@@ -366,7 +366,7 @@ void handle_hmi(struct stack_frame *stack)
int recover;
orig_hmer = mfspr(SPR_HMER);
- recover = handle_hmi_exception(orig_hmer);
+ recover = handle_hmi_exception(orig_hmer, NULL);
if (recover)
return;