summaryrefslogtreecommitdiffstats
path: root/src/occ_405/cmdh
Commit message (Collapse)AuthorAgeFilesLines
* Handle PGPE timeouts as workaround for prolonged droop eventsmbroyles2018-01-154-23/+39
| | | | | | | | | | | | | | Add "CLIP" information to poll response Fix incorrectly throttling due to power when all cores are in stop 2 or greater Change-Id: I502cc65ad8c4cffd7f9a1442fd4de185f3cac6e2 RTC: 183700 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51741 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Wait two ticks prior to un-throttling memory due to power cappingmbroyles2017-12-111-2/+1
| | | | | | | | | | | | | Disable 24x7 on first tick GPE exceeds tick time Only update snapshot buffer in active, observation or characterization states Change-Id: I388878623d8bb6af2dd2cb93b21bf1102d7877b9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50658 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Handle redundant power supply policyChris Cain2017-12-011-8/+13
| | | | | | | | | | | | | | | | | | | | When redundant power supply policy is disabled: 1. Skip power capping algorithm when in oversubscription 2. No power brake support (don't set the GPIO to enable the automatic HW power braking) 3. Remove clipping to turbo when in oversubscription Initialize frequency votes to prevent throttling when booted in oversubscription. Allow truncated exception buffer data to be parsed. Change-Id: I4fef673feb0a3d0025e00d8fd219cf4cc24d8685 CQ: SW408974 CQ: SW409666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50071 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Remove interrupt handlers for hardware errorsChris Cain2017-11-081-3/+1
| | | | | | | | | | | | Errors will be detected by the PGPE beacon. Change-Id: I2d24ec9becc319a1cf1fce6b06714ac638faade1 RTC: 134619 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49421 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Clean up TODO for deprecated sync request bitAndres Lugo-Reyes2017-11-022-3/+1
| | | | | | | | | Change-Id: I4c86697735b75dd1b1d2c4ab8a32784e9e89eb90 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49145 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
* Snapshot buffer supportAndres Lugo-Reyes2017-11-021-2/+2
| | | | | | | | | | Change-Id: Iececa1d5e6ac68c67326dbabf0a61ef63346116e RTC:165947 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48766 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
* VRM Vdd Thermal Control Loopmbroyles2017-10-263-10/+39
| | | | | | | | | | | Change-Id: Ie5771b33c13cd57822a8b6f1406a92c4516088c0 RTC: 180397 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48563 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* GPU Timing Measurement Debug CommandWilliam Bryan2017-10-192-1/+56
| | | | | | | | | | Change-Id: I5d37db9ba1aa9dc90b09266da6762121195d2385 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48629 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Read VRM Vdd TemperaturesChris Cain2017-10-191-0/+22
| | | | | | | | | Change-Id: I428417a8e94e2b3f8892998ef280e454c46405ed RTC: 180433 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48131 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Support for GPU config format version 2mbroyles2017-10-182-22/+191
| | | | | | | | | Change-Id: I14108b7a5ea7ce4e3649ab164a6e6c905274c635 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46765 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* VRM Vdd Interfacesmbroyles2017-10-163-25/+49
| | | | | | | | | Change-Id: I8e2b597773c940ebc79972974a95fb323ea26660 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48065 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Limit max frequency in oversubscription to prevent PS OCmbroyles2017-10-161-147/+182
| | | | | | | | | | | Change-Id: I2c4be270347c633e5a681d460b0f744982f81bcb RTC: 180403 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48329 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* GPU 405 Enable Memory TemperaturesWilliam Bryan2017-10-031-12/+34
| | | | | | | | | Change-Id: Id50d12a50a05b8b3a6a6f1ce3ce4512d3299caa7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46882 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* WOF: Initial WOF soft reset supportAndres Lugo-Reyes2017-09-131-8/+34
| | | | | | | | | | Change-Id: I04b29c5c9b6acc1fb230c51b86eeda8c679130d5 RTC:174965 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45168 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
* Fix I2C locking issue and sensor IDsWilliam Bryan2017-09-051-2/+2
| | | | | | | | | Change-Id: Ib6255d96ca18b45e69184bc5126e53a09d2f26fe Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45577 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Calculate GPU Power Capmbroyles2017-08-292-18/+20
| | | | | | | | | | | Define GPU ID callout type Change-Id: I99e691abe64fc0d706571fc7a128d565159e0461 RTC: 133823 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45077 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Only call out DIMMs when health monitor time has expiredChris Cain2017-08-251-6/+33
| | | | | | | | | | | | | | | | | | Previously OCC would call out the DIMM if we got 2 consecutive I2C failures trying to read DIMM temperatures. Health monitor already has code to handle timeout, so we will just keep retrying on failures. - Remove 60 second delay before starting to read DIMM temps since SW398808 should resolve the lock problem. - Added debug cmd to retrieve the GPE0/GPE1 trace buffers. Change-Id: I65156347e24ff8e68414a64aaf7e00ff4c12a2f8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45073 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Move I2C info to commonWilliam Bryan2017-08-241-0/+1
| | | | | | | | | Change-Id: I64c0213d7320b484d165fe0094e2e0286f730957 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44690 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: William A. Bryan <wilbryan@us.ibm.com>
* Delay DIMM collection for 60 seconds to prevent I2C bus contention with OPALChris Cain2017-08-161-2/+2
| | | | | | | | | Change-Id: Ia296230333cce7be3e2db385fc2293f6374ef104 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44693 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Initial 405 GPU supportmbroyles2017-08-143-12/+35
| | | | | | | Change-Id: I6e957ca1aa643d257274e99957df5b15ac8c889b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44254 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* rt_xstop_analysis: compile all of firdata on gpe0Prachi Gupta2017-07-211-1/+0
| | | | | | | | | | | Change-Id: I804cdf63879a2b80c9e14149e45ee665240c4a88 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43244 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Fix excessive traces for BCE requests, slave data collection and opal updatesmbroyles2017-07-193-4/+44
| | | | | | | | | | | | | | Correct power cap information in OPAL shared memory Add non-zero error history counts to poll response Fix Characterization to Active State change failure Change-Id: I92b783b631e79786e6190a4def520fee32c2cc7c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43216 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Prevent WOF error logs unless wof is formally enabled by (H)TMGTAndres Lugo-Reyes2017-07-061-1/+2
| | | | | | | | | Change-Id: Id6fdb25c8d290ed3452c17536a9c43ca0c0ef0f4 CQ:SW394106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42768 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Support new in-band command/response interface and clear sensor commandmbroyles2017-06-302-35/+406
| | | | | | | | | | Change-Id: Ic53e27d851023d99440aa1bfbdf5307920af3397 RTC: 158812 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42512 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shawn M. McCarney <shawnmm@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Remove time from sensor namesmbroyles2017-06-262-25/+5
| | | | | | | | | Change-Id: Ic6b8892285610985a80c623b6da35d2766926f4d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42161 Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* WOF dependency cleanupAndres Lugo-Reyes2017-06-191-2/+4
| | | | | | | | | | RTC:174543 Change-Id: Ie315794a2745c9b6620c787927a354ac182339d6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42061 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Stop State and Throttle Sensor Updatesmbroyles2017-06-161-0/+1
| | | | | | | | Change-Id: Ic2589a9e3fb5bad67ce85fb7a5f2c3e9af9f5047 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41887 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shawn M. McCarney <shawnmm@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* OCC support for no APSS and new GPU Config Datambroyles2017-06-124-48/+262
| | | | | | | | | Change-Id: Id58a06378f3c0a7fd9fb436b96823eca15028031 RTC: 160889 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41513 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* WOF: Implement wof debug commandsAndres Lugo-Reyes2017-05-313-22/+109
| | | | | | | | | | | | -Command to set/clear bits in wof_disabled -Command to hexdump g_amec->wof -Purge some unused debug commands Change-Id: Ib738f804863e9ab59625fe95569d76a6bcb0ecab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40655 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* WOF: Bring upAndres Lugo-Reyes2017-05-301-0/+11
| | | | | | | | Change-Id: I1738f4261604f231d15ba4c7a54f84c8bf6f1f97 RTC: 131186 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40471 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Enable soft power capping and update poll responseChris Cain2017-05-222-5/+78
| | | | | | | | | | | | | - fix bounds checking to allow soft power cap - add soft power cap value to poll response - add EXTN sensor section with frequency points to poll response Change-Id: Ide2a96641194d13c11d22ee2a711090b2a16396a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40762 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Reformat WOF error handlingAndres Lugo-Reyes2017-05-171-3/+2
| | | | | | | | Change-Id: I1e0e640e16e8e7a9244dc6ba0b334a0e499255c4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40220 Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Initial support to handle no APSSmbroyles2017-05-171-5/+14
| | | | | | | | | Change-Id: Ia14aebaf44e9a0a3d2e14a4ff3803793350986b4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40521 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Remove antiquated PMC codeWilliam Bryan2017-05-151-2/+2
| | | | | | | | | Change-Id: I0a7e9fe5c854ce17602c4c0293fd59f8c4a7c7b2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40419 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Doorbell reorganizationWilliam Bryan2017-05-101-2/+19
| | | | | | | | | Change-Id: I9c8aa4e4cd2272c213d063a27c019396928ebd94 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40290 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Memory Power Control when entering and exiting IPS (Idle Power Save)Wael El-Essawy2017-05-101-2/+5
| | | | | | | | | | | | | | | memory power control settings for IPS/default modes - as defined by memory config data packet version 0x21 - are applied to memory power control registers of all configured ports whenever the OCC enters/exits IPS, respectively. Change-Id: I56514bb8cbab80c6d4877edc74db96f3b011e523 RTC: 165546 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38294 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
* OCC: Non-GPU Sensors to main memory: Phase 2Shawn McCarney2017-05-092-3/+149
| | | | | | | | | | | | | | | | | | | | Added the following new min/max fields to the sensor_t struct: * CSM_sample_min * CSM_sample_max * profiler_sample_min * profiler_sample_max * job_s_sample_min * job_s_sample_max Also added the following new debug pass-through commands: * DBUG_DUMP_AME_SENSOR - Dumps all fields (dynamic & static) for 1 sensor * DBUG_CLEAR_AME_SENSOR - Clears min/max fields and returns updated fields Change-Id: I95353417da73cdb67e23fcda1a03c4af6993c658 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40161 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* New mfg test command to get generated Pstate tablembroyles2017-05-032-0/+148
| | | | | | | | | | Change-Id: I317a2d39d5f09f50c71078ba6d59fa954ad7647e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39720 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* OCC: Non-GPU Sensors to main memory: Phase 1Shawn McCarney2017-04-273-7/+7
| | | | | | | | | | | | | | | | | | | | Performed the following sensor renames required by this RTC story: FREQA4MSP0Cy -> FREQACy UTIL4MSP0Cy -> UTILCy PWR250US -> PWRSYS PWR250USP0 -> PWRPROC Also renamed the following related symbols: * Associated sensor_t field names in the amec_sys_t data structure * Mini-sensor field names * Parent sensors that contain a vector iterating over renamed sensors Change-Id: I1e9e17661e5730ed6309fc7617c61bd973d2e44f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39772 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* WOF: PGPE WOF Control infrastructureAndres Lugo-Reyes2017-04-271-2/+3
| | | | | | | | | Change-Id: I8dd1205c2c05c183650c1c42a3649fefc8048815 RTC:166301 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37251 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Merge latest hcode headers into OCCChris Cain2017-04-132-3/+3
| | | | | | | | | | Change-Id: I1365d14bee48c287fcfd0faab8ba8a1a517e5bcb RTC: 169886 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38107 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* New mfg test command to set per quad pstatembroyles2017-03-134-16/+143
| | | | | | | | | | Change-Id: I3f3b187608b0bfaf83cfa612358b40257db7d5b6 RTC: 170583 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37765 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* WOF: Function to calculate core voltage and leakageAndres Lugo-Reyes2017-03-011-2/+10
| | | | | | | | | | Change-Id: Ica95c4030c81c959e834797ef998af7d025cf250 RTC:130216 Depends-on: I33bce916dc2dffef6a6d616633a5f1266d7baa7e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35759 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Add support for memory config command version 0x21Wael El-Essawy2017-02-232-27/+86
| | | | | | | | | | | | the OCC maintains support for version 0x20 Change-Id: I06e637db202602e3823ffeceb56d482545b1016a RTC: 165546 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36733 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com> Tested-by: Wael El-Essawy <welessa@us.ibm.com>
* AVS Bus update to use 32bit register accesses instead of 64Chris Cain2017-02-141-1/+1
| | | | | | | | | Change-Id: Ib31cb6ba5cc23f2599226628d36c7006dc911249 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36250 Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Fix DIMM temperature readsChris Cain2017-02-141-2/+4
| | | | | | | | | | | | | FIFO4 register requires a 4 byte read or will hang. OCC will request 4 byte read, but only look at first 2 for temperature. FIFO register can only read one byte per request which is less efficient. Change-Id: Ia0bbbc70f5b7de76f1bea64279b2ff7dd5b5a861 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35974 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Add VR Fan and OC support via AVSBUSChris Cain2017-01-272-5/+19
| | | | | | | | | | | | | | | - monitor VR Fan (over-temperature) and OC (over-current) - add VR Fan sensor to poll response (Temperature FRU type: VRM) - log mfg error for OC - add error history counters for each Change-Id: Ia552aa2cc2db8adebcbbd928c146a057bb120c73 RTC: 132561 RTC: 132560 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35358 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Pstates Support in OCCWael El-Essawy2017-01-271-26/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Initialize Pstates global parameters (G_proc_fmax, G_proc_fmin, G_khz_per_pstate and G_proc_pmin from the OCC Pstate Parameter Block) 2. When frequency config data packet is received and OCC is NOT already in Active state: Send IPC command to PGPE to set pState clips to be wide open from min frequency to turbo First verify min/max frequency from TMGT is within what PGPE allows saved in G_proc_fmax and G_proc_fmin if not within bounds trace and clip to G_proc_fmax/fmin) 3. Transition to active state: Send IPC command to PGPE to start pState protocol (give correct data for OCC vs OPAL in control of Pstates) and if OPAL system update OPAL shared memory with Pstate information. 4. amec_slv_freq_smh(): Send IPC command to PGPE to set requested pState (PowerVM) or set clips (OPAL). 5. Address all the TODO/TEMP/#if 0 in amec_freq.c either remove or add RTC# for when it will be addressed Change-Id: Ic323321b8c66945732a6b7345ad85d6f41a62edd RTC: 130201 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33704 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
* AVS Bus divider, loadline and misc changesChris Cain2017-01-183-8/+14
| | | | | | | | | | | | | | | - validate CRC in cmd response - read current / voltage on alternating ticks (commands on both bus for each tick) - calculate chip power (with loadline) and power for each tick - update divider value for bus speed - add error history counters and add them to logs Change-Id: I33bce916dc2dffef6a6d616633a5f1266d7baa7e RTC: 163992 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34947 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* Support for MMU-less systemsWilliam Bryan2016-12-221-0/+39
| | | | | | | | | Change-Id: I33c0b56ce599f512fa686275ba483092897cc5af RTC:165351 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33743 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
OpenPOWER on IntegriCloud