summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Still <stillgs@us.ibm.com>2016-02-05 17:23:33 -0600
committerJennifer A. Stofer <stofer@us.ibm.com>2016-02-24 11:59:09 -0600
commit6887eef6b41bfcc8157a53b3bb805bef1755b5e7 (patch)
treecfaf193d0e8f7bd1e4f7a9f890d8cad2fb51a518
parent92a0f491bcab9f3df4cc92ff73a98590da75a3bc (diff)
downloadtalos-sbe-6887eef6b41bfcc8157a53b3bb805bef1755b5e7.tar.gz
talos-sbe-6887eef6b41bfcc8157a53b3bb805bef1755b5e7.zip
Level 2 p9_pm_pba_init
- Due to git issues, couldn't use Sangeetha commit - Leverage the previous transliteration work from FAPI to FAPI2.0 - Includes the HW/FW interlock direction for PBA Slave usage for "boot" phase and a "run_time" phase - Per OCC interlock, support PBAX topology setting via platform (chip level) attributes - Added -test option to wrapper to run both -reset (boot phase) and -init (runtime phase - SUET tested, runs on AWAN. Need to load something in memory on AWAN to fully test - powermgmt.act restoration of p9_pm_occ_gpe_init actions - Rebased; added -test to help for the wrapper. - Dealt with Gerrit comment Change-Id: Ia370c33fb230949770ebeeab8418b9cdd0d08933 RTC: 146275 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24024 Tested-by: Jenkins Server Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24705
-rw-r--r--import/chips/p9/sw_simulation/powermgmt.act22
1 files changed, 20 insertions, 2 deletions
diff --git a/import/chips/p9/sw_simulation/powermgmt.act b/import/chips/p9/sw_simulation/powermgmt.act
index 65892854..7b5c3736 100644
--- a/import/chips/p9/sw_simulation/powermgmt.act
+++ b/import/chips/p9/sw_simulation/powermgmt.act
@@ -75,12 +75,30 @@ CAUSE_EFFECT {
EFFECT: TARGET=[REG(0x00062021)] OP=[BIT,ON] BIT=[0]
}
-
# Upon writing the PU_OCB_PIB_OCR[DBG_HALT} bit, set the OCCLFIR_PPC405_DBGSTOPACK_BIT.
CAUSE_EFFECT {
LABEL=[PPC405 SAFE_HALT]
WATCH=[REG(00x0006D002)]
- CAUSE: TARGET=[REG(0x0006D002) OP=[EQUALTO,BUF] DATA=[LITERAL(64, 00200000 00000000)]
+ CAUSE: TARGET=[REG(0x0006D002)] OP=[EQUALTO,BUF] DATA=[LITERAL(64, 00200000 00000000)]
EFFECT: TARGET=[REG(0x01010800)] OP=[BIT,ON] BIT=[31]
}
+##
+## Actions for Procedure - p9_pm_pba_init
+##
+
+CAUSE_EFFECT {
+ LABEL=[BCDE STOP]
+ WATCH=[REG(0x00068010)]
+ CAUSE: TARGET=[REG(0x00068010)] OP=[BIT,ON] BIT=[0]
+ #suet BCDE_UNHALT:tc1- EFFECT: TARGET=[REG(0x00068012)] OP=[BIT,ON] BIT=[0]
+ EFFECT: TARGET=[REG(0x00068012)] OP=[BIT,OFF] BIT=[0]
+}
+
+CAUSE_EFFECT {
+ LABEL=[BCUE STOP]
+ WATCH=[REG(0x00068015)]
+ CAUSE: TARGET=[REG(0x00068015)] OP=[BIT,ON] BIT=[0]
+ #suet BCUE_UNHALT:tc1- EFFECT: TARGET=[REG(0x00068017)] OP=[BIT,ON] BIT=[0]
+ EFFECT: TARGET=[REG(0x00068017)] OP=[BIT,OFF] BIT=[0]
+}
OpenPOWER on IntegriCloud