diff options
| author | Michael Floyd <mfloyd@us.ibm.com> | 2018-02-05 10:30:38 -0600 |
|---|---|---|
| committer | hostboot <hostboot@us.ibm.com> | 2018-03-22 14:04:33 -0500 |
| commit | 36da534370a91cfe1f93ef10417a2a969b4779ff (patch) | |
| tree | 5ef44043d5f8510d4a789a74cd3c9c40174858ad /import/chips/p9/common/pmlib | |
| parent | e877c046104eedaa97e616f492a837b79884cbb4 (diff) | |
| download | talos-hcode-36da534370a91cfe1f93ef10417a2a969b4779ff.tar.gz talos-hcode-36da534370a91cfe1f93ef10417a2a969b4779ff.zip | |
CME Code Size Reduction ATTEMPT#3
-- some IOTA kernel cleanup
-- also add checking for IOTA execution stack overflow
-- re-coded to eliminate some math library macro usage
-- added native 16-bit multiply
-- re-coded to remove redundancy from external interrupt handler
-- removed dec handler (optional define) and other minor cleanup
-- fixed Interrupt initialization code in std_init (all PPE images)
-- always inline pstate_db0_clip_bcast & update_vdm_jump_values_in_dpll
-- optimized pls calculation code
-- optimized pstate init, db1 handler, core good handling
-- optimized pmcr requests and pmsr updates (always write for both cores)
Key_Cronus_Test=PM_REGRESS
Change-Id: I64f1f3a01772ab1f58c681a00c7e1a76f6ddf31a
Original-Change-Id: If48fec5832bd5e46cb89f0d6a97d90a488e8ff7b
CQ: SW415503
RTC: 178789
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53381
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: YUE DU <daviddu@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/chips/p9/common/pmlib')
| -rw-r--r-- | import/chips/p9/common/pmlib/include/pstate_pgpe_cme_api.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/import/chips/p9/common/pmlib/include/pstate_pgpe_cme_api.h b/import/chips/p9/common/pmlib/include/pstate_pgpe_cme_api.h index 87e49c9b..7e1c0488 100644 --- a/import/chips/p9/common/pmlib/include/pstate_pgpe_cme_api.h +++ b/import/chips/p9/common/pmlib/include/pstate_pgpe_cme_api.h @@ -26,16 +26,15 @@ #define __PSTATE_PGPE_CME_API_H__ #define DPLL_REFCLK_DIVIDER 16667 -#define PIG_PAYLOAD_PS_PHASE1_MASK 0xFF00000000000000 -#define PIG_PAYLOAD_PS_PHASE2_MASK 0x00FF000000000000 + +#define PMCR_UPPERPS_MASK 0xFF00000000000000 +#define PMCR_LOWERPS_MASK 0x00FF000000000000 +#define PMCR_PSTATE_SHIFT_AMOUNT SHIFT64(15) + #define PIG_PAYLOAD_MASK 0x0fff000000000000 #define PIG_INTR_FIELD_MASK 0x7000000000000000 #define PIG_INTR_GRANTED_MASK 0x0000000080000000 -// Type1 specific defines -#define PIG_PAYLOAD_PSTATE_MASK 0x03ff000000000000 -#define PIG_PAYLOAD_PSTATE_SEQ_INCR 0x0400000000000000 // Seq increment value - // PIR defines #define PIR_INSTANCE_EVEN_ODD_MASK (uint32_t)(0x00000001) #define PIR_INSTANCE_NUM_MASK (uint32_t)(0x0000000F) |

