summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/plat
Commit message (Collapse)AuthorAgeFilesLines
...
* Extend Attribute Override/Sync to work on Targeting attributesMike Jones2013-04-152-181/+385
| | | | | | | | Change-Id: Icf8d84e741212f31c1065146ac1ea96c4c7d75c5 RTC: 51707 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3548 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* HWPF: Support Procedure CalloutsMike Jones2013-04-041-20/+112
| | | | | | | | | Change-Id: I250472ba4125944ba17433c759c915b30a9bc93e RTC: 50323 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3699 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* loops: replace ++ and .size() with C++ iterators where possible.Brian Horton2013-04-031-6/+12
| | | | | | | | | Change-Id: I42a23fe81f08cb533b76ec5ff043bfe31b60bbdd RTC: 52905 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3697 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI Interface to get the target on the other side of the Mem Channel - 2Bill Schwartz2013-04-021-34/+52
| | | | | | | | | | | | Code review updates found during adding to the FSP side Change-Id: Idf3a37f1449a8c2abae994ab1b8107203212189b RTC:61987 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3579 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PROC_xx_ENABLE and DMI_REFCLOCK_SWIZZLE FAPI attributes support updatevanlee2013-03-041-2/+46
| | | | | | | | | | | - PROC_xx_ENABLE are mapped to platform function - Patch to initial DMI_REFLCLOCK_SWIZZLE for Tuleta Change-Id: Ifc29c454adb8f63a5d676b102dc62bf8aaef6268 DependsOn: I6ea44b24b27a833534e378fa552e1930a73759f5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3384 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* FAPI functions to get/set Centaur FRU VPDBill Schwartz2013-03-013-5/+295
| | | | | | | | | | | | | Add Fapi functions to call cvpd device driver for get and set. Change-Id: I8cb2aba3c951fbe1a17278396517b355138ad364 RTC: 61991 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3141 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-086-34/+35
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI Interface to get the target on the other side of the DMI busBill Schwartz2013-02-081-0/+143
| | | | | | | | | | | | | | Add new fapiGetOtherSideOfMemChannel function Replace getAffinityChips with more general getChildAffinityTargets and added getParentAffinityTargets to find MCS from Centaur. RTC: 61987 Change-Id: I772ef95452215c54fdfab98998507e6db5a862d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3062 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Correctly check requested state in FAPI System Config Query FunctionsMike Jones2013-01-241-148/+141
| | | | | | | | | | | | The TODOs in the code to correctly return targets of the specified state have been done. Also targeting utilFilter interfaces have been used where possible to query targets Change-Id: I52f56ab6482bd2e6f1ddcf6a7fa24f6ca9c25103 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3006 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactor VPD code to eliminate redundanciesDan Crowell2013-01-152-26/+25
| | | | | | | | | | | | | | | | After noticing some redundant code and some odd include gymnastics I pulled all of the VPD related code (spd,mvpd) into a single vpd directory/module/component. This should make the addition of the centaur fru vpd simpler as well. Note: this is part of Story 39177 but not all of it, merging this early to not hold up the work for Story 44009. Change-Id: I7637a94d22e188050403ed5600b2d7f304c3d006 RTC: 39177 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2863 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Attribute Override. Bugfix checking num attrs in messageMike Jones2013-01-041-3/+4
| | | | | | | | | Change-Id: I86167f82c45a1fdbf26c1be3e6cf28432ca76327 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2807 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce trace buffer sizes.Patrick Williams2012-12-141-29/+28
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add PB and MK keywords to MVPDDean Sanner2012-12-131-1/+3
| | | | | | | | | | HW team needs to access PB and MK keywords form the CP00 record. Add to mvpd DD and FAPI. Change-Id: I4e8f186f2f09b950da954dcef91398548bef44e6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2644 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* HWPF: Attribute Override: Send clear-overrides message as async msgMike Jones2012-12-071-6/+15
| | | | | | | | | | | | | | | | The clear-overrides message is always sent from Hostboot to FSP after each IStep. The follow on set-overrides messages are only sent if there are actually overrides in place. If the mailbox is enabled and the FSP side of the Attribute Override firmware is not in place then the code will hang waiting for a response to the clear-overrides message. Change the clear-overrides message to be async so that the code doesn't hang. Change-Id: I58d908fbff81d94c9fe3a2b252622873f049285a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2596 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add FAPI Attr Sync Functionality and enable FSP-HB Attr OverridesMike Jones2012-12-065-174/+417
| | | | | | | | | | Change-Id: I64939aa0655659e48400bca0c4aa09afe333889c RTC: 46992 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2397 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* MVPD Accessor Function: #G RingsBill Schwartz2012-11-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Get/Set Repair Ring becomes Get/Set Mvpd Func. Passing record and keyword to generalize to include #G as well as #R The renames look like deleted and new files. Moved more common code to mvpdRingFuncs.C. Get/Set are thin wrappers. Add the #G keyword to fapPlatMvpdAccess and Mvpd DD Add another return code to mvpd_errors Add endian tranformation to fapi and fapi platform. Cronus needs this. Mvpd is in big indian. Word access wrapped in maros. Add set ability to set a smaller ring, shift the rest of the rings left set a larger ring, shift the rest of the rings right if it fits append a ring that was not there before, if it fits Much of the test case is #if'ed out pending mvpd dd write RTC 39177 I'm still working on adding #G and #R rings to procdata.dat which will cover part of RTC 51716. I run the complete tests in unit test. Change-Id: I5b04cd0fcff3046b8d0b7c8a4caf51da258187ee RTC: 52849 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2344 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Only enable candidate PSI linksCamVan Nguyen2012-11-071-32/+47
| | | | | | | | | Change-Id: Ie3cc120d05ac17126bde15b213a80701878f4a59 RTC: 50561 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2187 Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for PM AttributesDan Crowell2012-11-071-17/+0
| | | | | | | | | | | | | | | | | | | | Adding new HWP attribute xml files and associated Targeting changes to go along with them. The MURANO and VENICE xml files contain default values provided by Greg Still. We are still waiting on the final MRW definition to update the TULETA generation script. Also using this commit to add a few other error xml files for the HostServices procedures. We need this longterm to get the error parsing stuff working. Verified IPL against Murano and Tuleta configs. Depends-On: I3af3b2bf99b4dbedb6efeb2cb35e49ba066a9c19 Change-Id: I3a5be5a7b49c7c6d7e6179f5e28e046a38a12b1e RTC: 42293 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2002 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix proc_setup_bars fails on large config (4 procs 4 centaurs)Van Lee2012-10-241-17/+0
| | | | | | | | Change-Id: I8203c863f26aeb3a0ea20964e4c4bef64802c4e8 RTC: 50426 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2118 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Fix FSI FFDC CollectionDan Crowell2012-10-171-1/+4
| | | | | | | | | | | | I had some reversed logic that prevents FSI FFDC from getting collected correctly. I also made an unrelated change to improve FAPI SRCs that was bugging me recently. Change-Id: I86c480cb2234120eda26016621ab8c8269c04d72 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2018 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add fapiSetMvpdField functionMike Jones2012-10-171-0/+60
| | | | | | | | | | Change-Id: I112708de8f5de7af9cf328034b2b612cd53b74e9 RTC: 50183 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2006 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-121-1/+1
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Populate Attributes for HostServicesDan Crowell2012-10-101-23/+38
| | | | | | | | | | | | | | | | | | Inside the start payload istep a set of FAPI attributes will be read and copied into a specified location of mainstore so that HostServices runtime code can access them. There are 4 files that will be shared with HostServices code: - attribute_structs.H : common structures used to define data - hsvc_sysdata.C : list of required system attributes - hsvc_procdata.C : list of required proc attributes - hsvc_exdata.C : list of required ex attributes RTC: 41242 Change-Id: I3af3b2bf99b4dbedb6efeb2cb35e49ba066a9c19 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1893 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Allow automatic collection of register FFDC data when HWP error createdMike Jones2012-10-043-195/+288
| | | | | | | | | | | | | If HWP Error XML contains an element called <collectRegisterFfdc> which identifies the registers to collect as FFDC then when the error is created, those registers are automatically collected and stored in the error log. Also create Hostboot parsers to parse the data. Change-Id: I521527b97e0db0c808db81773ba0fe9aa00477ad RTC: 46029 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1866 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWP: integrate new version of proc_chiplet_scominit into HostbootVan Lee2012-09-241-23/+23
| | | | | | | Change-Id: I7253d1a10a90f66a6fd9dd3280cb2aa3744bdbef Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1844 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Missing file for Change Iebe9267eThi Tran2012-08-301-28/+155
| | | | | | | | | | | This change add a file I missed up upload for Change Iebe9267e: Support fapiGet/Putring, mem_pll_setup, and proc_a_x_dmi_pci_pll_setup isteps Change-Id: I2b9c0ee81816e2bfbc8044ba9e7a059969711703 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1633 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* HWPF: fapi::ReturnCode: Group callout/deconfigure/GARD requests against TargetsMike Jones2012-08-201-50/+37
| | | | | | | | | Change-Id: Ibd5c947a64e06a7d2ce6681c25f3b32e4a5f80b5 RTC: 45800 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1528 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add fapiSpecialWakeup interfaceMike Jones2012-08-161-22/+37
| | | | | | | | | | RTC: 46930 Change-Id: I7bddfeccd78278d96a367a9e5842fa504dedbe30 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1523 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Hardware CalloutsBrian Horton2012-08-131-25/+29
| | | | | | | | | | | | | | | | | | | Support for HW and Procedure Callouts, including GARD and deconfigure information. . Add errl functions to get the information; . Add errlog userdetail code to package callout data; . Add to errlog commit function to find callout user-detail sections and call a HWAS:common function to process the callout. . Remove gardLevel from Targeting hwasState field Change-Id: I01c7c3721e6fd843a0ba2ad4df8399f6db68b590 RTC: 41276 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1266 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add attributes for PHYP Memory MapDan Crowell2012-08-031-216/+13
| | | | | | | | RTC: 34095 Change-Id: I33b4820490898744e9849a52457db37c735e396b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1429 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Update FAPI Module VPD field access functionMike Jones2012-07-303-130/+272
| | | | | | | | | | | | | In a design meeting, it was agreed that the FAPI Module VPD field access function would be changed to take a record and keyword enumerator, rather than having a separate function for each MVPD field. Change-Id: I0072f2010dbb85ca9edd390ebd5b3730826f3ed0 RTC: 43796 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1404 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add set-pulse option to FAPI Ring functionsMike Jones2012-07-161-3/+6
| | | | | | | | | | | | This feature was requested in the memory interlock meeting with the HW team. There is no story associated, the implementation is just a stub for now Change-Id: Ief4a34c18c95978bada347ba737c3889998922c5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1342 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attribute Support for proc_setup_bars and mss_setup_barsMark Wenning2012-07-121-6/+1089
| | | | | | | | | | RTC: 42296 Change-Id: I9f470f9e41c22ed28bd0365aec23b91414258945 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1235 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Hostboot HWPF Attribute OverridesMike Jones2012-07-124-1/+319
| | | | | | | | | | | | This allows a user to override HWPF attributes on Hostboot from the Simics or VBU console using a FAPI Attribute Override text file. See the HWPF LLDD for details. Change-Id: Ia6d38906d266b38db084844513b11b30e25b7f97 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1244 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
* HWPF Attribute Support: ATTR_FUNCTIONALMike Jones2012-07-121-0/+62
| | | | | | | | | | | This HWPF attribute was requested by the HW team in order to query if a Target is functional. The common_attributes.xml file will be checked into eKB. The other code is Hostboot support. Change-Id: I451344a2c68e5e799c3da50097f1826470c0f771 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1332 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI ring access supportsThi Tran2012-07-101-22/+73
| | | | | | | | Change-Id: I92a9cd3d772276888aae4188154da6bd91aecb2c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1297 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up latest memory attributes needed by mss_scom_inits HWPVan Lee2012-06-271-182/+23
| | | | | | | | | | | | | - Also pick up two attributes from ei_bus_attributes.xml - Also pick up latest mss_eff_config.C Change-Id: Ica8b09fddf29ddb23b7cf822ff2c60063d2ee699 RTC: 41341 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1239 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWP utility functions : getMvpdPdrMark Wenning2012-06-192-4/+134
| | | | | | | | | Change-Id: I44b874f7f945f6a71640afeed6deed146f436753 RTC: 41533 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1099 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Decode HWP errors in error log FFDC data properlyMike Jones2012-05-241-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | HWP errors are detailed in error XML files. The fapiParseAttributeInfo.pl script parses these XML files and creates an enumeration of rc-values. When a HWP generates an error, the corresponding rc-value is set in the fapi::ReturnCode. When Hostboot sees a ReturnCode containing a HWP error, it creates an error log and adds the rc-value as user-detail-data. The fapiPlatCreateHwpRcDecoder.pl script generates a user-detail-data parser that outputs the error description from the error XML files. All well and good. In the old code, the rc_value enumeration used to be 0, 1, 2, etc. But this was changed to be a hash-code (for Cronus - so that a particular rc-value sticks with a particular error across builds), but I forgot to change the fapiPlatCreateHwpRcDecoder.pl script to use the same hash code algorithm as fapiParseAttributeInfo.pl, it still thinks that the enumerators are 0, 1, 2. Therefore, when user-detail-data parsing eventually works, HWP errors will not be decoded. This fixes the problem Change-Id: I700973a8dfa8dad43f3b1f66ace7f3e9a010ec68 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1090 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Check in proc_fab_iovalid HWP and enable its istep callingVan Lee2012-05-091-7/+74
| | | | | | | | Change-Id: I4c8df048178487d5b4f8d3a3e197099b7a2723b2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/947 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add Chip EC Feature supportMike Jones2012-04-301-4/+76
| | | | | | | | | | | | | | | Allows Chip EC features to be specified in Attribute XML files and queried using the standard FAPI_ATTR_GET attribute query macro. This removes the direct querying of chip name and EC within HWPs which leads to a more data driven approach because when a new chip EC level is released you just have to change the XML data file to specify which features (which can be bugs) have changed, the HWP code does not change Change-Id: Ie464a1b58246c21ac59f0d42fe265657a3576c31 RTC: 39684 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/901 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support targeting code commonalityNick Bofferding2012-04-244-7/+6
| | | | | | | | | | | | | | | - Moved common targeting code to own subtrees - Updated many components with header file changes - Implemented abstract pointer class - Implemented Hostboot specific support for targeting commonality - Changed attribute VMM base address to 4 GB (From 3 GB) - Removed tabs, fixed > 80 character lines Change-Id: Ie5a6956670bfa4f262f7691b4f0ce5a20ed289fe RTC: 35569 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/909 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Hostboot errlogs should cope with HWP error IDs greater than 255Mike Jones2012-03-273-62/+64
| | | | | | | | | | | | | | | | | | | | | | | | RTC: 39175 This is **part** of the work required for RTC 39175. When a HWP creates an error, the reason code is (HWPF_COMP_ID | errID). The errID is a single byte. Error log tags are automatically created so that the errors can be parsed. However at some point there will be more than 255 HWP errors so this scheme will not work. And more pressing is RTC 39175, the error IDs will change from 0, 1, 2, 3, to 32-bit hash codes. The new plan is to have a fixed reason code for HWP errors (HWPF_COMP_ID | RC_HWP_GENERATED_ERROR), the 32 bit error ID will be FFDC data which will be parsed by an auto-generated function. This also changes the expected HWPF unit test error to be committed by CXXTEST which is the subject of a request by Dan. Change-Id: I5669f2a53702649d4599556a9e380ec3725ca51b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/792 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Decode HWP FFDC in error logsMike Jones2012-03-211-11/+20
| | | | | | | | | | | RTC: 37921 Change-Id: I6c8bbe5e92eb6e22eb18cba3529128ae70a9786f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/768 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CFAM access of non-chip type targetThi Tran2012-03-121-21/+98
| | | | | | | | | | | | Updated from review comments Updated from review comments of set #2 Change-Id: Ia56b239954a1e3287440056b9ccd78634cc0f3a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/723 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fapiGetParentChip() does not return the MBA chiplet's Centaur chipVan Lee2012-03-051-1/+1
| | | | | | | | Change-Id: I976fda01917ab8e212584898c6ace1ce6426f2ba Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/712 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI breakpoint external interface implementationDoug Gilbert2012-03-051-2/+2
| | | | | | | Change-Id: I2d18e87cb8ce250935a129e3567b09e12ce191d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/699 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Minor fixes to target path decoding in TARGETING and HWPFMike Jones2012-03-031-31/+33
| | | | | | | | Change-Id: I029ab50189174de146f8855ac7b734994bb8de38 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/708 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Attribute Support. DQ AttributeMike Jones2012-02-282-5/+126
| | | | | | | Change-Id: I05e6f4f435574e25f65702c875e332e253927ff7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/686 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix DRAM Manufacturer JEDEC ID Code per latest SPD driverVan Lee2012-02-271-1/+0
| | | | | | | | Change-Id: Ie1eb917effda507545866906edb43b1b0e456cd6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/677 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud