Skip to content

Commit

Permalink
Fix to not send a NVDIMM protection state change to OPAL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
velozr authored and dcrowell77 committed Aug 9, 2019
1 parent 52ccb29 commit 86e12de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/usr/isteps/nvdimm/nvdimm.C
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 86e12de

Please sign in to comment.