summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add VPD_REC_NUM AttributeDan Crowell2012-04-166-1/+804
| | | | | | | | | | | Added VPD_REC_NUM attribute to the processor chip and dimm targets. The value matches the sequence id of the target Change-Id: I7d1b41c9f9e87baa9d42b78bf4351e3b6d774cb5 RTC: 39133 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/880 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Fix deprecated hash-ref warnings in buildpnor.pl.Adam Muhle2012-04-161-18/+18
| | | | | | | | | | | | Tweaking how hash references are accessed in buildpnor.pl to avoid a deprecated method of accessing hashes, which raises an error in newer version of perl. Change-Id: Ifda48409fc07feb3ebd50a2d28ffec22d7505c48 RTC: 35043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/891 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Attributes: Support ATTR_EXECUTION_PLATFORMMike Jones2012-04-166-0/+45
| | | | | | | | | | | | | | | | Some HWPs (e.g. special wakeup) use different registers depending on which platform the HWP is executing on (FSP/Hostboot) to avoid arbitration problems when multiple platforms do the same thing concurrently. This attribute allows those HWPs to query the platform. Dean/John agree with this attribute. See RTC task 40409 for details. Change-Id: I761ba03b43905c7bdc268fae8ffb4c5796ece21b RTC: 40409 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/878 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>
* HWPF: Use fixed enum values for generated error/attr enumsMike Jones2012-04-164-73/+96
| | | | | | | | | | | Change-Id: Id0552daad9e6d9907cef7fa013fc6d75dbc8e185 RTC: 39175 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/879 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Code optimizations.Patrick Williams2012-04-165-1473/+1486
| | | | | | | | | | | | | | - Reduce DCBZ and ICBI calls in memory copy and init functions. - Reduce strlen calls in trace. - Set thread to low priority while waiting on in-kernel barrier. Change-Id: Ic9c23b1e26797ff393e5862819830de60554747e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/871 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix indirect scom error-status masks.Missy Connell2012-04-163-16/+14
| | | | | | | | RTC: 40465 Change-Id: I1e45d659189c41b0bd6892060889ac1816858f61 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/890 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Improve presence detection in HWAS codeBrian Horton2012-04-162-169/+128
| | | | | | | | | | | | | | | | | | | | | | Change presence detection logic in HWAS code to be a bit more general, in case something in the layout and structure of CLASS and TYPE changes. Instead of relying on a CLASS_SYS -> CLASS_ENC -> (objects that need physical detect) hierarchy, rely on the fact that we know all PROC MEMBUF and DIMM targets are the ones that need the platform-specific physical detect. Also, list of present targets will be culled so that only CLASS_CHIP targets are in the list for the call to the platform-specific routine that does the Chip ID and EC Level fetching. And, use new HUID attribute instead of local function for debug/error msgs. This is RTC Task 39791. Change-Id: I3f3e14ebcc02da15ab08a2c8d9151dbff6648a34 RTC: 35007 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/836 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Improve chip ID/EC-level determination in HWAS codeBrian Horton2012-04-166-41/+30
| | | | | | | | | | | | | | | Change hwas code that reads and stores chip ID and EC Level from the method that had different actions based on master processor versus everything else. Add a cause_effect action to correctly populate the SCOM register 0x000f000f from the simics LOGIC 0xff000009 register on a read. Task 40101 will remove these action files once FIPS is updated. Change-Id: Iaba30f0e52a24807fb5c658518e891b47f0f96c5 RTC: 40097 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/832 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cause build to fail if duplicate reason code / module id is foundBrian Horton2012-04-162-8/+15
| | | | | | | | | | | | | | | Change the scanforsrcs.pl script to die w/ an error if a duplicate reason code is found within a module. In addition, correct makefile so that the script is run all the time, so that errors are caught before jenkins. And more script to code_pass instead of gen_pass so that all files it needs are created before it's run. Change-Id: Idd5fe546207920e9561091bbed1817efc04f2ebc RTC: 38731 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/869 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* stdlib.h Add callocMike Jones2012-04-142-0/+16
| | | | | | | | | | | The pending proc_slw_build HWP wants to use calloc. Patrick agreed that we should add calloc to Hostboot. Change-Id: I27dee327446f5b48de33c494231aaa4710f40342 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/893 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
* Reorder citest script for module start/complete.Patrick Williams2012-04-141-2/+2
| | | | | | | | | | | | | | | | | Changed the citest script to read g_ModulesCompleted before g_ModulesStarted. Otherwise, g_ModulesStarted value can be stale relative to the g_ModulesCompleted, so they appear to have the same value which is the indication that the test cases have completed. Instead read g_ModulesCompleted first, which will be smaller than g_ModulesStarted unless we really are complete. Change-Id: Ifeaf7cefbcfe481fab41804308af0e7c5dccf293 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/898 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move bbuild to b0409a_1213.810Dan Crowell2012-04-111-1/+1
| | | | | | | | | | Choosing the latest 1213.810 build for now, pending a response from Charlie about what driver we can rely on sticking around. Change-Id: I38ba7e8b0e3bff43ec882ab05c68413424a6dcb0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/882 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix deadlock in synctest.HPatrick Williams2012-04-111-30/+37
| | | | | | | | | | | | | | | A barrier was reinitialized by the testcase driver task prior to all the previous tasks leaving the barrier. This causes a permanent deadlock for the next set of tasks. Add a task_wait call to ensure all children have exited the barrier (and exited) prior to reusing the barrier. Change-Id: I537090da662d79796ada42befd1a12c7acdaa148 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/872 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cause assert to crash a process rather than exit cleanly.Patrick Williams2012-04-102-8/+14
| | | | | | | | | Change-Id: I3a890aa624b5733b8b1bf423e13f4567027dae19 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/870 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add HUID AttributeDan Crowell2012-04-107-68/+1961
| | | | | | | | | | | | | Added a HUID attribute to every target and filled the value in for the existing system configurations. Updated mrw script to generate the HUID as well. Change-Id: Id8f53e548b97fd293cfac4e4b1d0e6bda848c4ea RTC: 39270 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/822 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Attributes: Support ATTR_CHIP_HAS_SBEMike Jones2012-04-093-1/+39
| | | | | | | | | | | | | This was reuqested by Jeshua. One of his HWPs will run on both Venice and Murano and needs to know if the chip has an SBE in order to initialize some SBE related registers. Venice has an SBE, Murano doesn't Change-Id: I8e606a6168873f8aef4fdd11e0d3f4e1cb8597d9 RTC: 39971 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/823 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Byte swapping functions in endian.hTerry J. Opie2012-04-092-26/+42
| | | | | | | | | Change-Id: I6015d0f59a8191f456cb4ece524fe4e6ec67dc07 RTC: 39734 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/828 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Preload PNOR with required VPD dataTerry J. Opie2012-04-096-3/+281
| | | | | | | | | | | - Add 512K of MVPD data - Add 256K of SPD data Change-Id: I9b907e795b7b56d3c09f13c376f86f1f2dc627ae RTC: 35838 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/811 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* fix prcd_server.tcl and prcd_compile.tcl to better detect/handle errors.Brian Horton2012-04-092-16/+16
| | | | | | | | | | | | | | | | | | | user reported an issue w/ the tool, where the build wasn't happening, but the prcd_compile.tcl script reported no error. investigation showed that the prcd_server.tcl script was not able to create the sandbox directory in /tmp because the OS had removed the /tmp/hwp directory. fixes: . server script will make the /tmp/hwp directory each extract time . if server script has an error, the msg back to the compile script will start ERROR: . compile script will look for ERROR: messages and report them to the user as a server script error and exit w/ an error code. Change-Id: I90dee6d57e807fc274e0a44210412d7007c199b0 RTC: 39966 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/821 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement FSP MailboxMark Wenning2012-04-099-590/+1071
| | | | | | | | | | | | | Modify IStepDisp to communicate over the mailbox Q to FSP. If there is no FSP, spin off a task to emulate FSP and communicate with the hb-istep user console on VPO or Simics. RTC: 38871 Change-Id: I2a75a05fbdc559db516a711bff46a49e82580bb0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/812 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Build Tuleta PNOR image.Patrick Williams2012-04-064-5/+30
| | | | | | | | Change-Id: I0967f385e7859fa2f2b9f9e6e179a6efe11bbcab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/835 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Patch for HWAS to work with hb-istepMark Wenning2012-04-062-9/+6
| | | | | | | | | | | | | HWAS stubs (istep 6) are numbered 3, 5, and 6 but are in the table as 0,1,2 . When hb-istep calls istep 6.3 it will get a "not found" error. Short term solution for this sprint is to renumber the stubs to 0,1,2 . This will be fixed permanently in another patch Add IStep Stubs for all ISteps in IPL Flow Document (task 39253) Change-Id: I7647c4405e1a19a83fe35af5ca6152b6585123d4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/834 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Mailbox service providerDoug Gilbert2012-04-0515-100/+2022
| | | | | | | | | RTC: 35323 Change-Id: Ifd626870fcc31f94a684f8a19fdc7816e092a7fa Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/798 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updates to HWAS code: istep 6, presence detect logicBrian Horton2012-04-0519-508/+878
| | | | | | | | | | | | | | | . remove hwas functions in istep 4.* . add new hwas functions to istep 6.* as per 0.99 ipl flow . split hwas into common and platform specific layers for hostboot/fsp sharing . add presence detect logic . add chip id/ec logic, including ATTR_CHIP_ID (Story 35542) Change-Id: I436fe54b1a7f7547cbc9e19beda2d47105c11871 RTC: 35777 RTC: 35542 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/800 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix broken map::operator[].Patrick Williams2012-04-052-1/+6
| | | | | | | | | | | | | | | | According to the STL documentation, 'insert' should do nothing if attempting to insert an item that already exists. This allows [] to be implemented as a form of insert(pair(key, data_T())). Our insert was actually updating the data portion of the map, which was causing operator[] to always erase the data portion of any lookup. Change-Id: I5b2ae1934dbd81d71df4b56d83e2f04f53f0e525 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/825 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tool to prepare releases.Patrick Williams2012-04-051-0/+1604
| | | | | | | | | | | RTC: 38208 Change-Id: I0c4b2196aa8db9a3ec2d390819775d018a402d05 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/818 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> 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>
* MVPD Device DriverTerry J. Opie2012-04-0416-230/+2516
| | | | | | | | | | | | - MVPD test cases - Add temp binary image file - Adjust SPD/DIMM Pres Detect tests to operate on 1 DIMM. Change-Id: Iaaacd4787ba8e8a8d74f3c427507d98a5f0b218c RTC: 35329 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/777 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Automating creation of PNOR image with TOC and Section data.Adam Muhle2012-04-0419-601/+918
| | | | | | | | | | | | | | | | | Wrote buildpnor.pl which builds PNOR image based on pnorLayout.xml file and input binary files. Setup makefiles to create PNOR if input files change and to handle make clean. Updated PNORRP to support new section offsets and new MVPD and DIMM VPD sections. Also updated PNORDD to use 4 MB of L3 Cache as fake-PNOR. Change-Id: Ic40670a45a53211a2414570d7fe5632e19bd44ed RTC: 35043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/819 Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactor InitServiceMark Wenning2012-04-0443-1768/+844
| | | | | | | | | | | | | | | | Finish join() conversion, remove TaskArgs Cleanup Initservice Cleanup ExtInitService Cleanup IStepDisp Add SPLess Halt & Shutdown command. Implements code for Tasks 35508, 3855, 36929 and 38870 . RTC: 38196 Change-Id: I554655412b529ef6cd143fea361a39bd584d18b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Disable Multiple Centaurs due to Simics bugDan Crowell2012-04-041-0/+6
| | | | | | | | | | | | We need to temporarily disable multiple Centaurs in our config until the Simics models work again. Right now they get FSI errors. Change-Id: Ia963ad7e8c90664bfa7d70b8aa2c963d634bbf06 RTC: 39901 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/820 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* fix first dimm -- noticed that it was missing the 0.Brian Horton2012-04-031-2/+2
| | | | | | | | | | | | noticed that the first dimm in the VENICE.system.xml file is incorrect - it was missing the number 0 in the name and physical path. i've fixed it (as well as my script that put it in there, just in case i have to rerun that again.) Change-Id: Ife1b5e96f22cec7ee23b244179f3244704afface Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/809 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Add mss_ddr_phy_reset procedure to HB code baseThi Tran2012-04-037-196/+763
| | | | | | | | | | | Update from review comments Change-Id: I300b5b855aa61cd4a73d3e6ac5959071904b96fb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/782 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Perl script processing Tuleta MRW and generated TULETA.mrw.xmlVan Lee2012-04-032-0/+7869
| | | | | | | | | | | - generate 8 logical DIMMs target per physical DIMM - use strict and XML::Simple parser RTC: 38209 Change-Id: I37f0fdee5468424b1564e5aff7e725a205bf4b20 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/778 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Update bbuild level to pick up centaur.act and new scomdef filesVan Lee2012-04-034-55/+1
| | | | | | | | | | | new bbuild will be b0330a_1213.810 RTC: 38362 Change-Id: I4ee508d8a77efea8b49f013ea207e64c8362786c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/789 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Minor fixes to enable error log parserMike Jones2012-04-033-32/+39
| | | | | | | Change-Id: If0ca350e5a791900e667c457668ee5200dfc9eb9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/810 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove simics patches for indirect scomsDan Crowell2012-04-035-502/+0
| | | | | | | | | | | | | Task 38013 Latest bbuild has the updates for the buildIndScom.pl so we can remove the patches. I also deleted the p8_pnor.act patch that I forgot earlier Change-Id: Ibcc8c79cb82590b9110eeaf91e8f5d9bed5fa934 RTC: 36813 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/814 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix FSI FFDC collection thread bugDan Crowell2012-04-032-10/+15
| | | | | | | | | | | | Fixing a possible multi-threading issue in how the FSI driver collects FFDC. I am keeping track of the Task that hit the error to avoid hitting the mutex twice. Change-Id: Ic48cc046e1a23c67df84802c51307be645a06a8d RTC: 35287 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/806 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Create attribute dump-to-trace functionDan Crowell2012-04-035-1/+168
| | | | | | | | | | | | | | | | | | | | | | Work for Task 38385 I modified the attribute parsing script (xmltohb.pl) to generate a debug function that will loop over all targets and trace out the value of every defined attribute. Note that this is not the permanent direction, eventually we will do the parsing offline using the debug framework. This is a stop-gap until that is ready. For review I have a copy of the trace output here: /gsa/ausgsa/home/d/c/dcrowell/public/hostboot/RTC_35202_output.txt RTC: 35202 Change-Id: I038dfd0fd0eb10b25203fe91fa23933fd24fe62f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/770 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Full support for Scom TranslateMissy Connell2012-03-308-245/+2489
| | | | | | | | | | | | | | | | Includes Xbus, Abus support and all indirect scom address ranges known to date. Task 36903 - Scom Translate for A and X Bus Task 37697 - Code updates for Scom Translate Abus/Xbus Task 38765 - fix for Indirect Scom/Scom translate for MBA targets currently not yet supported Added Murano XML targets for Xbus and Abus Final Merge with Murano/Venice on 810 verified Change-Id: I75d9e642efc4e020e39a2b87ab541cfa5ecd56ba Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/761 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Prevent double registration in device frameworkDan Crowell2012-03-307-93/+219
| | | | | | | | | | | | The device framework code will log an error if more than one function is registered for the same operation/access/target combination. Change-Id: Id5136c389250ed26d7b62ff3b71116bba54ceb89 RTC: 38760 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/805 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Improve std::map by using a SplayTree container.Patrick Williams2012-03-2910-188/+2214
| | | | | | | | | | | | | | | | | Originally std::map was implemented as a linked list. Some of the maps in PORE and PRD code will be big enough that this is very inefficient. Converted std::map to a binary search tree implementation based on the Splay-Tree algorithm. RTC: 34071 Change-Id: If77c017f5d95920f8010991e7f087cbe571ca2e9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/790 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update bbuild to b0326a_1211.810Dan Crowell2012-03-281-1/+1
| | | | | | | | | The previous bbuild got deleted. Change-Id: I6a6970a43ff09c8777f0f1870325306e05907d79 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/803 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Make MURANO config work in SimicsDan Crowell2012-03-2821-599/+131
| | | | | | | | | | | | | | | | | | | This is work for Task 38048 -Updated bbuild to an 810 build with the latest Simics support -Pulled support for Salerno from build tools -Changed DEFAULT_MACHINE to MURANO -Updated testcases to follow error logging guidelines -Fixed up some FSI error handling bugs -Disabled FSI loopback on VENICE (fix with Task 39187) -Disabled a few testcases (see Impediment 39188) Verified both MURANO and VENICE configurations Change-Id: Ie7761f49c9e653489c8c4dad261b1c8852fa7548 RTC: 35596 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/791 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix I2C/EEPROM tests to work when there are no I2C TargetsTerry J. Opie2012-03-274-73/+67
| | | | | | | | Change-Id: I22112ca863b19759eec9080742148bd71751b144 RTC: 39190 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/793 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Indirect Scom Error checking addedMissy Connell2012-03-278-23/+688
| | | | | | | | | | Also added a patch for the action files so that I can allow the testcases to run. Change-Id: I86e39b5b8efd31ba8ea3b037470f88be68ec5818 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/702 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support P8 interrupt presenter.Patrick Williams2012-03-274-81/+234
| | | | | | | | | | | Task 35765 RTC: 35561 Change-Id: I9fd382fa1005b593d5bef5a258810a70956129d7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/788 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update HB tool directories and VBU tool namesThi Tran2012-03-2710-60/+1178
| | | | | | | | | | - mww branch hb-istep-notimeout patch 3 fix SeqNum Change-Id: I1d676ae7d2a3f3e9114ea00f5d3542aa280fdd52 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/781 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-278-81/+140
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Move MBOX to extended image, make dd interface privatedgilbert2012-03-276-199/+260
| | | | | | | | | Change-Id: Ie1a94fb5f9f8da23c57af0cda2afaee88284fd2a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/758 Tested-by: Jenkins Server Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Infrastructure to allow HWPs to look for specific PLAT errorsMike Jones2012-03-232-11/+25
| | | | | | | | | | | | | | | | | | | | | | | Currently when PLAT firmware (e.g. FSP, Hostboot, Cronus) attaches an error log to a fapi::ReturnCode, the ReturnCode value is FAPI_RC_PLAT_ERR_SEE_DATA, all a HWP receiving the ReturnCode knows is that there is a PLAT error and it cannot look at the data (it is PLAT specific). There will be future scenarios where HWPs need to look for specific errors code from PLAT. The example given by Joe McGill is ADU_LOCKED, a HWP may want to retry a SCOM operation if the error is ADU_LOCKED. The way to do this will be to define a PLAT return code value in fapiReturnCodes.H called FAPI_RC_PLAT_ADU_ERR. PLAT code would set this special value and attach its error log. Then HWP code can look for this special value. This change is simply to allow PLAT code to specify the return code value when attaching an error log to the ReturnCode. Change-Id: I6bc3f0b4d3350cc3eed52fa947a5bf4a885095a5 RTC: 37970 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/785 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud