From 29684ba50d2cfefea4e20ec954d1b64c3b247974 Mon Sep 17 00:00:00 2001 From: crgeddes Date: Fri, 13 Jan 2017 20:42:01 -0600 Subject: Disable bad MCAs based on CRP0:Lx keyword data The CRP0 record has 8 records (L1-L8) that correspond to the 8 ports (MCA targets) for the chip. One of the fields inside the keyword indicates if the port is disabled. This field marks the MCA as non-functional, but the MCA remains present. Change-Id: Iccc943ad477a90a25aeaff67572b66126c759913 RTC:166354 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34885 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: William G. Hoffa Reviewed-by: Dean Sanner Reviewed-by: Christian R. Geddes --- src/include/usr/hwas/common/hwas.H | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/include/usr/hwas/common/hwas.H') diff --git a/src/include/usr/hwas/common/hwas.H b/src/include/usr/hwas/common/hwas.H index 891af5e3d..138a51887 100644 --- a/src/include/usr/hwas/common/hwas.H +++ b/src/include/usr/hwas/common/hwas.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -201,6 +201,15 @@ void setChipletGardsOnProc(TARGETING::Target * i_procTarget); */ void calculateEffectiveEC(); + +/** + * @brief Mark any MCA units that are present but have a disabled port as + * non-functional + * + * @return error log handle + */ +errlHndl_t markDisabledMcas(); + }; // end namespace #endif -- cgit v1.2.1