diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-12-11 09:49:20 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-12-14 15:15:28 -0500 |
commit | 56a7903c3dff195f79b5d97e95c67b11c43ac1e1 (patch) | |
tree | 1ea2aaacf73231c93ac35383f047c4575f828f58 /src/usr/vpd/runtime | |
parent | 993eec11fc9f67eb6b75ca1ed876eea03d031d61 (diff) | |
download | talos-hostboot-56a7903c3dff195f79b5d97e95c67b11c43ac1e1.tar.gz talos-hostboot-56a7903c3dff195f79b5d97e95c67b11c43ac1e1.zip |
Allow VPD writes to memory cache at runtime
Restore ability to update the live in-memory cache of the VPD
at runtime on FSP-based systems.
Change-Id: Ib232dc0b479ce3c1ad5703c8c0016ef1f54ac0cd
CQ: SW410606
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50765
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/vpd/runtime')
-rw-r--r-- | src/usr/vpd/runtime/rt_vpd.C | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/src/usr/vpd/runtime/rt_vpd.C b/src/usr/vpd/runtime/rt_vpd.C index f5d8b79e4..5c923370d 100644 --- a/src/usr/vpd/runtime/rt_vpd.C +++ b/src/usr/vpd/runtime/rt_vpd.C @@ -271,33 +271,6 @@ errlHndl_t writePNOR ( uint64_t i_byteAddr, do { - if(INITSERVICE::spBaseServicesEnabled()) - { - TRACFCOMP(g_trac_vpd,ERR_MRK"rt_vpd:writePNOR not supported with FSP"); - - /*@ - * @errortype - * @reasoncode VPD::VPD_RT_WRITE_NOT_SUPPORTED - * @severity ERRORLOG::ERRL_SEV_UNRECOVERABLE - * @moduleid VPD::VPD_RT_WRITE_PNOR - * @userdata1 Target - * @userdata2 0 - * @devdesc MBOX send not supported in HBRT - */ - err = new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_UNRECOVERABLE, - VPD::VPD_RT_WRITE_PNOR, - VPD::VPD_RT_WRITE_NOT_SUPPORTED, - TARGETING::get_huid(i_target), - 0); - - err->addProcedureCallout(HWAS::EPUB_PRC_HB_CODE, - HWAS::SRCI_PRIORITY_HIGH); - - err->collectTrace( "VPD", 256); - - break; - } - //---------------------------- // Write memory version of VPD //---------------------------- @@ -338,6 +311,11 @@ errlHndl_t writePNOR ( uint64_t i_byteAddr, //-------------------------------- // Write PNOR cache version of VPD //-------------------------------- + if(INITSERVICE::spBaseServicesEnabled()) + { + TRACFCOMP(g_trac_vpd,ERR_MRK"rt_vpd:writePNOR not supported with FSP, skipping"); + break; + } // Check if the VPD PNOR cache is loaded for this target TARGETING::ATTR_VPD_SWITCHES_type vpdSwitches = |