diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2018-03-22 17:23:18 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-03-29 10:44:08 -0400 |
commit | 95c1dd78c27aca67b4298854306702fe605f906e (patch) | |
tree | c192b7b6885034191af2699072d8d1e5345e8a4c /src/usr/util | |
parent | 42e4c422f63b24bc73d2ce3a0e9b086ccee75aee (diff) | |
download | talos-hostboot-95c1dd78c27aca67b4298854306702fe605f906e.tar.gz talos-hostboot-95c1dd78c27aca67b4298854306702fe605f906e.zip |
Close and Disable TCEs on Non-Master Nodes
During istep21.1 this commit sends a message to all non-Master nodes
to close and disable their TCEs using the ipc mailbox interface to
the FSP.
Change-Id: I5575228c9f237025a48e0aeca23e741724ec7886
RTC:187335
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56269
CI-Ready: Michael Baiocchi <mbaiocch@us.ibm.com>
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: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r-- | src/usr/util/utiltcemgr.C | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/util/utiltcemgr.C b/src/usr/util/utiltcemgr.C index dc8158751..d925c332a 100644 --- a/src/usr/util/utiltcemgr.C +++ b/src/usr/util/utiltcemgr.C @@ -253,7 +253,12 @@ errlHndl_t utilClosePayloadTces(void) // Close the Unsecure Memory Region that was opened for the FSP to run // PSI Diagnostics Test using the PAYLOAD section // -- addr is a constant for PAYLOAD - errl = SBEIO::closeUnsecureMemRegion(MCL_TMP_ADDR, + // -- Address must be HRMOR-specific + uint64_t hrmorVal = cpu_spr_value(CPU_SPR_HRMOR); + uint64_t addr = hrmorVal - VMM_HRMOR_OFFSET + MCL_TMP_ADDR; + TRACUCOMP(g_trac_tce,"utilClosePayloadTces(): addr=0x%.16llX, hrmor=0x%.16llX", addr, hrmorVal); + + errl = SBEIO::closeUnsecureMemRegion(addr, nullptr); //Master Processor if(errl) { |