From 70e665f85f3e3ec8b118310884640a44ce83b7f2 Mon Sep 17 00:00:00 2001 From: crgeddes Date: Thu, 23 Jul 2015 09:03:42 -0500 Subject: 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 Reviewed-by: A. Patrick Williams III --- src/usr/fsiscom/fsiscom.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/usr/fsiscom') 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, -- cgit v1.2.1