summaryrefslogtreecommitdiffstats
path: root/src/usr/fsiscom
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2015-07-23 09:03:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-11-05 18:11:36 -0600
commit70e665f85f3e3ec8b118310884640a44ce83b7f2 (patch)
tree5138fe8665440b7c9eca36d409813c9059e2870a /src/usr/fsiscom
parent31c2082f2eba0b49fd877a81ce861a546d7a3e13 (diff)
downloadtalos-hostboot-70e665f85f3e3ec8b118310884640a44ce83b7f2.tar.gz
talos-hostboot-70e665f85f3e3ec8b118310884640a44ce83b7f2.zip
Corrected PIB call out in fsiscom.C
Previously the code in fsiscom.C was grabbing the wrong bits from the status register in order to get the correct pib callout. This has been fixed now. Change-Id: Ifda6303b866c3040bf76562312a90ba48aa652ca RTC: 130912 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19282 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/fsiscom')
-rw-r--r--src/usr/fsiscom/fsiscom.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/fsiscom/fsiscom.C b/src/usr/fsiscom/fsiscom.C
index 728f58b0b..84f740957 100644
--- a/src/usr/fsiscom/fsiscom.C
+++ b/src/usr/fsiscom/fsiscom.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -109,7 +109,10 @@ void pib_error_handler( TARGETING::Target* i_target,
else
{
//Add the callouts for the specific PCB/PIB error
+ //Take bits 17-19 from the 32-bit pib error data
+
uint32_t pib_error = i_status >> 12;
+ pib_error = pib_error & 0x7;
PIB::addFruCallouts( i_target,
pib_error,
i_scomAddr,
OpenPOWER on IntegriCloud