From 8e4ae1fa8e7378af70d0927068b5d27d3f3c8c68 Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Wed, 22 Jan 2014 14:46:04 -0600 Subject: 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 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/mbox/ipcSp.C | 9 +++++++++ src/usr/mbox/mailboxsp.C | 1 + 2 files changed, 10 insertions(+) (limited to 'src/usr/mbox') 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 #include #include +#include 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, -- cgit v1.2.1