summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding a basic interface and implementation to the Segment/BlockDan Crowell2011-09-067-17/+137
| | | | | | | | | | | | | path to update the LRU statistics when the PageTableManager code clears the reference bit. This is not meant to be a complete implementation (different Task is open for that). This is Task 3400. Change-Id: If67efd16ead6f68a74f5f5a698013c1b852864d9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/231 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix XSCOM assert on non-sentinel chipThi Tran2011-09-021-3/+5
| | | | | | | | | | | | | | | | Change virt addr detect logic for better performance Updated with review comments Updated with review comments from set 3 Updated with review comments from set 4 Change-Id: I16828c8c325bb9e825683545d28c6bad2562efa9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/288 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* HWPF: Replaced multiple HWP Invoker functions with a single HWP Invoker macroMike Jones2011-09-011-16/+26
| | | | | | | | Change-Id: I2323634dfb3a4cd3baff104b6e6e4a59439bd61e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/290 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* RTC 3346: Allow SPless control of ISteps within HostbootMark Wenning2011-08-315-3/+347
| | | | | | | | | | | | | | | | | | - initial commit - add splesscommand and splessstatus objects - factoring - findTaskInfo, ExtTaskInfo structs - doxygen cleanup - unit tests - cleanup, final - review fixes - take out splesscommand and splessstatus classes - 2nd round of review changes Change-Id: I6dce18072b5464a4b8c34e5f4ff639e38afa53d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/245 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Dynamic stack support.Patrick Williams2011-08-314-17/+183
| | | | | | | | | | - Create stack segment. - Allocate stack blocks on stack create. Change-Id: Ida90055afb68f208c479b5fdc19d3d931d026105 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/271 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ensure scratch operations happen on master core.Patrick Williams2011-08-317-34/+126
| | | | | | | | Change-Id: I970d645108de041d410599847edce877cb794015 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/275 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added %c and precision formatting support to trace.CamVan Nguyen2011-08-301-0/+39
| | | | | | | | | Added TRACSCOMP macros. Change-Id: If697b4d988a238b5cd06229853dded20bd0af3c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/286 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* HWPF: Add support for gard to Error InformationMike Jones2011-08-261-9/+40
| | | | | | | | Change-Id: I814df4879d3bf9b547d15c5ae9a8a3683bfbf9f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/279 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* map virtual address to physical address in kernelDoug Gilbert2011-08-255-1/+60
| | | | | | | | Change-Id: Id18e604facd517598a18968af3dff927026ad894 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/272 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix for printkd.Patrick Williams2011-08-251-1/+1
| | | | | | | Change-Id: I3af281d6e3ef2914b78298b587f098942e8a1c43 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/278 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add environment var to remove debug messages.Patrick Williams2011-08-243-3/+41
| | | | | | | | | | | | - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allocate zero'd page in block.Patrick Williams2011-08-241-1/+3
| | | | | | | Change-Id: Ieb56aa89190d7efd56c357245b24a979ee7ad79a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/270 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-24119-49/+2618
| | | | | | | 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
* Handle response from messages registered to a block within the base segmentMatthew Barth2011-08-232-2/+84
| | | | | | | Change-Id: I65be2258e5e6bd707797415a5376fd94c3bab68a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/265 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* 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>
* Add initial scratch (sprc/sprd) support.Patrick Williams2011-08-222-1/+55
| | | | | | | Change-Id: Ica416251241a2881459b2eb1ae0ad3c746de1200 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/267 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Error Info SupportMike Jones2011-08-1917-83/+755
| | | | | | | | Change-Id: Ib060599a4b64e768cbc75184a050e851c0a39c4e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/250 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Virtual File System module load and unloaddgilbert2011-08-178-5/+127
| | | | | | | | Change-Id: Iaa6a256a8a15ac48bfba5bc1cab292c5ac246166 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/253 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Finishing up PNOR RP code (RTC Task 3440)Dan Crowell2011-08-173-29/+12
| | | | | | | | | | | | | | | | | -Add calls to mm_alloc_block -Fix error responses to message -Cleanup some error handling -Code review updates Final piece of the PNOR puzzle - Task 3389 -Also added a check to autocitest that will catch initialization fails. -Added some error printks to message interface -Disabled test_messageReadWrite testcase Change-Id: I4f1207138a6cf4f86cf2b6f3f81fc5885b02699d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/252 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changes to errl to commit error logs to L3 RAM 7Monte Copeland2011-08-164-82/+283
| | | | | | | Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221 Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Tested-by: Jenkins Server
* 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>
* Allow multiple driver registrations of the same function.Patrick Williams2011-08-161-31/+33
| | | | | | | | Change-Id: I5fd9c222df4168ad6ae4f64307dd5e260141fa32 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/259 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Implement Kernel->User-space message bridge.Patrick Williams2011-08-166-19/+282
| | | | | | | Change-Id: Icf6fc9e10b1c39e981dddf180607b710c597112b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/249 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support msgq and paging data for blocks in base segmentMatthew Barth2011-08-152-4/+35
| | | | | | | Change-Id: I4f1775b6a843140be97f3c328155aa1654086723 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/254 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* I2C Device Driver SkeletonTerry J. Opie2011-08-156-0/+82
| | | | | | | 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
* Implement fapi::delay()Monte Copeland2011-08-151-1/+32
| | | | | | | | 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>
* Move fakePNOR to 5MB, copy fakeext image to sandbox, load fakeext/TOC into ↵Adam Muhle2011-08-151-0/+1
| | | | | | | | | | phys_mem Change-Id: Ie9243f22f7afbfd2d3112fa17fe74999467d2dd6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/251 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Optimize trace singleton usageCamVan Nguyen2011-08-112-6/+46
| | | | | | | | Change-Id: I0f367b8cb8dd855e21a3d74a7f4a9b29ce7508de Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/247 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add %s string formatting support to traceCamVan Nguyen2011-08-102-2/+7
| | | | | | | Change-Id: I14ea6717dfd8e98895345e86e32e82c637c26289 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/234 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Fix malloc to handle allocating range 2040 - 4088 bytesDoug Gilbert2011-08-101-1/+1
| | | | | | | | Change-Id: Ib58e4a06c0ffec789f4d7f6690f60d2c6fef1806 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/244 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allocate block system call stubMatthew Barth2011-08-104-4/+56
| | | | | | | Change-Id: Ief3476b5306bc231c9d3044b2736fcd195e840b1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/243 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update scratch SPR #s for P8.Patrick Williams2011-08-102-29/+17
| | | | | | | | Change-Id: Ia063a66b705b3272b7578ece420c84ac9c4c3d26 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/224 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server
* Upgrade Salerno memory size to 4MB.Patrick Williams2011-08-091-2/+2
| | | | | | | Change-Id: Icb089ac7896d12354b48377611d872b782b91652 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/225 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up mutex issues.Patrick Williams2011-08-091-5/+4
| | | | | | | | | | | | | - Final fix for mutex bug. - Document weak-consistency decisions in mutex code. - Prevent aggressive optimizations around lwsync/isync instrs. - Fix minor bug in futex_wait system call. - Optimize futex path with likely/unlikely hints. Change-Id: I26b54dee7e45bcb42195f730474b350b44f53cfc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/233 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Device segment MMIO map & unmap system callsMatthew Barth2011-08-085-37/+149
| | | | | | | Change-Id: I233c2677909c0c16536133c189ebbd21e4415e22 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/208 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* More PNOR RP work - Task 3440 (Story 3330)Dan Crowell2011-08-084-22/+31
| | | | | | | | | | | | | | | | | Also includes testcase work for Task 3388 Change-Id: Ib4ff920f351554fe457c171f601a38809ca6ac6f Functional PNOR RP code that works with the PNOR DD. Still missing the complete path but should be ready for use by the next level up. Task 3440 Change-Id: Id32a919f88da636c341116444e557387beaccdb2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/230 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
* Temporarily increase base image directory sizeDoug Gilbert2011-08-051-1/+1
| | | | | | | | Change-Id: I63188a35e9a5ea1922cd3a5a34b1ce752e008eac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/229 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* Adding fake PNOR Device Driver SupportAdam Muhle2011-08-031-1/+1
| | | | | | | Change-Id: Ic434159183bc4dd91c8ba588730cda7e0766c6c0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/223 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add handling for HvEmu exception.Patrick Williams2011-08-011-11/+50
| | | | | | | | Change-Id: I03a7460b347b47f4653a6f457d1d7711fc0a0512 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/209 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Linker checks for multiple weak symbols.Patrick Williams2011-07-291-13/+8
| | | | | | | | | | | | Cause the linker to stop the build if the image has multiple instances of the same weak symbol. This is to prevent, for instance, two different instances of the same Singleton<Foo> from being created in two different modules. Change-Id: I0204e69f191d63451a53b1f99dd226c9996bbccb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/217 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add userspace syscalls for PVR.Patrick Williams2011-07-293-20/+40
| | | | | | | | Change-Id: I27d51e0e9f2396a4ddd45d98d6b1004a17c9db46 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/219 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Reduce memory footprint to 3MB.Patrick Williams2011-07-293-73/+39
| | | | | | | Change-Id: I309bc63bdb27baa21f65de05e12324b9c4ce3407 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/212 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add usage statistics to PageManager.Patrick Williams2011-07-291-1/+4
| | | | | | | | | Change-Id: Ic7f158b07b5b37465af5b129153d63645ced1bad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/205 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* RTC 3367, 3321 TS_FAIL and TS_WARN should send to trace buffer instead of printkMark Wenning2011-07-282-11/+20
| | | | | | | | | | | | | - first commit - add cxxtesttest.H unit test - comment out warn and fail from unit tests, leave for sandbox builds - make citest finishes OK - merge problems with gerrit Change-Id: Id9157837e1511eb1aebb13aeadd2286a8dce5eb3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/210 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* PNOR Resource Provider (RTC:3387)Dan Crowell2011-07-286-1/+142
| | | | | | | Change-Id: Ifa47ad581c7d403b927708497b565d858b31ee0f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/213 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-253-19/+102
| | | | | | | | | | | | | | | | | - add IStep1 for demo - cleanup: remove inheritance, add errlog tags, etc. - inadvertently ran copyright script, this is OK. - more cleanup: indentation, etc. - add barrier for CxxTests - rename cxxtest_stub.C to cxxtest_data.C - merge problems on gerrit - fix review comments Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce working threads to first core.Patrick Williams2011-07-251-0/+74
| | | | | | | | | | | | | This is required to reduce the memory footprint of the kernel so we can fit within 2MB. This patch will cause (in simics) all other cores/threads to execute a 'doze' instruction and cease executing. In VBU, only 1 core will be active anyhow. Change-Id: If1bdc01393b02d802ba7595a88dcf3331efc2d4e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/203 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Update addresses used in XSCOM/HWPF test cases to work in VBUThi Tran2011-07-211-0/+2
| | | | | | | | | | | | | | | | Disable XSCOM and HWPF test cases so automated test doesn't fail Added XSCOM address in trace Re-enable XSCOM and HWPF test cases to be used with new fips build Change to backing build b0720a_1132.750 & fix test cases failure Change-Id: Iac54bdcde54d2d8168455e1f51f6ff309f14918f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/200 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VMM Improvements.Patrick Williams2011-07-209-51/+533
| | | | | | | | | | | - Segment Manager - Base / Device Segments - Block for Base image. Change-Id: Ic0c058e5c5b210ec1c48d30f6ed9f9837d74a3c8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/193 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* Shutdown and post status on HostBoot completionMike Jones2011-07-195-11/+97
| | | | | | | | Change-Id: If2ab46af85065b29695a1186ed331fd835944eb4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/204 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud