summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Update autocitest to dump printk,traces,etc... when modules tests time outMatthew Barth2011-07-281-9/+19
| | | | | | | Change-Id: I39f8c72913160df0b2124725e9e7463d2e2f0ede Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/216 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add sandbox backing build checking to hb scriptPatrick Williams2011-07-281-0/+31
| | | | | | | | | Change-Id: I2d4c4a09a78befd5ac7a3ed70755c9324e215555 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/218 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
* Fix VBU XSCOM & HWPF test case failure due to VBU unsupported address 0x130F0012Thi Tran2011-07-273-3/+6
| | | | | | | | Change-Id: Ib44c3fa32220a4052682a4466a69e6459896a1f6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/215 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add hostboot dump tool for VBU.CamVan Nguyen2011-07-262-20/+597
| | | | | | | | | Change-Id: I1cbe2c8e847efaf6fe2c151774bac28e720d8c84 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/214 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-2527-283/+975
| | | | | | | | | | | | | | | | | - 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-253-22/+138
| | | | | | | | | | | | | 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>
* Create 'hb' utility script.Patrick Williams2011-07-253-19/+270
| | | | | | | Change-Id: Ib89bae2a3af6bf29d24e055727125eb1ee52c9f4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/211 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
* Update addresses used in XSCOM/HWPF test cases to work in VBUThi Tran2011-07-216-33/+100
| | | | | | | | | | | | | | | | 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-2024-283/+1055
| | | | | | | | | | | - 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>
* Add hostboot dump support.CamVan Nguyen2011-07-193-6/+641
| | | | | | | | Change-Id: I332db7fa717769f3c899a8f634b34dedd873c0f1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/196 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Shutdown and post status on HostBoot completionMike Jones2011-07-1913-18/+202
| | | | | | | | 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>
* Add user-space stub for task entry.Patrick Williams2011-07-182-6/+30
| | | | | | | | | | | This will prevent kernel space from needing to dereference user-space addresses for starting a task, which is safer and is easier for VMM. Change-Id: Icad3b832550cedbf291ed8b032840f4049fba18e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/202 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* fix mutex_unlock weak consitency bugdgilbert2011-07-151-0/+2
| | | | | | | Change-Id: Id73831f647cd07f6a12848dac9e45b2dc6c67f62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/201 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Linker support for extended imagedgilbert2011-07-153-436/+815
| | | | | | | Change-Id: I21acf1b870667aa3aa2617837bead3a1697db7c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/194 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* IStep DispatcherMark Wenning2011-07-1421-87/+645
| | | | | | | | | | | | - remove refs to include/src/usr/taskargs/ dir - use _start() macro in IStepDispatcher - post-review fixes - fixed - inadvertently ran copyright script on staged files Change-Id: I2b256524746d0eb25ed04e0835450e220dc65492 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/191 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* InitService changes for LLDD 0.7Mark Wenning2011-07-1431-1371/+1528
| | | | | | | | | | | | | | | | | | - implement task flags - add barrier to unit tests - startTask returns errlog handle - factor taskargs.H - add STRICT mode and fix results - add tasktest2 to replace example.C - add cxxtest as an explicit task at the end - cleanup todo's - post-review fixes - merge problem Change-Id: I073bd154a64013553c1863f9eb674cda2bf40a8d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/187 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Initial checkin of PageTableManager - RTC:3195Dan Crowell2011-07-147-128/+1750
| | | | | | | | | | | Add new delRange method to delete based on page numbers, part of RTC:3195 Plus code review comments from previous commit - http://gfw160.austin.ibm.com:8080/gerrit/188 Change-Id: Ie45365162cf1367c5c0dcc3afc2907a6ddfa53d3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/188 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
* syscall cleanup/scrubMonte Copeland2011-07-148-28/+169
| | | | | | | | | | | - 2nd pass - 3rd pass Change-Id: I5eb314c0c635aa42bc4d841065d9a9a786f8be4b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/198 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* HW Procedure Compile SupportAndrew Geissler2011-07-148-1/+1210
| | | | | | | | | | | - New .tcl scripts to be used to do the compiling - New hw procedure function for hw procedure writers to overload for their testing Change-Id: I90af3f4d7aea07f63ec7f52daf224070c944ccee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/190 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Define additional trace macros.CamVan Nguyen2011-07-122-1/+84
| | | | | | | | Change-Id: Ife9c116413537ff39bc37db47515d1f955dfdcc8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/161 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF const fixes and perl script updatesMike Jones2011-07-1211-66/+140
| | | | | | | Change-Id: Icb0393cac0e9143638b8d6811cc528404d29977c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/186 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Improve assert handling and options.Patrick Williams2011-07-069-20/+247
| | | | | | | | | | | | | - Allow a custom assert trace as an optional parameter. - Call a trace function instead of printk for most cases. - Provide a critical library assert (for syslibs, trace, etc.) - Provide a kassert function for kernel code. Change-Id: If24d57d0832a587258503b3fd0046c21da3712b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/159 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Adding Attribute Support to HWPF and some minor HWPF updates.Mike Jones2011-07-0516-706/+921
| | | | | | | | 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>
* Added support for individual trace buffersCamVan Nguyen2011-07-014-66/+442
| | | | | | | Change-Id: Ief2834b241df6ca2ab13ee2a440d9f081399e252 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/156 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Init service added twice to image.Patrick Williams2011-06-301-1/+1
| | | | | | | Change-Id: I98eeaf317ea0f27c248757eedb86de7c8616f5d3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/162 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial HWPF deliveryThi Tran2011-06-3046-57/+4063
| | | | | | | | | 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>
* TS_TRACE now dumps to trace buffer instead of printkMark Wenning2011-06-287-262/+295
| | | | | | | | | | | | | | | | -Minor change to cxxtestgen.pl script to bump the suite name and add whitespace - resolve conflicts in makefile and cxxtestgen.pl - fix TS_TRACE - add fixes from code review - add debug messages to trace modules not finishing problem - line over 80 chars, remove 10 sec delay - add 5 min timeout to autocitest - change check interval to 5 seconds instead of 30 seconds Change-Id: I11f18fbeed007590a4ca70c45d109071474a9864 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/154 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add device segment to SLB initMatthew Barth2011-06-245-2/+79
| | | | | | | Change-Id: Ia0c9bcf4840a31808018f595875d99fa6e282e2f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/155 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove heap allocation of xscom mutex.Patrick Williams2011-06-245-45/+12
| | | | | | | | | | | | | | Since mutexes are simply a uint64 with a static initializer, the xscom mutex is now a instance variable directly in the cpu object. Remove unneeded mutex_create function and changed the behavior of mutex_destroy. Change-Id: If6e1d1bf0083c32ef9e7502d27678811bdaf7e1e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/150 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Create a new pass to generate header files.Patrick Williams2011-06-241-1/+5
| | | | | | | | | | | | This pass is executed before trying to compile anything. Makefiles can now add headerfiles to be generated to the GENFILES variable and define rules for how these headers get generated. Generated headers should go into 'obj/genfiles/'. Change-Id: Ieab44f0559e1dd75f5426b67545c4914035d4c23 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/157 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Migrate device framework to use targeting.Patrick Williams2011-06-2113-61/+61
| | | | | | | Change-Id: I1ae855406e3061f10505eeccbcb2766a15581189 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/153 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Added _start entry point to the initialization serviceNick Bofferding2011-06-211-0/+32
| | | | | | | Change-Id: I0607c781f9a32fb2c4b6d1f365ba3cdf8af77956 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/152 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initialization Service (Flow Control)Mark Wenning2011-06-2116-62/+1632
| | | | | | | | | | | | | | | | | - save off changes before switch branch - rename to get rid of '_' in filenames. - split into separate files - adding errorlogs, saved off so CC guru could work - fix problem in vfs_main where we would crash if there is no _start in launched task. - refactor - fix problems with coding guidelines - add testcases for startTask and reportError - add fixes from code review Change-Id: I2ae34cb6097c466d4f6d0e41b4b32c2eba47e9df Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/145 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set up initial task link-register to point to 'task_end' function.Patrick Williams2011-06-202-3/+14
| | | | | | | | Change-Id: Id1b122d789b84eebd75feb3bdb7e1ca222e6d76e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/147 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Optimize functions for templatized devfw calls.Patrick Williams2011-06-201-101/+78
| | | | | | | | Change-Id: Ieaa874ba86244108bb30dc67fde638d9a78900db Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/138 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Added support for base targeting infrastructureNick Bofferding2011-06-1720-4/+4550
| | | | | | | | Change-Id: Ie32d18b421b63f067eaf49a3592368f4adc444aa Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/139 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial XSCOM deliveryThi Tran2011-06-1715-3/+849
| | | | | | | | Change-Id: I80278bf2e03b4e6403d9a36b8782b225dba29fe3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/144 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Create testcore directory for kernel-level tests.Patrick Williams2011-06-175-4/+8
| | | | | | | Change-Id: I4b6235edec59c0a97f53af431752d2f4dfabcfa9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/151 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial futex supportdgilbert2011-06-1725-232/+634
| | | | | | | | | Change-Id: I51a4f1117085ce23c7993c1a38e4124596636726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/141 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to CxxTest to allow CI testing through Jenkins.Patrick Williams2011-06-148-116/+149
| | | | | | | Change-Id: Iab9f19214d1d820936cab159bd509478972913cd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/146 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Check in initial (working) scripts for auto-unit testMark Wenning2011-06-132-0/+401
| | | | | | | | Change-Id: If783d16ba14e5443a6aa3faea97743f12d6e8cf0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/137 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix page rounding issue in malloc.Patrick Williams2011-06-091-1/+2
| | | | | | | Change-Id: I22c7d2b7c4d9d77b235efd6a3e0ff9280ac8a854 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/143 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Create per-CPU mutex for XSCOM usage.Patrick Williams2011-06-084-0/+55
| | | | | | | | Change-Id: I76ad5c1d553d544b52910afd82e2716781ea13b9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/140 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Errl support for device framework.Patrick Williams2011-06-029-71/+167
| | | | | | | Change-Id: I7849df2994312c6e91d9f86431c2d084c26b21cf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/99 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Add HMER access syscalls (as fastpath).Patrick Williams2011-06-027-15/+115
| | | | | | | | Change-Id: Icc7494986d19950a18cc9ee53fd5125c86096a72 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/105 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Device Framework support.Patrick Williams2011-06-0216-4/+1282
| | | | | | | | Change-Id: I133f58df309c7fc3a7faa261699eba66a6bae4be Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/98 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add user data macros, fix singleton for error logging.Thi Tran2011-06-017-24/+127
| | | | | | | | Change-Id: Ie093af3c3c1202563c47c01472a97dd36a3a184a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/106 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* CxxTest logs messages to trace bufferMark Wenning2011-06-015-34/+211
| | | | | | | | | | | | | | | | | | | - mark globals with g_ - thread safety - remove more tabs. - Add globals and accessors to track totaltests, failedtests, warnings, tracecalls. - Modify cxxtestgen.pl to add reportTotalTests() call - uncommented printk's in TestSuite.C - cxxtestgen.pl just prints out the test suite - exampletest.H has more descriptive test names, forces a FAIL, WARN, and TRACE - add a printk() to cxxtest module so that we know it ran. Change-Id: I3ff25b228f17371b6f84bdb16309015818867266 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/90 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added HID0 back to ppcconsts.SSteven Royer2011-05-261-0/+1
| | | | | | | Change-Id: I5f0f1bc52294e4dc4ece8af7b765dd8de453bdae Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/104 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update SPR list.Patrick Williams2011-05-261-31/+9
| | | | | | | Change-Id: I66c43fd0838991308c395e72186b887b3e67ce62 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/103 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud