Skip to content

Commit

Permalink
OCC assisted PGPE, SGPE Error Logging
Browse files Browse the repository at this point in the history
Support basic infrastructure to
- create an error log
- add trace to the error log
- add any user data section to the error log
- add callouts to the error log
- commit the error log
- fix size issues and alignment exceptions
- Fixes .. trace buffer parsing, repetitive xgpe logs, added PVR & PIR to log
- Fixed severity, removed demo trigger code files

RTC: 198654
Change-Id: Ie9842d2631863132ee456d421f0974cf9ade76ce
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75078
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Gregory S Still <stillgs@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
  • Loading branch information
am10dolkar authored and sumitk56 committed Aug 12, 2019
1 parent cfaad69 commit be8d21b
Show file tree
Hide file tree
Showing 11 changed files with 1,107 additions and 5 deletions.
5 changes: 4 additions & 1 deletion import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_occ_sram.H
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
/* COPYRIGHT 2015,2018 */
/* COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -76,6 +76,7 @@ HCD_CONST(OCC_SRAM_OCC_REGION_SIZE, (512 * ONE_KB))
HCD_CONST(OCC_SRAM_BEFORE_PGPE_REGION_SIZE_TOTAL,
(OCC_SRAM_IPC_REGION_SIZE + OCC_SRAM_GPE0_REGION_SIZE + OCC_SRAM_GPE1_REGION_SIZE))


//--------------------------------------------------------------------------------------

/// PGPE Base
Expand Down Expand Up @@ -192,5 +193,7 @@ HCD_CONST( OCC_SRAM_PGPE_TRACE_START,
(OCC_SRAM_PGPE_HEADER_ADDR + PGPE_HEADER_SIZE));


HCD_CONST(OCC_SRAM_SHARED_DATA_BASE_ADDR,
(OCC_SRAM_PGPE_BASE_ADDR + OCC_SRAM_PGPE_REGION_SIZE - PGPE_OCC_SHARED_SRAM_SIZE))

#endif /* __P9_HCD_MEMMAP_OCC_SRAM_H__ */
3 changes: 2 additions & 1 deletion import/chips/p9/procedures/ppe_closed/lib/hcodelibfiles.mk
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HCODE Project
#
# COPYRIGHT 2015,2018
# COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -43,6 +43,7 @@

HCODE_C_SOURCES = \
p9_stop_recovery_trigger.c \
p9_hcd_errl.c \
p9_hcd_block_copy.c \
p9_dd1_doorbell_wr.c

Expand Down

0 comments on commit be8d21b

Please sign in to comment.