diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2019-09-24 13:34:16 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2020-01-10 12:18:01 -0600 |
commit | 45cb275198bbb6bd2bbd25ec9eaa4a40dbdfeb86 (patch) | |
tree | e61cf0b309169c985c8c7d9b4159e90d251cee85 /src/usr/isteps/nvdimm/nvdimm.H | |
parent | 2a1b24bafdff08c976156fd81f9595536ae3b3e6 (diff) | |
download | talos-hostboot-45cb275198bbb6bd2bbd25ec9eaa4a40dbdfeb86.tar.gz talos-hostboot-45cb275198bbb6bd2bbd25ec9eaa4a40dbdfeb86.zip |
NVDIMM: Mask mbacalfir at the beginning of restore step during mpipl
Mask MBACALFIR[8]: EVENT_N: MBACALFIR_MASK_OR = 0x0080000000000000
at the beginning of nvdimm_restore() to avoid PRD errors.
This mask is normal for non-mpipl path, so just needed for mpipl.
CQ: SW477028
Change-Id: I3368b89af67f58edecb42dd0a99ca7799679e84d
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84190
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: TSUNG K YEUNG <tyeung@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: Corey V Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/nvdimm/nvdimm.H')
-rw-r--r-- | src/usr/isteps/nvdimm/nvdimm.H | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/isteps/nvdimm/nvdimm.H b/src/usr/isteps/nvdimm/nvdimm.H index 683763087..1e4e1596c 100644 --- a/src/usr/isteps/nvdimm/nvdimm.H +++ b/src/usr/isteps/nvdimm/nvdimm.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2019 */ +/* Contributors Listed Below - COPYRIGHT 2014,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -513,6 +513,14 @@ enum mbacal_bitmask_values : uint64_t MBACALFIR_UNMASK_BIT = 0xff7fffffffffffff, }; + +/** + * @brief Mask MCBACALFIR Event N to prevent PRD from handling event + * + * @param[in] - i_nvdimm - nvdimm target for operation on its parent MCA + */ +void maskMbacalfir_eventn(TARGETING::Target* i_nvdimm); + /** * @brief Wrapper to call deviceOp to read the NV controller via I2C * |