diff options
| author | Greg Still <stillgs@us.ibm.com> | 2016-07-22 08:18:25 -0500 |
|---|---|---|
| committer | hostboot <hostboot@us.ibm.com> | 2018-08-22 17:54:09 -0500 |
| commit | b342ec7d38cc030de7658d2b53022c02f03d8153 (patch) | |
| tree | 05926fdf5fe9767cbef1f98a6aa7f929c334c162 | |
| parent | 08ca175ac7d3b344e0fa1d616c1d3a4bd402217d (diff) | |
| download | talos-hcode-b342ec7d38cc030de7658d2b53022c02f03d8153.tar.gz talos-hcode-b342ec7d38cc030de7658d2b53022c02f03d8153.zip | |
SGPE and CME scanning integration
- Enable FAPI2 targets (move to .C)
- Add/enhance hcode_image_build and wrapper tracing for debug
- Fix CME boot to match the layout of CPMR with common scanning
- Add internal target creation to initf for testing
- Update p9_hcode_image_defines with realistic sizes.
- Cleaned up some wrappers for better debug and tracing
- Cleaned up some extraneous defines
- Fixed vector constructor functionality.
- Removed -gc-sections from stop_gpe.mk so that constructor code remained
- Fixed hcode_image_build in its adding of scan rings to not overlay the
Hcode data region.
- Fix quad based creation of local target
- Redid boot_loader to properly deal with scan ring sections
- Fix boot copier header dependency
- Moved SGPE Hcode space to 38KB to deal with present size; Made SGPE total
OCC SRAM allocation 80KB for now. This growth is due to fapi2 required
vector support (4 x 128KB) plus target init (1KB) plus scan ring allocation
per latest assumptions. The FAPI2 elements will be readdressed later.
- Remove skip arrayinit/scan0 from istep15_hack and into EPM_TUNING
- Some bug fixes in hcode_image_defines to get proper common ring offsets
in SGPE header as well as proper placement of common rings in image
- Changes from Prasad with putrings updates
- Removed break points to call broadside scans in CME and SGPE codes.
- Added Prasad's changes for putring for CME and SGPE.
- Increased thread stack size
- Rebased and commented out memory faulting code for now
- Removed call in p9_pm_stop_gpe_init to ppe_state due to HB strings (for now)
- Fix SGPE_ALLOCATED_SIZE
- Boot loader fix
- Pulled in PK PBA context bug fix as this corrupts the PBASLVCTL0 and thus
memory accesses
- Make CPMR and CME Header values have maximums. Add check to not allow overrun
- Hcode Image Wrapper update
- CME header debug output
Change-Id: Ia96972dc9cf7482903b4c454dcbb8f348842bbe4
Original-Change-Id: I71718485ff3192f3723fdfa03b8bc6f558ef120e
RTC: 136960
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27421
Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Dev-Ready: Gregory S. Still <stillgs@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
| -rw-r--r-- | import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h index 9bb9b2db..982809a3 100644 --- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h +++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop.h @@ -27,6 +27,10 @@ /// \brief header of p9_cme_stop_enter_thread.c and p9_cme_stop_exit.c /// +#ifdef __cplusplus +extern "C" { +#endif + #include "pk.h" #include "ppe42.h" #include "ppe42_scom.h" @@ -205,6 +209,7 @@ typedef struct PkSemaphore sem[2]; } SgpeStopRecord; + /// SGPE STOP Entry and Exit Prototypes void p9_sgpe_stop_pig_handler(void*, PkIrqId); void p9_sgpe_stop_enter_thread(void*); @@ -226,3 +231,7 @@ int p9_hcd_cache_scominit(uint32_t); int p9_hcd_cache_scomcust(uint32_t); int p9_hcd_cache_ras_runtime_scom(uint32_t); int p9_hcd_cache_occ_runtime_scom(uint32_t); + +#ifdef __cplusplus +} // extern "C" +#endif |

