summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting
Commit message (Collapse)AuthorAgeFilesLines
* HWPF Attribute Support: ATTR_FUNCTIONALMike Jones2012-07-121-25/+24
| | | | | | | | | | | 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>
* Preload PNOR VPD correctlyTerry J. Opie2012-06-181-4/+33
| | | | | | | | | | | | | | | - Handle Venice, Murano, Tuleta - Change SPD code to use VPD_REC_NUM attribute - Modify FAPI/HWPF tests to use present DIMM targets Change-Id: I2348a2da90ea85a966f3724f8b3694a0b8f03916 RTC: 40774 Depends-on: I7d1b41c9f9e87baa9d42b78bf4351e3b6d774cb5 RTC: 39133 Depends-on: Ia0f22c87f8bc3959324fa8347e191f2b47b4325c RTC: 35835 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/950 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up latest io_run_training HWP for X/A bus supportVan Lee2012-06-081-0/+9
| | | | | | | | Change-Id: I4794c1cd02624041746ff00a4627ba5968665e31 RTC: 39860 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1085 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pick up latest mss_eff_config HWPVan Lee2012-06-061-0/+98
| | | | | | | | | | | | Implemented util functions getAllChips, getAllChiplets, getChildChiplets, getAffinityChips. RTC: 41712 Change-Id: I625695a85d768e03365a91fb44b4f9d6525a4276 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1073 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details: Log Arbitrary AttributesBrian Horton2012-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add code so that a hostboot or procedure developer can save attributes into an error log and have them display in a human-readable way in order to aid debug and FA. All data is stored in errlog in binary format and decoded into strings and enum 'constants' with the parse function. Methods to dump and parse the attributes are auto-generated by the xmltohb.pl script. In addition, cleanup up Target User Details so that blanks lines aren't output and so that the attribute name isn't put into the error log and is instead added by the parse function (smaller errlog usage), and change to same coding style as other UserDetail functions (data put into buffer in ctor and not in addToLog function). following will be added in future story/task work: - parsing for complex attributes. - combining multiple attribute user details together instead of generating a separate log entry for each. Change-Id: I6baafa36ef095aafabb5bf86d6054bcb3db47019 RTC: 35275 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/944 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Support targeting code commonalityNick Bofferding2012-04-2424-151/+945
| | | | | | | | | | | | | | | - 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>
* Do not init FSI slaveDan Crowell2012-04-201-0/+7
| | | | | | | | | | | | | | | Added a new attribute SP_FUNCTIONS to control some of the functionality that the FSP may or may not be handling. Updated FSI code to key off of new attribute instead of looking for VPO mode Migrated over to using HUID for tracing/logging and added a utility function for other code to use. Change-Id: Ide410d088b24a15004236d39b3e4bde784248a52 RTC: 39704 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/877 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Ensure all Hostboot code uses ErrlUserDetails framework.Mike Jones2012-03-161-5/+7
| | | | | | | | | RTC: 36920 Change-Id: I82667c8e63e8a99b9cc7eb1dfbbbdbe1c3b2bb2a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/730 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add code to set MBA's under Centaurs functionalMark Wenning2012-02-291-0/+40
| | | | | | | | | - branch thi_enable_mbas Change-Id: Ib83227b1a1da09d558de433d565a02975ba9506b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/698 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC36927 - Refactor targeting codeMark Wenning2012-02-171-0/+102
| | | | | | | | | | - branch hwaspredicate - change name to PredicateIsFunctional, move to targeting/predicates Change-Id: I726af4b5b1db4bbe5de56992539df01bd2dca593 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/657 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC 35711 - Wrapper for VPO-mode attribute checkDan Crowell2012-02-071-0/+50
| | | | | | | | | The same code was in a dozen places so I added a wrapper function. Change-Id: I5b1d34e0f94b91289960c73670199ff22f4c6860 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/643 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Common Errl FFDC Classes: DCUT - RTC4289Van Lee2012-02-012-0/+21
| | | | | | | Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support host boot mutex attributesNick Bofferding2011-11-161-0/+94
| | | | | | | | | | | | | | | | | | | | - Prevented mutex attributes from being copied in target APIs - Added target APIs to get/tryGet mutex attribute references - Added testcases to verify mutex attributes - Added mutex attribute type to XML definition - Added test mutex attribute to system target XML definition - Modified attribute compiler to support mutex attributes and restrictions - Replaced 100000 cycle loop in synctest.H with nanosleep for 10 CTX switches - Added context switch time macros to time.h - Removed context switch time macros from taskwaittest.H and renamed existing macro calls - Removed context switch time macros from synctest.H and renamed existing macro calls Change-Id: I93fecfa75e00e509fa442e4dd5c9e3fd67866e98 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/491 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add Centaurs to target/attribute modelNick Bofferding2011-11-152-6/+2
| | | | | | | | | | | | | | - Create/update Centaur chips, MBS, MBA units - Add unit testcase to query the Centaurs - Update the Venice, VBU target instances - Increase max endpoint pairs to 10 - Other general model updates for compatibility, consistency - Register FSISCOM and SCOM operations with DD framework for Centaur chips Change-Id: If43bc57888e66b7d2ea53704ca703328eec844f9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/465 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-141-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Attribute Resource Provider.Patrick Williams2011-09-231-0/+44
| | | | | | | | | Change-Id: I731b19ea027393e375993136f125fff2f6fb31e9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/351 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix miscellaneous issues getting attributes from within HWPsNick Bofferding2011-09-211-5/+1
| | | | | | | | | | | | | - Fix duplicate weak symbol issue when using range filter within multiple libs - Fix FAPI target casting when calling HB macro with real target handle - Fix FAPI namespacing when calling HB macro to bridge attribute Change-Id: I6a187d1933aeb42e674e5236a81ae6145f3de583 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/352 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Implement support for generating the PNOR targeting imageNick Bofferding2011-09-197-605/+6
| | | | | | | | | | | | | | | | | - Generate PNOR targeting image as part of the build process - Load it into SIMICS physical memory - Access image from targeting service at correct virtual address - Bridge fapi attributes to host boot attributes using direct macro - Support multidimensional arrays for simple attributes - Removed support for fake PNOR image Change-Id: I45d986d69397940a165c850d0db0fdeccd137d4d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/341 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* HWPF: Add support for new System Config Query functionsMike Jones2011-09-141-1/+49
| | | | | | | | | Change-Id: I00220dc4a1ee4f630138d0ed87a943053a7a93d5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/337 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Revert "Support generating the PNOR targeting image"A. Patrick Williams III2011-09-137-6/+605
| | | | | | | | | This reverts commit c82ba14ada9c80565b95ad9d3d05c678591ae328 Change-Id: Ifd9a62779b13d237c9e4c5d2818df6e433f17021 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/338 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support generating the PNOR targeting imageNick Bofferding2011-09-137-605/+6
| | | | | | | Change-Id: I5233ea017d61d629da26aa63b628bb36187d63dd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/335 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implementing FSI driverDan Crowell2011-09-062-0/+17
| | | | | | | | | | | | | | -Initial work for FSI Device Driver (Story 3334) -Read/Write interface (Story 3550) Code is capable of basic read and write operations provided that the Simics models are updated Note: contains early work for FSI Initialization that should be ignored for now Change-Id: I08e795422de127b62c2d1629d7a4e0f12b21e348 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/287 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-2413-0/+286
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add target iterator and predicate supportNick Bofferding2011-08-237-16/+1093
| | | | | | | | Change-Id: I728bb312277591d81c0575e74878fba9f816b962 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/260 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Updated targeting assertion handlingNick Bofferding2011-08-161-3/+12
| | | | | | | | | | | | - Use trace assert feature - Move assertions out of 'if' checks Change-Id: I185d8d22fbdb81e62b09f13055e08d1de8d487e2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/235 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* I2C Device Driver SkeletonTerry J. Opie2011-08-153-0/+23
| | | | | | | Change-Id: I0b092ea67e5bb8789378041c8c3a6a3f5cf3025e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/242 Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Tested-by: Jenkins Server
* Migrate device framework to use targeting.Patrick Williams2011-06-211-1/+1
| | | | | | | Change-Id: I1ae855406e3061f10505eeccbcb2766a15581189 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/153 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Added support for base targeting infrastructureNick Bofferding2011-06-178-0/+1660
Change-Id: Ie32d18b421b63f067eaf49a3592368f4adc444aa Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/139 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud