diff options
author | Raja Das <rajadas2@in.ibm.com> | 2018-10-25 11:26:25 +0530 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-21 13:11:36 -0500 |
commit | b8f4e5009a347a0201fbe09b3701ceeb6edd9bf2 (patch) | |
tree | 943d5166fc775006987ecf7a6c57b5f91dbc0bc7 /src/usr/hdat | |
parent | d09e67a0a55418f2878d016f372bc751b549d535 (diff) | |
download | talos-hostboot-b8f4e5009a347a0201fbe09b3701ceeb6edd9bf2.tar.gz talos-hostboot-b8f4e5009a347a0201fbe09b3701ceeb6edd9bf2.zip |
OPAL/MPIPL: Processor Dump Area Table interfaces
This patch adds support to collect processor architected register data.
SBE <--> Hostboot :
-------------------
During first boot, hostboot reserves memory to copy architected register
data by SBE and sends address to each SBE (see commit 9f49d11b). During
MPIPL SBE collects architected register data and copies to reserved
memory.
Hostboot <--> Hypervisor :
--------------------------
HDAT/SPIRAH has new ntuple (Processor Dump Area) to pass various
architected register data. During IPL/runtime hypervisor reserves memory
for architected register data and updates SPIRAH.
During MPIPL (istep 14.8), hostboot converts SBE formated architected
registers data to HDAT format and copies to hypervisor reserved memory.
It uses NACA/SPIRAH pointers to get hypervisor reserved memory details.
Hostboot has to update SPIRAH ntuple after loading new LID to memory.
Hence this patch introdues below new attributes:
- PDA_CAPTURED_THREAD_REG_ARRAY_ADDR
- PDA_CAPTURED_THREAD_REG_ARRAY_SIZE
- PDA_THREAD_REG_ENTRY_SIZE
- PDA_THREAD_REG_STATE_ENTRY_FORMAT
Change-Id: Idc7489e8cf6fc68fe80f028ba6deb97aa72486bf
CC: Sampa Misra <sampmisr@in.ibm.com>
CC: Daniel M. Crowell <dcrowell@us.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61627
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hdat')
-rwxr-xr-x | src/usr/hdat/hdatspiraH.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/hdat/hdatspiraH.H b/src/usr/hdat/hdatspiraH.H index c0d336794..23fd7fda4 100755 --- a/src/usr/hdat/hdatspiraH.H +++ b/src/usr/hdat/hdatspiraH.H @@ -74,8 +74,9 @@ enum hdatSpiraHDataAreas HDAT_SEC_MS_DUMP_SRC_TBL = 3, // mainstore dump source table (can change at run time) HDAT_SEC_MS_DUMP_DST_TBL = 4, // mainstore dump destination table (can change at run time) HDAT_SEC_MS_DUMP_RSLT_TBL = 5, // mainstore dump results table + HDAT_SEC_PROC_DUMP_TBL = 6, // Processor dump area table - HDAT_SPIRAH_DA_LAST = 6 + HDAT_SPIRAH_DA_LAST = 7 }; /*-----------------------------------------------------------------------------*/ |