summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/plat/fapiPlatUtil.C
Commit message (Collapse)AuthorAgeFilesLines
* Removing some more old fapi1 and hwp codeDan Crowell2016-04-211-340/+0
| | | | | | | | | | | | | | | Deleted all of the old fapi1 code Moved potentially reuseable occ code to a new dir Deleted a variety of p8 hwp files Change-Id: I8b6ab72fef3f1413d919bdd21bc88f2c4f59c5c3 RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23075 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* P9 Isteps: Created directory structure for istep 14 wrappersPrachi Gupta2015-12-111-1/+1
| | | | | | | | | Change-Id: Idad8c430afef013a91e0c206d4fff80fc45053c0 RTC:137652 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21501 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Function to set Nest Frequency based off DIMM memory capabilityaalugore2015-09-181-1/+1
| | | | | | | | | | | | | | | | | -Needed for 32x32GB DIMM support -Finds max capable frequency of system and all present DIMMs and deconfigures any DIMM that cannot run at desired frequency -If necessary, Sets Nest Freq and triggers SBE update Change-Id: I9bba92f55f1b67ff4a15d79113f19d39272ec72d RTC:122884 Depends-on:I1dca7196cd02a2704a238665b73b522c9e103936 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17829 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Workaround for fapiMalloc fragmentation issueJay Azurin2015-09-041-1/+14
| | | | | | | | | | | | | | | | | | Added a macro that returns the next highest power of 2 number of pages for a given buffer. Implemented fapiPlatMalloc() so that it calls the macro for buffers larger than 1 page size. This can prevent excessive fragmentation when allocating very large buffers. CQ:SW317751 Change-Id: I8eaef95ba4381026377a1eab0fe620b2954c8230 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20255 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added support for core scoms special wakeup in HBRTElizabeth Liner2015-02-241-1/+16
| | | | | | | | | | Change-Id: Iab301d045c389d30fa860fd9b148eed6b2df52e0 RTC:88347 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15732 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Data streaming from a hw procedure - simple solution to consoleAndrew Geissler2015-01-221-1/+3
| | | | | | | | | | Change-Id: Icbf4b70acbe3909211294be9f0faed338763fc55 RTC: 34190 CMVC-Prereq: 949573 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14799 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add nanosleep to hbrt.Patrick Williams2014-11-061-7/+0
| | | | | | | | | | | Change-Id: Ia89c6839ed9b0e184516aeffcf873fd7baaec9a5 RTC: 118022 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14381 Tested-by: Jenkins Server Reviewed-by: Christopher Cain <cjcain@us.ibm.com> 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>
* FAPI_ERR trace not saved in error logBill Schwartz2014-07-231-2/+4
| | | | | | | | | | | | | Increase important trace added to log from 256 to 384. Change plat process FFDC traces from FAPI_ERR to FAPI_DBG Change fapiReturnCode.C add callouts to FAPI_DBG Change-Id: If3f569e0a350594af3659a9df2a9376102ea9ae2 Backport: release-fips812 CQ: SW259748 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12083 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HBRT fapi wakeup supportDoug Gilbert2014-03-201-15/+41
| | | | | | | | | RTC: 98665 Change-Id: Ib9e9f8f3656989975cc08a29304ba7faa25c59e4 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9364 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Port FAPI code to HBRTDoug Gilbert2014-03-201-1/+47
| | | | | | | | | RTC: 96621 Change-Id: I9fa0188796df0dfb73a54c8c2e8581ac65e9f75d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9152 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot Serviceability Review Part 2Mike Jones2014-02-141-15/+13
| | | | | | | | | | Resolving TODOs and ensuring error logs have correct callouts Change-Id: Ic2e65427487fb91553ffe4ed6e3ed922004963ba RTC: 92837 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8374 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Error XML: Allow callout/deconfigure/gard of DIMM(s) related to MBARichard J. Knight2013-10-101-8/+3
| | | | | | | | | | Change-Id: Ibd067f73cf381b18eab5e48cf1f72f961450a1f2 RTC:81669 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6208 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>
* Add severity parameters to fapiLogErrorStephen Cprek2013-10-031-2/+23
| | | | | | | | | | | RTC:80889 Change-Id: I7474e5a44cbc44151224a26ae60153b9a0160b29 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6240 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI updates from HostServicesCorey Swenson2013-07-101-1/+1
| | | | | | | | Change-Id: I0d8f0fb43ead61a8a37f7f9ca7be12efec09e144 RTC: 52953 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4738 Tested-by: Jenkins Server 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>
* 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>
* HWPF: Hostboot errlogs should cope with HWP error IDs greater than 255Mike Jones2012-03-271-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* istep breakpoint supportDoug Gilbert2012-02-031-0/+6
| | | | | | | Change-Id: I592c617963f810209a9ab76345a8c568d14af62c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/629 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* HWPF: Enforce correct fapi::ReturnCode usageMike Jones2012-01-311-6/+3
| | | | | | | | Change-Id: Id5f2c7c4ebef5fa880133dd8ba353d69def10bbc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/628 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HWPF: Reduce number of Hostboot FAPI trace buffers from 4 to 2Mike Jones2012-01-211-6/+2
| | | | | | | | Change-Id: Ie4429dfd9ed16f0676886641996de925bbd69764 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/619 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for system and target attributes.CamVan Nguyen2011-11-291-3/+3
| | | | | | | | | | Support for endianness and 32bit platforms. Miscellaneous changes requested by cronus. Change-Id: I696ea556a9f35ec88defff217ece0a6c4e6802f3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/511 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errl commit with component IDMonte Copeland2011-11-021-1/+1
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Added Hwp to execute initfilesCamVan Nguyen2011-10-271-0/+72
| | | | | | | Change-Id: Ie597c23eadc51b7463487eff9316a30ad04d88e5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/455 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* HWPF: Change Util functions to have C symbolsMike Jones2011-10-171-13/+4
| | | | | | | Change-Id: I759cf5f5163fd61ab87abdd80315d48f22215a2c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/437 Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server
* HWPF: Ensure all fapi functions start with fapiMike Jones2011-09-141-2/+2
| | | | | | | Change-Id: I817d1c630dc0d10d456274841a2c4d75fc5e4692 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/342 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Common Scan Tracing ReduxMonte Copeland2011-09-141-0/+27
| | | | | | | Change-Id: Idca69173153f9ffedab37df22438ee600a0d9150 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/336 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Added fapiLogError() function.CamVan Nguyen2011-09-071-0/+21
| | | | | | | | | | Added function template for setHwpFfdc(). Change-Id: Iba9aab22aba57556e025a3848fa4565e3eea6265 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/325 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-0/+22
| | | | | | | 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
* Implement fapi::delay()Monte Copeland2011-08-151-1/+31
| | | | | | | | Change-Id: Id24144813b72005d410a12ec5a400d7d50afef00 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/227 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Adding Attribute Support to HWPF and some minor HWPF updates.Mike Jones2011-07-051-1/+2
| | | | | | | | Change-Id: I278c782f98439f26e8535dfda026542b7bbfd641 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/163 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Initial HWPF deliveryThi Tran2011-06-301-0/+39
Update after pass-around review Change-Id: I8f81dd7820b61607e9a98d17c81e74fface42c54 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/160 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud