diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2014-01-22 14:46:04 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-03-02 13:21:47 -0600 |
commit | 8e4ae1fa8e7378af70d0927068b5d27d3f3c8c68 (patch) | |
tree | 1a5c793c7951734662a15c1a71e4c0606e4a5295 /src/usr/mbox | |
parent | ef737aaa136524bcc9fc9145a294bdea50d56fce (diff) | |
download | blackbird-hostboot-8e4ae1fa8e7378af70d0927068b5d27d3f3c8c68.tar.gz blackbird-hostboot-8e4ae1fa8e7378af70d0927068b5d27d3f3c8c68.zip |
Handle pending interrupts across nodes in mpipl
RTC: 80988
Change-Id: I7ef9feaa3d163d6956576f30538e2fe001e892a1
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8441
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/mbox')
-rw-r--r-- | src/usr/mbox/ipcSp.C | 9 | ||||
-rw-r--r-- | src/usr/mbox/mailboxsp.C | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/mbox/ipcSp.C b/src/usr/mbox/ipcSp.C index ac45be232..db4dc9b42 100644 --- a/src/usr/mbox/ipcSp.C +++ b/src/usr/mbox/ipcSp.C @@ -28,6 +28,7 @@ #include <mbox/mboxif.H> #include <errl/errlmanager.H> #include <mbox/mbox_reasoncodes.H> +#include <intr/interrupt.H> namespace START_PAYLOAD { @@ -142,9 +143,17 @@ void IpcSp::msgHandler() "IPC received the test connection msg - %d:%d", msg->data[0], msg->data[1] ); + // Tell this HB node about the other HB node + err = INTR::addHbNode(msg->data[1]); + if( err) + { + errlCommit(err,IPC_COMP_ID); + } + //Send a response to indicate the connection has been //established err = MBOX::send(MBOX::HB_COALESCE_MSGQ, msg, msg->data[1] ); + if (err) { errlCommit(err,IPC_COMP_ID); diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index 59b5dff04..28b6f4346 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -1665,6 +1665,7 @@ errlHndl_t MBOX::send(queue_id_t i_q_id, msg_t * i_msg,int i_node) { uint64_t q_handle = i_q_id; q_handle |= (((uint64_t)MSGQ_TYPE_IPC | (uint64_t)i_node) << 32); + TRACFCOMP(g_trac_mboxmsg,INFO_MRK "MBOXSP IPC SEND MSG: Dest node %d. msg_id: %lx", i_node, |