summaryrefslogtreecommitdiffstats
path: root/src/usr/mbox
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2014-02-20 12:37:34 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-02-27 12:31:29 -0600
commitd5505b55b4fc85d35b7c1f16d6811601295d4796 (patch)
tree5b8c4a2fda025218a0f6261212dbc2d680c9fcd8 /src/usr/mbox
parent490b05ed93567d09c3ba820628465157406b2892 (diff)
downloadtalos-hostboot-d5505b55b4fc85d35b7c1f16d6811601295d4796.tar.gz
talos-hostboot-d5505b55b4fc85d35b7c1f16d6811601295d4796.zip
Do not send zero length VDDR message to HWSV
Change-Id: I48bc00a165e1dc8021c8bc2150a7e42107699660 CQ: SW245217 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9055 Tested-by: Jenkins Server Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/mbox')
-rw-r--r--src/usr/mbox/mailboxsp.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C
index 3fbdf1ae1..59b5dff04 100644
--- a/src/usr/mbox/mailboxsp.C
+++ b/src/usr/mbox/mailboxsp.C
@@ -564,6 +564,7 @@ void MailboxSp::send_msg(mbox_msg_t * i_msg)
reinterpret_cast<void*>(iv_dmaBuffer.toPhysAddr(dma_buffer));
free(payload->extra_data);
+ payload->extra_data = NULL;
}
else // DMA buffer request from FSP
{
@@ -621,7 +622,7 @@ void MailboxSp::send_msg(mbox_msg_t * i_msg)
ERRORLOG::ERRL_SEV_INFORMATIONAL,
MBOX::MOD_MBOXSRV_SENDMSG,
MBOX::RC_INVALID_DMA_LENGTH, // reason Code
- payload->data[1], // DMA data len
+ dma_size, // DMA data len
iv_msg_to_send.msg_queue_id, // MSG queueid
true //Add HB Software Callout
);
OpenPOWER on IntegriCloud