Skip to content

Commit

Permalink
PRD: Ignore mainline IUE if on at same time as mainline UE
Browse files Browse the repository at this point in the history
Change-Id: Iaa4f687b3411f3124c12972a7dcec3582c004992
CQ: SW489590
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/94980
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com>
Reviewed-by: Brian J Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/95366
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Apr 21, 2020
1 parent 11793f8 commit 7bf1bbf
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2018,2019
# Contributors Listed Below - COPYRIGHT 2018,2020
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -326,6 +326,7 @@ actionclass mainline_ue_handling_UERE
{
SueSource;
mainline_ue_handling;
funccall("ClearMainlineIue");
};

/** Handle Mainline IUEs */
Expand Down
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2019 */
/* Contributors Listed Below - COPYRIGHT 2019,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -259,6 +259,35 @@ int32_t CalloutAttachedDimmsHigh( ExtensibleChip * i_chip,
}
PRDF_PLUGIN_DEFINE( explorer_ocmb, CalloutAttachedDimmsHigh );

/**
* @brief Plugin to clear the side-effect mainline IUEs (RDFFIR[17]) when
* we get a mainline UE (RDFFIR[14])
* @param i_chip An OCMB chip.
* @param io_sc The step code data struct.
* @return SUCCESS
*/
int32_t ClearMainlineIue( ExtensibleChip * i_chip,
STEP_CODE_DATA_STRUCT & io_sc )
{
#define PRDF_FUNC "[explorer_ocmb::ClearMainlineIue] "

SCAN_COMM_REGISTER_CLASS * rdffir_and = i_chip->getRegister( "RDFFIR_AND" );

rdffir_and->setAllBits();
rdffir_and->ClearBit(17);

if ( SUCCESS != rdffir_and->Write() )
{
PRDF_ERR( PRDF_FUNC "Write() failed on RDFFFIR_AND. i_chip huid=0x%08x",
i_chip->getHuid() );
}

return SUCCESS;

#undef PRDF_FUNC
}
PRDF_PLUGIN_DEFINE( explorer_ocmb, ClearMainlineIue );

//------------------------------------------------------------------------------

/**
Expand Down

0 comments on commit 7bf1bbf

Please sign in to comment.