summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.H
Commit message (Collapse)AuthorAgeFilesLines
* PPB: Bug fix in computing IAC Vdn valuePrasad Bg Ranganath2018-06-081-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Hardcode the Vdn Ceff value to 1 as the dimension is not supported in the WOF Tables. This avoids the root of the issue noted which was VPD data dependent in the previous algoithm for an unused element. - Update OCC Pstate Parameter Block comments on Iddq units to 5mA -- This is non-functional update to ensure the header comments represent reality and is for documentation only!!! (no pre/co-req) Key_Cronus_Test=PM_REGRESS Change-Id: I3a790160998eda4e384d9bcb9da7198aa45f457c CQ:SW429936 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59241 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Francesco A. Campisano <campisan@us.ibm.com> Dev-Ready: Francesco A. Campisano <campisan@us.ibm.com> UseHW-Fleetwood: Francesco A. Campisano <campisan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59247 Tested-by: Jenkins OP Build CI <op-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>
* WOF: VFRT biasing based on ATTR_FREQ_BIAS_*Greg Still2018-01-241-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | - All ATTR_FREQ_BIAS_* attributes must match or pstate_parameter block will log error and fail if WOF is enabled. - All System VFRT frequencies from the WOF Data Table will be scaled by the singular bias Key_Cronus_Test=PM_REGRESS Change-Id: Ic255d6a2cf367120ef3508148a7cda979fbde803 CQ: SW414815 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52477 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Francesco A. Campisano <campisan@us.ibm.com> Dev-Ready: Francesco A. Campisano <campisan@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52486 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* VDM: PSAFE needs a default setting if #W VDM leads to VDM disablementGreg Still2018-01-241-2/+11
| | | | | | | | | | | | | | | | | | | | | | - Function in p9_pstate_parameter_block to provide the defaults (12.5%) Key_Cronus_Test=PM_REGRESS Change-Id: I4ef9f0092f9bd654a585b8f1094e9fca9bb06b83 CQ: SW413785 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52031 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Francesco A. Campisano <campisan@us.ibm.com> Dev-Ready: Francesco A. Campisano <campisan@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52044 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Pstate Parameter Block/Setup Evid: Safe Pstate FixGreg Still2017-11-131-10/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the correct jump field (L_S) for setting safe mode (split variables for better understanding (HWP) - General rearrangement of the safe mode calculations to perform proper voltage uplift (HWP) - Added HWP only consumed elements to common headers (no co-reqs with Hcode!) - Correct VDN and VCS voltage handling for biases - Added VDM jump values to the GPPB for dumping via memory tools. Proven useful for VDM debug. - Fix biases - Deal with Cronus manual mode setting of Safe Mode - Add check that Safe Mode is not above UltraTurbo - Clip freq2pState to positive frequencies - Add check that Boot Frequency is not above UltraTurbo Key_Cronus_Test=PM_REGRESS Change-Id: Ie300c54629d9e97bb5d265db7a00845b2106bd02 HW-Image-Prereq: 975c737f700fb8afd5d2ab416058fcc832dc92a4 CQ: SW405402 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49396 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49405 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Enable always VDM and WOF check for pound W accessPrasad Bg Ranganath2017-10-091-2/+2
| | | | | | | | | | | | | | | | | - Validate core floor freq vlaue with UT value - Fix strcat issue in vfrt update function Change-Id: Icfea8b8e07d18437c262b951141a9d21984ce8bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46614 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46616 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: p9_dump_pstate_table and p9_pstate_parameter_block enhancements for OPPBGreg Still2017-10-091-4/+11
| | | | | | | | | | | | | | | | | | | - added OPPB in p9_dump_pstate_table including IDDQ output - added IDDQ output from the OPPB in p9_pstate_parameter_block - initialize nest freq in oppb structure - added PGPE Header Flag output Change-Id: I2a6779b4e45e5459b76bf388ce874f1863a368c4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44648 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44652 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PSTATE: Safe mode implmentation in PPBPrasad Bg Ranganath2017-09-231-1/+60
| | | | | | | | | | | | | | | | | | | | | | | - Updated dpll fmult setting code - Updated review comments - compute using biased freq values - rebased - updated safe mode values to gppb and oppb - updated review comments Change-Id: Ia08ac464d67be4608f3c293e083135a9cf65aaec RTC:175533 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44148 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44153 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* WOF: p9_pstate_parameter_block enhancements for WOF and VDM enablementGreg Still2017-09-081-85/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | - Make STATIC VFTR mode perform the asme checking as the non-STATIC path - Enhance OCC Parameter Block trace output - Enhance Global Parameter Block trace output - Level 3 callouts added - rebased - fixed procedure callouts errors in xml file - Added biased #v data checks - Updated review comments Change-Id: Ic0b86cc7d8b2ff144bbd077eafe4fa64f4f9c718 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44258 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44259 Tested-by: Jenkins OP Build CI <op-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>
* WOF: p9_pstate_parameter - fix Iac zero checkingGreg Still2017-08-091-0/+7
| | | | | | | | | | | | | | | | | | | | | - Rearrange validity checking so that when VDMs are enabled but WOF is enabled, the Iac AC and DC values for WOF are still read from #W - Added explict error points when any of these these values are zero Change-Id: Iedf44da24f7445effb0c44ce9710dd26ea383240 CQ: SW398354 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44375 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44379 Reviewed-by: Hostboot Team <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>
* PM: Mfg Bias fixes (tool and HWP)Greg Still2017-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove Raw Pstate Table from tool output to reduce confusion after consultation with System Characterization - Fix negative bias formating on tool output - Fix bias calculations in p9_pstate_parameter_block - Add internal ceiling and floor functions due to HB CI fails - Fixed computing raw vpd data values - Fixed vpd order for ext bias values - Added validation check for biased values. - Removed fapi2.H from pstate table code and included stdio and stdint headers..This will ease mnfg team to pick this file directly. Change-Id: Ieaf085869c8f2e9f76eded7479918c67518bf780 CQ: SW396980 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43918 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43919 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Delete deprecated attributesGreg Still2017-07-141-4/+1
| | | | | | | | | | | | | | | | | | | | - Complete the move to platform SYSTEM_*_DISABLED and HWP *_ENABLED attributes - Added VDM DPLL response attribute to CME header mapping - Updated review comments Change-Id: If8f8e42fd94825623315e8a7c28105cca8c8c8b2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42918 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42920 Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Dean Sanner <dsanner@us.ibm.com>
* PSTATE: VDM Jump slopes calculationPrasad Bg Ranganath2017-07-131-0/+6
| | | | | | | | | | | | | | | | | | | - Added Jump slope calcultion - Added VDM members to GPPB structure - rebased - rebased Change-Id: I058921257ba728d09b3f54b419b2eb6b25e2163c RTC:174959 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41418 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41421 Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Dean Sanner <dsanner@us.ibm.com>
* p9_pstate_parameter_block: Move to concise slope calculationsGreg Still2017-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | - Use loops over the set point vs explicit implementation to reduce critical code implementations - Move slopes to float based calculation and then translate to I.F form - Update dump output a bit; still need to add VDM thresholds to this - Fix VDM related slope calculations - rebased - Data type change from float to double in threshold slope calculation - rebased Change-Id: I3ca4dc4889c55afff31fcd814fa193cb66ca1ab4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41405 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41406 Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Dean Sanner <dsanner@us.ibm.com>
* PSTATE_PARAMETER_BLOCK structure alignment and error handlingPrasad Bg Ranganath2017-07-111-1/+4
| | | | | | | | | | | | | | | | | | - Add VDM EC attribute to generally disable VDMs on Nimbus DD1 Change-Id: I7743bbff9c8f975074068d760373b8b9b8294d32 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42714 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Adam S. Hale <adam.samuel.hale@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42715 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Dean Sanner <dsanner@us.ibm.com>
* WOF: HWP support for advanced function enablementGreg Still2017-06-301-36/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved to "system disabled" paradigm (eg functions are ON but default) - Moved p9_hcode_image_build to using HWP attributes from p9_pstate_parameter_block - Added Pstate Auto Start to p9_pm_pstate_gpe_init to support advanced functions in Cronus - Add p9_pstate_parameter_block_errors - Added error points for #V validity. One creates an information error log and disables WOF. Others disable Pstates. - Add error points for resonant clocking errors in p9_pstate_parameter_block - Refactoring - Subfunction API change for p9_setup_evid - Added wof header verification and tested the code - Corrected Jump value verification - Removed the check for 0 values of N_S and N_L - Address Gerrit comments on validation - Added verification for VFRT header and fixed vfrt header members - Rebase with VFRT fix (after merge) - Added some checks in iac vdn calculation part - IDDQ output formating updates - Fixed VDM and WOF disable checks Change-Id: I3e62e04c7873bb6bb7c8d96e1e91d72fb044d81e RTC: 173672 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40954 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41096 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* WOF: fix VFRT system to HOMER translationGreg Still2017-06-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | - Clipped WOF frequencies that are faster than the base PState VPD frequency to a WOF clip PState of 0. - Added compiler directive to pad WOFTablesHeader structure to 128B - Added compiler directives to align HOMERVFRT to 256B (for assurance) - Captured old FAPI_ERR message for freq2Pstate to FAPI_INF for now. - Reduced VFRT processing traces to just the firt 8 entries so that HB trace is not overrun down the road - Loaded IDDQ data into occ parameter block with 1mA reasolution - Updated p9_pstates_occ.h comments to fix the iddq resolution. The header did NOT change in structure. - Little endian fix on iddq traces - Fix Iddq and temp resolution data - Removed temp resolution calculation Change-Id: Iaf9e1de8f58c43a8a52353b53155956aa71ff09e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41518 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41520 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PSTATE: System Calc Parameters FixRahul Batra2017-06-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | - Adds PStateVSlopes and VPStateSlopes to Global Parm Struct - Calculates slopes for RAW/SYSP/BIASED/SYSP_BIASED Operating Pts - Leaves the old slopes and calculation in p9_pstate_parameter_block.C using slope shift of 13. To be removed later - Adds a new slopes format of 4.12[4 bits integer + 12 bit fractional - Recovers the lost system parameter equation fix Change-Id: Ic79ed4d0311c46612d68d6dffdabc459ec88d8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40891 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40996 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* p9_pstate_parameter_block: Pound W enhancement for VID ComparePrasad Bg Ranganath2017-06-011-10/+29
| | | | | | | | | | | | | | | | | | | - Add changes to Compare VID slopes support - Added changes for threshold slopes Change-Id: I6ce9f7630cf8f8bbb19a2914da43c24308c3c7fd RTC:172523 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39955 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39961 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* WOF: Additional fields needed in OCC Pstate Parameter block for WOFPrasad Bg Ranganath2017-05-041-5/+45
| | | | | | | | | | | | Change-Id: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39415 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39419 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pstate_param_blk: Define VFRT table and initialize the dataPrasad Bg Ranganath2017-04-221-2/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: If517d23014f40bc3f07563fc4009ff25b59f7745 RTC:167141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36131 Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38209 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* PM: Resonant Clocking Enablement - InfrastructureChristopher M. Riedl2017-04-141-2/+10
| | | | | | | | | | | | | | | | | | | | | - update/implement resonant clocking pstate parameter block procedure - implement a function to initialize resclk attributes to defaults from a header file (header to be updated by clocking team) - update/fix resclk attributes in xml Change-Id: I0bb83303cdc5452931a72fb970931c6aff43c03b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38954 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38959 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pstate_parameter_block: access #W and populate parameter block stucturePrasad Bg Ranganath2017-03-171-2/+15
| | | | | | | | | | | | | | | Change-Id: I2d996c848d893074cec0eb74408b3300b60ff1d9 RTC:167146 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35721 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35723 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Added support for PGPE Boot/PGPE integrationPrem Shanker Jha2017-03-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - support for P-State parameter block - implements a compact image layout of PGPE similar to CME/SGPE. - adds PGPE boot progress code as a field in PPMR header. - implements PGPE boot loader and PGPE boot copier. - incorporates ability to generate PPMR header in the build flow. - change logic for calculating CME's first block copy length. - Turned on generated tables in PGPE Hcode - Fixed up pointers to generated tables - add ATTR_PGPE_HCODE_FUNCTION_ENABLE attribute to control PGPE ops - fix p9_pstate_parameter_build bug with AVS timing attributes - Make OCC Pstate Parameter block a fixed offset (128KB) in PPMR - Make Pstate Table from PGPE a fixed offset (144KB) in PPMR to ease debug - Fix Endianes issues in OCC PPB and input slope calcs - Added PGPE Hcode Length to PGPE header so that GPPB SRAM location is known. - Build flag for OCc Immediate IPC response - Build flag to no use temp boot settings - Expanding tracing for debug - Added default values for PBAX attributes as placeholders for MRW in firmware - Added WOF VFRT structure definions to headers; movement into HOMER NOT yet supported - Addressed review comments and rebased - Rebased with ATTR_PGPE_HCODE_FUNCTION_ENABLE in separate commit for Cronus Change-Id: I4752debbc7fb3275d4e79804333654511de427ff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26115 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26116 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* pstate parameter block: precalculated slopesPrasad Bg Ranganath2017-02-221-2/+53
| | | | | | | | | | | | | | | | | | - rebased Change-Id: I5a0fe6006ee6270581c486362b07eaa1e0576502 RTC:162554 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35341 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SUDHEENDRA K. SRIVATHSA <sudheendraks@in.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35343 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pstates.h breakupGreg Still2016-11-081-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - content needed by all platforms - cmeqm content created by p9_pstate_parameter_block for CME Hcode - occ content created by p9_pstate_parameter_block for OCC FW - pgpe content created by p9_pstate_parameter_block for PGPE Hcode - API definitions between PGPE Hcode and OCC FW including the current shared memory definition. - the IPC commands are update to better match OCC discussions - Addressed OCC FW<>PGPE Hcode review / Gerrit comments - Still have a HB and Jenkins fail with the p9_pm_utils. Cronus is fine. - Deleted ../hwp/lib/p9_pstate_parameter_block.C in deference to already merged ../hwp/pm/p9_pstate_parameter_block.C - Update IDDQ member names to be more descriptive to match WOF discussion - Remove endianess checks in p9_pm_utils.H Change-Id: I6ab884af08d5598da08bded1707b57c471f2f594 RTC: 163927 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29915 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29917 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* p9_pstate_paramter_block L2 commitSudheendra K Srivathsa2016-10-171-0/+427
Change-Id: I8d3d557ade04c88a77145feeb15d46f45f472e84 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28837 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29014 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
OpenPOWER on IntegriCloud