summaryrefslogtreecommitdiffstats
path: root/src/occ_405
Commit message (Collapse)AuthorAgeFilesLines
* Fix I2C locking issue and sensor IDsWilliam Bryan2017-09-053-20/+61
| | | | | | | | | 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>
* Refine WOF calculationsAndres Lugo-Reyes2017-09-011-14/+7
| | | | | | | | | | | | | -Alter core leakage calculations to consider residual current in cores that are off -For phase 1, ceff calcs to use voltvddsense Change-Id: I03b29f7a28d8411aae459f3a3b20d7321281e4f1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45571 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Francesco A. Campisano <campisan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Calculate GPU Power Capmbroyles2017-08-299-44/+242
| | | | | | | | | | | 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>
* Re-hardcode vratio and fratio to 1Andres Lugo-Reyes2017-08-251-3/+4
| | | | | | | | | Change-Id: I4a8ae2352394b1b19a2fc5a7708a6833460c4c6b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45159 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: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
* Only call out DIMMs when health monitor time has expiredChris Cain2017-08-254-62/+75
| | | | | | | | | | | | | | | | | | 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>
* 405 Side GPU Core Temp CollectionWilliam Bryan2017-08-256-346/+360
| | | | | | | | | Change-Id: Ia1b10f5208c49ba168dcf338f0cbeb2c4ab46971 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44982 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>
* Move I2C info to commonWilliam Bryan2017-08-246-11/+7
| | | | | | | | | 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>
* IPL Time Checkstop Analysis Part 3: OCC bootloader and mainIlya Smirnov2017-08-214-153/+258
| | | | | | | | | | Change-Id: Id4d050f1d78a1921afc839c8b2b382961def64f0 RTC:155065 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43938 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Delay DIMM collection for 60 seconds to prevent I2C bus contention with OPALChris Cain2017-08-166-5/+21
| | | | | | | | | 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-1418-26/+1847
| | | | | | | 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>
* Correctly set frequency on OP boxes if wof is disabledAndres Lugo-Reyes2017-08-081-1/+8
| | | | | | | | | Change-Id: I6b08a32eafaaa23d3e1ff560c4926751dcdfcb02 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44295 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
* Set/Clear OCC_WOF_DISABLED in slave and update gpe sensor locationAndres Lugo-Reyes2017-08-042-1/+12
| | | | | | | | | Change-Id: I044515d3fbd367c1a292c892ea32eb5b3d133413 CQ:SW397768 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44242 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>
* Set Pstate to nominal prior to giving ownership to hostmbroyles2017-08-046-115/+305
| | | | | | | | | Change-Id: If3ca5185bafda7d15e639e0f32c1b4ea3eba0c4c RTC: 174964 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43959 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* 24x7 enable/disable countersAndres Lugo-Reyes2017-08-042-2/+41
| | | | | | | | | Change-Id: Ic6c4f85af0f7f6a51e30ce3d92e957d3ad216644 RTC:167812 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44132 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>
* Set frequency to TURBO if no modeAndres Lugo-Reyes2017-08-032-2/+11
| | | | | | | | Change-Id: Ia2bcc97392bc2a8a6a2089f302d3006bb2507536 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44167 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>
* Set MSR before DIMM temp task to avoid machine checkWilliam Bryan2017-08-031-1/+1
| | | | | | | | | | Change-Id: I95ce4cccae9fe315570cd2bd7347c370781dc745 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44178 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: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Remove check for change in requested active quadsAndres Lugo-Reyes2017-08-021-51/+17
| | | | | | | | | | | | | -Now that the tick time has been doubled, we do not need to check for new req_actv_quads on the "off tick" since the off tick no longer exists. Check happens as part of normal wof invocation. Change-Id: Iff875f6e919c9432b69712193db2c61dd217d821 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43955 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>
* Timestamp data when collectedShawn McCarney2017-08-0210-4/+574
| | | | | | | | | | | | | | This commit contains the following enhancements: * New IPC function that runs on GPE0 to read the TOD (Time Of Day) registers * New task on the OCC 405 that gets current TOD every tick via IPC function * Sensor update function now sets timestamp to current TOD value Change-Id: I0ea42b01e4df7a93633a68a0f3ed0f839d5e7b3f RTC: 176504 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43891 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>
* Error log incorrectly hardcoding role to MASTERAndres Lugo-Reyes2017-08-011-1/+0
| | | | | | | | | | Change-Id: I3ced6cc5c00ad159f5a6c7f66c925925dbf8c05a RTC:173220 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43950 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> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Change default DIMM I2C lock to false so OCC will request lock when neededChris Cain2017-07-283-34/+34
| | | | | | | | | | | Also cleanup error history enum names Change-Id: I4276c104e33d29c2f8406609dc088021e9b5a7c8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43720 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>
* Reduce number of checks when waiting for SPI completionmbroyles2017-07-266-124/+167
| | | | | | | | | | | | Fix GPE1 timing fw sensor Change-Id: I4e0d4256b0f55a5593b16237ace5bce73029f6da CQ: SW396887 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43706 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: William A. Bryan <wilbryan@us.ibm.com>
* WOF: Check OPPB to see if wof is enabledAndres Lugo-Reyes2017-07-263-6/+34
| | | | | | | | | | | | -If OPPB determines wof is disabled, suppress all wof related error logs Change-Id: Ib353256512dc313716ab732bacf4d16b7eaf55ca CQ:SW396068 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43571 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>
* Increase RTL to 500usmbroyles2017-07-2525-394/+466
| | | | | | | | | | | | | | Stop waiting for APSS data when detected complete but failed Add history counts for GPEs not idle and APSS collection errors Change-Id: I2bfaf36ee0b736a958fd41c1c2145f537fc883c5 RTC: 172963 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43052 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
* rt_xstop_analysis: minor cleanups/tweaksPrachi Gupta2017-07-221-2/+5
| | | | | | | | | | | | | | | - Fix fir data collection functions' description - change pk trace buffer size to 256 bytes - add trace to main.c to indicate we failed to schedule fir data collection job - add comment to clarify pnor data buffer changes Change-Id: Ie6f68dd30b4382df95adae1fe420abcabf67033c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43449 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* rt_xstop_analysis: single proc fir collection is working, without pnor writesPrachi Gupta2017-07-211-4/+27
| | | | | | | | | | Change-Id: Ib49d3b9d52c8f4e1054e9b0c0d609a6e13908ddb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43245 Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Fix IPS enter/exit time happening in half the time it should bembroyles2017-07-214-235/+63
| | | | | | | | | Change-Id: Ibae3b77afbb42a34efe622c5da3aba391ee92bae Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43288 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>
* busy_wait fixWilliam Bryan2017-07-211-1/+1
| | | | | | | | Change-Id: If6c3ef7ca8a0cdb9331b95c8b37e45f092879a58 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43442 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> 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-2111-272/+22
| | | | | | | | | | | 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>
* rt_xstop_analysis: move firdata code from occ_405 to occ_gpe0Prachi Gupta2017-07-2130-6667/+0
| | | | | | | | | | Change-Id: Idaafd3bd9d40cfce4afd7b5d3308cd376f443967 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43242 Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Tested-by: William A. Bryan <wilbryan@us.ibm.com>
* rt_xstop_analysis: Enable mmap of HOMER in SRAMPrachi Gupta2017-07-211-51/+40
| | | | | | | | | | Change-Id: I0e52127e64f4799f835405c170c3ada28383b8bc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43241 Reviewed-by: ILYA SMIRNOV <ismirno@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: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* rt_xstop_analysis: initial commit to get pnor acceses workingBill Hoffa2017-07-2113-328/+348
| | | | | | | | | | Change-Id: I1d0e07bfbbc206b9ade87befdb0d86c5bcc4385a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43045 Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* FIRDATA: fixed structure alignment in firdata codeZane Shelley2017-07-203-61/+76
| | | | | | | | | Change-Id: I13b03ee6fd21b96eebeb0f141ab294b24ccad6f8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43293 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* OCC: Initial IPL Checkstop analysis supportBrian Stegmiller2017-07-206-225/+983
| | | | | | | | | | | | Change-Id: I60ecc055c840e69d9c86e7eab821889b451db60b RTC: 173624 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40850 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* Use correct timebase and fix overflow check in busy_waitChris Cain2017-07-191-1/+1
| | | | | | | | Change-Id: I5ba3581d465ea466e855cf80c9f52d5ba1277ee0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43334 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>
* Fix excessive traces for BCE requests, slave data collection and opal updatesmbroyles2017-07-1916-292/+589
| | | | | | | | | | | | | | 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>
* Copy additional OCC sensors to main memoryShawn McCarney2017-07-121-21/+46
| | | | | | | | Change-Id: Idfde4743a2646c83316b97ab27835614b538fbcb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42874 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>
* Change trace buffer size from 32k to 8kDoug Gilbert2017-07-071-1/+1
| | | | | | | | | Change-Id: I54774ff4ea33105afa1bafc6636b9a8ee2c2f6ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33258 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@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-065-27/+56
| | | | | | | | | 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-3017-48/+1202
| | | | | | | | | | 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>
* Use std=gnu89, the gcc 4.8 defaultWilliam Bryan2017-06-301-2/+2
| | | | | | | | | | RTC:176497 Change-Id: Ibac4a602dd0436143a901edaeb13b6a313c5fbba Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42653 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: William A. Bryan <wilbryan@us.ibm.com>
* SBE FIFO: Change set #4Ilya Smirnov2017-06-294-69/+62
| | | | | | | | | | | | | | Enabled SCOM code paths that were disabled in p9. Added SCOM_putScom for putscom operations. Change-Id: I96b467df39e91531a607e56e70afafd7889d1d6e RTC:175100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41935 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* SBE FIFO: Change set #3Ilya Smirnov2017-06-293-2/+229
| | | | | | | | | | | | | | Added the last set of required constants, waitDnFifoReady and readResponse functions. Change-Id: I695ba845b1ea8971e30274c427fb617775dfb954 RTC:175100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41934 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* SBE FIFO: Change set #2Ilya Smirnov2017-06-292-0/+129
| | | | | | | | | | | | | | Ported the writeRequest functionality along with waitUpFifoReady. Change-Id: I4562df48d9e60b83d7f23964fb582f05f83a82c6 RTC:175100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41933 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* error TODO clean upAndres Lugo-Reyes2017-06-282-85/+8
| | | | | | | | | | Change-Id: I13f37c944fdd222a029f83dbbb8a9d2db00961c2 RTC: 163364 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42322 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Shawn M. McCarney <shawnmm@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* OCC: Non-GPU Sensors to main memory: Phase 3Shawn McCarney2017-06-2811-19/+1957
| | | | | | | | | | | | | | | A subset of OCC sensors are now copied to main memory. Includes sensors using both the full and counter sensor readings structures. Also made the following changes to the sensor system: * Added timestamp field to sensor_t Change-Id: Ibd3044a1be09160c2d6bdb06ac3c291f874f714b RTC: 153674 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42016 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>
* Remove time from sensor namesmbroyles2017-06-2619-788/+657
| | | | | | | | | 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>
* SBE FIFO: Change set #1Ilya Smirnov2017-06-264-1/+223
| | | | | | | | | | | | | | | Ported the needed structs and the first set of SBE FIFO functions: getFifoScom, putFifoScom, and the shell for performFifoChipOp. Change-Id: Ief8876266950f166d867dbab8c8fcc8b94398860 RTC:175100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41932 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
* WOF: More bug fixes and enable wof by defaultAndres Lugo-Reyes2017-06-234-14/+19
| | | | | | | | | | | | | - Hardcode vfrt block size until present in SRAM - Reorder re-enabling wof with mode change - enable wof by default Change-Id: I7f1038397e86c1f443d7f586388f56f2fdcb8a3e RTC:174543 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42159 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>
* memory TODO clean upAndres Lugo-Reyes2017-06-234-20/+19
| | | | | | | | | Change-Id: Ib559cd2d0a0c1d8fe751606399fe2457c02156c1 RTC: 163357 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42330 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
* Update RTC tag to more accurate storyAndres Lugo-Reyes2017-06-202-3/+3
| | | | | | | | | Change-Id: Iea8bc9321fa16829c64204461bad441561425cbc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42072 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>
OpenPOWER on IntegriCloud