summaryrefslogtreecommitdiffstats
path: root/import/hwpf
Commit message (Collapse)AuthorAgeFilesLines
* SBE move import`Shakeeb2016-09-0137-9472/+0
| | | | | | | | Change-Id: I726951318cdb19fd445af2f7910e0d6872eff18c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29086 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* alternate multicast implementationMatt K. Light2016-09-011-0/+1
| | | | | | | | | | | | | | | Change-Id: Ib689667b2443c5b673c08a52d9b20a81a81a8dba Original-Change-Id: I62116a2102dbb31f8ec538211c767c3bbcfd26dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23733 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29042 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FAPI2 - Enable register ffdc supportRichard J. Knight2016-08-252-342/+220
| | | | | | | | | | | | | | | | Change-Id: Ie57fce533cab3fea09aa58ad81364900e434d8e7 RTC:132226 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22626 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22657 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fapi Implementation of Level2 HWP p9_stopclocksSoma BhanuTej2016-08-241-0/+1
| | | | | | | | | | | | | | | Change-Id: Ic9138a0734201ac936b870a5ae6bc3e0b124d47e RTC:159632 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28578 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28579 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Plat support for getTarget(ordinal)Lateef Quraishi2016-08-171-1/+1
| | | | | | | | | | | | | | | | | | Added default V = plat_target_handle_t in template decleration Change-Id: I15e7a1c15f366940253a8e266bb7e78d56715fe9 RTC: 157141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28323 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28324 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Update prologs of mirrored files to have apache licenseStephen Cprek2016-08-1537-296/+518
| | | | | | | Change-Id: I89fc6bb96a1eaa582e58d73f6c893303bc2963d1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28245 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
* Update parseErrorInfo.pl to support collectFfdc tags for SBERichard J. Knight2016-08-111-60/+134
| | | | | | | | | | | | | | | | | | | | -Modified script to enable passing back from the SBE parameters for the collectFfdc fuction -Added sample code for collectFfdc tags to proc_example_errors.xml -Added sample collectFfdc function p9_collect_some_ffdc -Fixed compile issue in fapi2_variable_buffer_test which was a result of changes to the hwp_ffdc_classes generated by the script. Change-Id: I6abbbc05ed38e368eb0ff586a22cc5aba824bad4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27458 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Support HB to Cronus attribute dump/syncDean Sanner2016-08-111-10/+6
| | | | | | | | | | | | | | Change-Id: I13a4c3b355df9114813df6e21d6f8f53e7ef30f1 RTC: 127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26734 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27398 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Variable buffer api additionsRichard J. Knight2016-08-111-12/+44
| | | | | | | | | | | | | | | | | | -Added flipBit() and getNumBitsSet() support to fapi2::variable_buffer Change-Id: Ifb0be59520dc6cfa26a060e7981ff27f1e0b4b68 RTC:126566 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27943 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: LUCAS W. MULKEY <lwmulkey@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27950 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Ensure fapi2::Target honors platform value type.Patrick Williams2016-08-042-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The fapi2::Target template is as follows: template<TargetType K, typename V = plat_target_handle_t> In many places the code was using the default V type instead of preserving the type of the template. As an example: Target<T> getParent(void) const; // old vs Target<T,V> getParent(void) const; // new With the old variant, a Target<ANY, V> is converted to a Target<ANY, plat_target_handle_t> by the getParent() function instead of maintaining the V type. Added associated ecmd release ver-14-4-2-ekbonly for testing Change-Id: Ie613d658c59f5f6d3ce7be95f3b1e816b52582e0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22247 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27035 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Changes to support SBE error parsing in HB/HWSVRichard J. Knight2016-08-043-398/+597
| | | | | | | | | | | | | | | | | | | -Added code to parse SBE ffdc buffer passed back vi SBE FIFO -Enabled collectFfdc tag parsing in parseErrorInfo.pl script Change-Id: If6c139e613cc2d7ffd1bd97756b51e4b96e99cb3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26399 Dev-Ready: Deepak Kodihalli <dkodihal@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26744 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* fapi2: Update hw_access functions to honor platform value type.Patrick Williams2016-08-042-72/+72
| | | | | | | | | | | | | | | Added associated ecmd release ver-14-4-3-ekbonly for testing Change-Id: Ibdb3f981d5340bc507427fc4558be9f1ccac0663 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22257 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27050 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* fapi2: Update misc functions to honor platform value type.Patrick Williams2016-08-043-7/+7
| | | | | | | | | | | | | | | Added associated ecmd release ver-14-4-4-ekbonly for testing Change-Id: I636527a82b60f1d842e2a5619471309cd901f7bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22258 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27053 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* alternate multicast implementationMatt K. Light2016-08-042-0/+201
| | | | | | | | | | | | Change-Id: I62116a2102dbb31f8ec538211c767c3bbcfd26dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23733 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26141
* Unable to add FFDC to RC after hwp returns errorRichard J. Knight2016-08-011-7/+2
| | | | | | | | | | | | | | | | | -Updated ffdc execute path so that error is returned instead of being committed, this change will make the error flow similar to how it was in p8. Change-Id: I2bbabb441aea4007f8ab90d7a68f9b266ddf9929 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24068 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27633 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix ffdc.H pointer, tooling changesBrian Silver2016-08-011-1/+1
| | | | | | | | | | | | Change-Id: Ieedb79ea2ae95d6ddc62c0e117dc8abb514ad255 Original-Change-Id: Ia39df60855e93772f3fbdd2a9a5392cf79038862 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24672 Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27632 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add mcbist L2 functionBrian Silver2016-08-011-1/+1
| | | | | | | | | | | | | Change-Id: I22b81e31b4d0d840436e14774499491fb4f207af Original-Change-Id: I8b98c188d6a642eb49d89deffcbd697d9cf7afdc Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23895 Tested-by: Jenkins Server Reviewed-by: Craig C. Hamilton <cchamilt@us.ibm.com> Reviewed-by: Andre A. Marin <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27631 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* do not use iv_sev when executing with --empty-ffdc-classesMatt K. Light2016-08-011-4/+18
| | | | | | | | | | | | | Change-Id: I4247483f489e586b577f3eca484a9ad70385c709 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23485 Dev-Ready: Matt K. Light <mklight@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27630 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Need an option to allow HWP to return an error log to platform code.Richard J. Knight2016-08-011-5/+29
| | | | | | | | | | | | | | | | | | -Update ReturnCode object to include plat err pointer. -Modify FFDC code to capture error log pointer -Add FAPI_ASSERT_NO_EXIT macro Change-Id: I6e0f8fa05b923dd2ad407a33b72cbe5569c3d520 Original-Change-Id: I9d69535416be9d09434766cc15f7db447a72aa60 RTC:13220 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22572 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27629 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FAPI2 - Error/FFDC work related updatesThi Tran2016-08-011-44/+44
| | | | | | | | | | | | | Change-Id: I0fb4441d62a0360644010ea26c27215460a751e7 Original-Change-Id: I2c153d4362791d885b85fee0f4891a9239c6aec7 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19308 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27628 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Ensure FFDC return code is set even if using empty classesBrian Silver2016-08-011-4/+10
| | | | | | | | | | | | Change-Id: I04d80f91b9ccdf5ce0aaf920770458e7d015b971 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17984 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27627 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update FFDC mechanism to better handle targets, buffersBrian Silver2016-08-011-26/+32
| | | | | | | | | | | | | | | Fix bug in --empty-ffdc-classes, exectue() Change-Id: I7d18bf6176ec088d473de4dbfaca07b808996fc8 Original-Change-Id: I2a872efacbe68719495b7d40123db683c3a6db3e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17340 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27626 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FFDC collection for buffers, exectue() takes a sev parameterBrian Silver2016-08-011-3/+5
| | | | | | | | | | | | | Change-Id: I7ee62958df3c5167237b83bc2bfc0fd235351dc8 Original-Change-Id: Iffb9539211b57cf371432ae6a4468577b5a91aad Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16818 Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27625 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FFDC class generation changes for caps, errorsBrian Silver2016-08-011-27/+45
| | | | | | | | | | | | | | | | | | Change from lower-case to upper Fix method chaining for empty classes -Wall changes Rearrange headers to need only error_scope.H Change-Id: I7e62666e6258dbd0229dec61f6fa98a224b39808 Original-Change-Id: I034fd84d05f53f36079b2b50b4ab338bf8d5bdb9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16437 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27624 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Error/xml parsing and FFDC classesBrian Silver2016-08-011-0/+1479
| | | | | | | | | | | | | Change-Id: I1fd5adb9809734514ee0bb3b09b0e9637880bbd4 Original-Change-Id: Iddc92bb876dd07efe398255d7321ac6394eb4ae9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15966 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Brian Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27623 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* variable_buffer: Support get<OT>() / put<OT>() for incomplete buffer tailsJoachim Fenkes2016-07-191-6/+31
| | | | | | | | | | | | | | | | | | | Support getting and putting the last incomplete OT in a buffer that's not an integer multiple of the OT's size. Values will be treated left-aligned. Also add an assertion to get<OT>() to make sure we don't read beyond the end of the buffer. Change-Id: I527d21209c1694598526bfc815bfd7de38d0fb10 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26052 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add new addErrorInfo method to enable collectFfdc and collectRegFfdcRichard J. Knight2016-07-181-0/+22
| | | | | | | | | | | | | | | | -new interface to make it easy to add error info passed back from the ffdc collection functions. Change-Id: I0182492ee980b733a8db9f8d6cac4361470bb606 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27043 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27044 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix privileged typo in attribute xmlDan Crowell2016-06-231-2/+2
| | | | | | | | | | | Change-Id: Ic831309ef90d457af64592031d67a169004bd991 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24112 Tested-by: Jenkins Server Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26162 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add base FAPI2 attribute definitionsJoe McGill2016-06-231-0/+53
| | | | | | | | | | | | | | | | Add attributes needed for Cronus platform compilation to hwpf/fapi2 Adjust location of XML in hwpf/fapi2 tree Change-Id: Ief33eeba9f108be326c7ba6e7e8e6cc5b877ab31 Original-Change-Id: I7c6873335bc21327edf53319bd0753c352205480 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20918 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26161 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Packaging of memory vpd on Nimbus, MCA->MCSwhs2016-06-233-11/+11
| | | | | | | | | | | | | | | | | Change from MCA to MCS target. Update decode logic. Change-Id: I71408c25ce33cf6e342bb704b5d173f8d98229dc RTC: 144519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25403 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25471 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* add fapi2::getSpy with ring mode option to enable fastarray codeMatt K. Light2016-06-232-0/+32
| | | | | | | | | | | | | Change-Id: Ibb5c3e55e0904c8272b9279c5f5dcc5ff1ea7ef2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22475 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22476 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Variable buffer issues when inserting OT variable bufferRichard J. Knight2016-06-221-4/+8
| | | | | | | | | | | | | | | | | | -Added check for integral_type for OT insert. This change forces the user to insert only integral types using the generic insert interface. Change-Id: Ic207f855afff5e80d6bb342f94873964a0f60d16 RTC:151788 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25861 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25868 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* PutRing utils to scan ringsBilicon Patil2016-06-141-0/+10
| | | | | | | | | | | | | | Change-Id: Ieab183be571fda1013ef658568aee495c68c7100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21795 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21796 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add getChipletNumber to Target classSantosh Puranik2016-06-142-0/+25
| | | | | | | | | | | | | | | Change-Id: I78335d4c3b986d2733e47271457ea340b8ad043e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25392 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Dev-Ready: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25393 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add explicit RC checkers to ReturnCode classDan Crowell2016-06-132-1/+22
| | | | | | | | | | | | | | | | | | | We encountered compiler errors trying to do seemingly normal comparisons that hit the operator overloads. It required some non-ideal casting operations to make it work. These new functions push all of the casting logic into the class where it belongs. Change-Id: I566f12acbd698a625848514399aca1b7ec233496 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25473 Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25504 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix include of plat_target_filter.H in target_types.HMike Baiocchi2016-06-081-1/+1
| | | | | | | | | | | | | Change-Id: Ia2309f04e4511cc9cb8730d32c62fec554be16ad Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25406 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25459 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update bit-field of TargetFilter enum to match Pervasive NumberingMike Baiocchi2016-06-081-46/+53
| | | | | | | | | | | | | | | | | | | | This moves the bit-field numbering of the TargetFilter enum to a new plat_target_filter.H file. The plat_target_filter.H file added to this commit has the same numbering scheme of what was originally in target_types.H. Change-Id: Ib2fd08abc8a52481ffd00126a13287a29138e55b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24862 Tested-by: PPE CI Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24864 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Variable buffer problemsRichard J. Knight2016-06-081-16/+5
| | | | | | | | | | | | | Change-Id: I19eba345844ff3344939f77ec7e7fe8183e1b9a5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24725 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24727 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Procedure crashes when trying to query an EC featureRichard J. Knight2016-06-081-58/+0
| | | | | | | | | | | | | | | | | | | | -Updated queryEcFeature to have two parts, base attribute reading is now in a library, while feature checking logic is now in small individual inline functions. Change-Id: I4c3685d6a85946297af31f7f3da4d918bca88039 RTC:151184 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23025 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23030 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* remove old Target::getOtherEnd() methodMatt K. Light2016-06-082-29/+0
| | | | | | | | | | | | | Change-Id: I8fc759b33cbc20dbbe1d569b202a59e8258fe394 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24760 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Tested-by: Hostboot CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24761 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update ekb version of plat_error_scope.H to match new hostboot versionRichard J. Knight2016-06-081-3/+3
| | | | | | | | | | | | | | -fixed FAPI_ASSERT_NOEXIT macro so that it commits error by default Change-Id: I036bd84d8a7f60282ead67a4f160e0898c42d055 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24834 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24837 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add MVPD_KEYWORD_FIRST and MVPD_RECORD_FIRST to mvpd defscrgeddes2016-05-201-0/+2
| | | | | | | | | | | | | | | | These enum values help with test cases. Change-Id: I56db6d5221b6d3dd07c0da15b94bcce8ccbcad2b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24618 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24620 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Changes related to packaging of memory vpd on Nimbuswhs2016-05-203-18/+21
| | | | | | | | | | | | | | | | | | Create a HWP to process MR and MT keyword to map to memory vpd keyword. Change specialization from MCS to MCA. Change-Id: I426e4c7600e2158737c82e3c2380518c392ada5b RTC: 144519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23775 Tested-by: Jenkins Server Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23797 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix assert() in variable_bufferRichard J. Knight2016-05-201-3/+7
| | | | | | | | | | | | | | | | -Updated code to use fapi2::Assert instead of assert() Change-Id: I5184f1f41c7b0568fac8d98e6b38d4de1b76269f RTC:128525 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24261 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24263 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* add Target::isFunctional()Matt K. Light2016-05-192-0/+22
| | | | | | | | | | | | | | | | | | | -PPE and Cronus would like to check if a target is functional using different attributes. This method would abstract the checking. PPE would use ATTR_PG_* Cronus would use ATTR_FUNCTIONAL Change-Id: I59710cd118f756bed676fb94c38bbf0517f24730 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24721 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24722
* initCompiler: add getSpy to the ifcompiler platformPrachi Gupta2016-05-111-1/+2
| | | | | | | | | | | | | - Also, adds more error handling for missing attributes Change-Id: Iff5f360a0cc6632f0ec5d351b6eb67344b597c4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23320 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23321 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Cleaned up doxygen errors from ecmd buildKahn Evans2016-05-112-4/+3
| | | | | | | | | | | | | Change-Id: If262f520be9e468f14d77a78ffa16714c09813eb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23282 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23284 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add LAST value to MVPD enumerations for testcasesDan Crowell2016-04-281-1/+3
| | | | | | | | | | | | | | | | | Added a couple LAST enums to the record and keyword lists so that testcases can loop through all possible values without hardcoding anything. Change-Id: Ie32dfd6d88bb1a4b749f55471ea21bf73428c745 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23414 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Hostboot CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23415 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Modify freq & dep. files. Add cas latency & unit testsAndre Marin2016-04-201-1/+17
| | | | | | | | | | | | | | | Change-Id: I205bf48e54fb3c8f19f973f58f8ec1d4c7345a23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22632 Tested-by: PPE CI Tested-by: Jenkins Server Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Hostboot CI Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22633 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Make RC value 32-bit. Switch to required ecmd ver-14-3Santosh Puranik2016-04-181-5/+14
| | | | | | | | | | | | | Change-Id: I3567f66a62c2946f201965bb2221697d05085b01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21713 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22076 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud