diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2019-07-17 15:20:07 -0500 |
---|---|---|
committer | Zane C Shelley <zshelle@us.ibm.com> | 2019-07-30 09:22:52 -0500 |
commit | 37af28e0577faecd3c5f2d6b303e842687ea6d39 (patch) | |
tree | 3e09b2659c7af9da7f56369985318f816063710c /src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C | |
parent | ddf90e53a96d0d99974d9520e113cc995738bc0f (diff) | |
download | talos-hostboot-37af28e0577faecd3c5f2d6b303e842687ea6d39.tar.gz talos-hostboot-37af28e0577faecd3c5f2d6b303e842687ea6d39.zip |
PRD: NVDIMM avoid gard for general mem errors only for IPL
Change-Id: Iaa1c8b4e92377f2b6bf854f21ee334e915745ff5
CQ: SW470603
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80608
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J Stegmiller <bjs@us.ibm.com>
Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81062
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C')
-rw-r--r-- | src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C index 054a35a27..0ac004642 100644 --- a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C +++ b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C @@ -1354,19 +1354,21 @@ int32_t dimmList( TargetHandleList & i_dimmList ) PRDF_TRAC( PRDF_FUNC "Predictive dealloc for start addr: 0x%016llx " "end addr: 0x%016llx", ssAddr, seAddr ); + #ifdef CONFIG_NVDIMM // If the DIMM is an NVDIMM, send a message to PHYP that a save/restore // may work. if ( isNVDIMM(*it) ) { - uint32_t l_rc = PlatServices::nvdimmNotifyPhypProtChange( *it, + uint32_t l_rc = PlatServices::nvdimmNotifyProtChange( *it, NVDIMM::NVDIMM_RISKY_HW_ERROR ); if ( SUCCESS != l_rc ) { - PRDF_TRAC( PRDF_FUNC "nvdimmNotifyPhypProtChange(0x%08x) " + PRDF_TRAC( PRDF_FUNC "nvdimmNotifyProtChange(0x%08x) " "failed.", getHuid(*it) ); continue; } } + #endif } return o_rc; |