summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Hostboot support for running Sapphire on FSPDean Sanner2013-08-211-0/+10
| | | | | | | | | | | | | | | Key Changes: --Distinguish between Sapphire SPless/FSP --Place HOMER image at top of memory --Allow SPIRA to be outside of 128MB "HDAT" window --Don't clear the PORE BARs in Sapphire mode --Force payload address to 0 if in sapphire mode Change-Id: I1e4d5bb68dad51e4408a568217b08a6aadef2494 RTC: 73481 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5361 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Do not enable PCI/PHB BARs when starting PHYPDan Crowell2013-08-071-1/+10
| | | | | | | | | Change-Id: Ie01a1a2966a2ed6e7ca0a14ec9a4ab54f779c7e3 CQ: SW213092 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5697 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
* INITPROC: Hostboot - proc_prep_master_winkle 1.12Thi Tran2013-07-241-0/+10
| | | | | | | | | | SW208962 Change-Id: I5144fa3304a58ba5e7cfdea1ea6c34ca8eda34db Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5459 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add support for ChangeSinceLastChecked bitsBrian Horton2013-05-174-89/+293
| | | | | | | | | | | | | | | | | replace hwas changedSinceLastIpl bit to a bit for different services (ie, GARD, mem diag, psi diag, etc) and a subscription mask; this will be used by hcdb code - when a target changes, the mask will be copied into the bits field, and then services will clear their bits when they process the change. also update and create new hwas predicate to handle new attributes, as well as targeting utilities to set and clear the bits. Change-Id: Ie4a29500d07d7722f77ae2e89459e79a8b1e535b RTC: 63434 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4343 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Handle the PR keywordBrian Horton2013-05-151-6/+3
| | | | | | | | | | | | | | | | | Add support in the HWAS code to handle the PR keyword, to potentially force processors to run with less cores than are available. Move FRU_ID from fsp-only to common, so that the PR keyword code knows which procs are to be grouped. This work involves changes to HWAS Common code, as well as hostboot and FSP platform-specific code. Change-Id: I6d437a68c37f51edbd6d0d4741f2193892f80a6b RTC: 35077 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4221 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce FAPI->TARG attribute access code sizeMike Jones2013-05-061-0/+26
| | | | | | | | | Change-Id: I5fe3e7be1780d6034d2c52ef0dac6799f3c89d3b RTC: 70572 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4276 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* OCC DMA SupportAdam Muhle2013-04-291-0/+2
| | | | | | | | | | | | | | | Added support to get LIDs from either PNOR Ext Img or through mailbox DMA from FSP. The Extended Image path is fully tested, however the mailbox DMA code can't be tested until FSP support is available. The OCC function will be enabled with RTC 50987. Change-Id: I798ea19b2ca566288ff4ce64ce7440de20703496 RTC: 51076 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3845 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixes for GCC 4.7Patrick Williams2013-04-171-77/+77
| | | | | | | Change-Id: Ief0b9202e13bd70cf0de84ca3cb20f5c6df4d3d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4035 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Extend Attribute Override/Sync to work on Targeting attributesMike Jones2013-04-152-0/+402
| | | | | | | | 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
* Need to disable interrupt sources before waiting for interrupts(MPIPL)dgilbert2013-04-081-1/+1
| | | | | | | | | RTC:41868 Change-Id: I57891102fc0c96c156a9a69467c95645e4848703 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3018 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support generic PEER_TARGET navigationNick Bofferding2013-03-294-45/+284
| | | | | | | | | | | | | | | - Updated attribute compiler to lay down FSP specific PEER_TARGETS - Added common predicate to filter targets with specific value for attribute - Added generic PEER_TARGET navigation facility to filter utilities - Added support for platform specific attribute accessor specialization - Added target function to return target based on HUID Change-Id: I190087ee7fb24e80185bc955bd994ee14512a704 RTC: 41735 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3796 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attribute sync from FSP to HBCamVan Nguyen2013-02-203-60/+89
| | | | | | | | | Change-Id: Ia177f591c9bb295d0435ed913d11bac7a0601405 RTC: 51687 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2964 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 DMI busBill Schwartz2013-02-081-29/+46
| | | | | | | | | | | | | | 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: Allow automatic collection of register FFDC data when HWP error createdMike Jones2012-10-041-23/+22
| | | | | | | | | | | | | 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>
* Add node as default parameter to masterProcChipTargetHandle()Brian Horton2012-09-051-24/+26
| | | | | | | | | | | | | | Node will default to 0, so no callers have to change. For hostboot, callers will ALWAYS keep this as 0. For FSP code, node could be different. Change-Id: Ib78004dbf89cdee2cfceda6a0c8a54c96380bee1 RTC: 45742 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1465 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Performance and size optimizations - inline simple methodsBrian Horton2012-09-051-26/+25
| | | | | | | | | | | | | | | Move the code for some of the 'simple' methods (ie, {}, or simple methods that just set a value or return a value) from the .C file into the .H file, so that they're inlined. Saves in both size and performance. Didn't measure performance gains (not sure I can in a simulated environment..) but generated .list files look much better. Size - hbicore_extended.bin dropped from 1442928 to 1426544 (16K, 1%) Change-Id: I6915cba77520b4a28237c557760ababcca781804 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1464 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for HWAS state predicateNick Bofferding2012-08-272-23/+286
| | | | | | | | | | | | | - Created new .C/.H for HWAS state predicate support - Updated testcommontargeting.H with HWAS state predicate testcases - Updated common makefile to include HWAS state predicate file - Updated predicates.H to include the HWAS state predicate RTC: 46236 Change-Id: If7552abab270f06ab538144cf299b27460e51394 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1563 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Miscellaneous support for x86 targeting builds in FSPNick Bofferding2012-08-151-29/+59
| | | | | | | | | | | | | - Updated makefiles delivered to FSP to include NFP context mk directives - Updated makefiles delivered to FSP to consolidate subtree directives - Updated abstract pointer type to handle 4 byte x86 pointers - Updated attribute resource provider to use updated abstract pointer Change-Id: Ib924ae40c250d968e9ccbb9cffb1eb38bb747cdd RTC: 39737 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1519 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement attribute sync from hostboot to fspRichard J. Knight2012-08-133-23/+199
| | | | | | | | | | RTC: 41245 Change-Id: Icb7eac8cdcc6a9bc4d19bd2e307f352b835f2df9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1485 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support tactical FSP specific sectionNick Bofferding2012-08-081-22/+24
| | | | | | | | | | | | - Support single FSP attribute section (final support in story 35451) - Add new targeting service code - Added unsupported section check to attribute resource provider - Updated targeting image compiler to create FSP specific section Change-Id: I11bed7638a6f4743c3199c36cb12a24f09d0bd66 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1472 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move getMasterCore to namedtarget.C/HMark Wenning2012-08-081-7/+0
| | | | | | | | | | | | getMasterCore() has hb-specific code and will not compile in fsp RTC: 46451 Change-Id: Ib4d704ae6c0b5ae0dee87aed14e6bee9c678adec Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1490 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement proc_set_pore_bar HWPMark Wenning2012-07-301-0/+8
| | | | | | | | Change-Id: I95562f9c3bb85e3b283020f62beaf65752281167 RTC: 42150 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1393 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* 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-2418-0/+3226
- 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>
OpenPOWER on IntegriCloud