diff options
author | Roland Veloz <rveloz@us.ibm.com> | 2019-08-08 12:52:00 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-09 11:14:54 -0500 |
commit | 86e12de69124ebc932e985fcaca732effa58350f (patch) | |
tree | 4731c384aa1263a2dc9a0727740d49cda4739ede /src | |
parent | 52ccb29ce55fadcc9801ffdbda0d8b7a9184fe40 (diff) | |
download | talos-hostboot-86e12de69124ebc932e985fcaca732effa58350f.tar.gz talos-hostboot-86e12de69124ebc932e985fcaca732effa58350f.zip |
Fix to not send a NVDIMM protection state change to OPAL
There is a firmware request call, within the notifyNvdimmProtectionChange
method, that needs to be guarded such that the message is NOT
sent to OPAL.
A guard has been placed in the call so the notification is only
sent to PHYP and not OPAL.
Change-Id: Ib17dd8f3bb20d4d40bf163760da4b4b3c835ff70
CQ:SW471511
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81976
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/isteps/nvdimm/nvdimm.C | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/isteps/nvdimm/nvdimm.C b/src/usr/isteps/nvdimm/nvdimm.C index 8fe7785a6..852a65a88 100644 --- a/src/usr/isteps/nvdimm/nvdimm.C +++ b/src/usr/isteps/nvdimm/nvdimm.C @@ -3112,6 +3112,12 @@ errlHndl_t notifyNvdimmProtectionChange(Target* i_target, #ifdef __HOSTBOOT_RUNTIME + // Don't send message to OPAL + if (TARGETING::is_sapphire_load()) + { + break; + } + // Send combined status to phyp // Get the Proc Chip Id RT_TARG::rtChipId_t l_chipId = 0; @@ -3187,7 +3193,6 @@ errlHndl_t notifyNvdimmProtectionChange(Target* i_target, &l_req_fw_msg, &l_resp_fw_msg_size, &l_resp_fw_msg); - #endif } while (0); |