summaryrefslogtreecommitdiffstats
path: root/src/kernel/cpumgr.C
Commit message (Collapse)AuthorAgeFilesLines
* Mechanism to detect low memory and cast out older pageDoug Gilbert2011-09-191-0/+32
| | | | | | | | Change-Id: Icce8e01f3d1cd2942f2b9ff802993da0441535ee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/344 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Ensure scratch operations happen on master core.Patrick Williams2011-08-311-8/+17
| | | | | | | | 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>
* 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
* Add userspace syscalls for PVR.Patrick Williams2011-07-291-5/+5
| | | | | | | | 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-291-11/+11
| | | | | | | 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>
* Reduce working threads to first core.Patrick Williams2011-07-251-2/+32
| | | | | | | | | | | | | 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>
* Shutdown and post status on HostBoot completionMike Jones2011-07-191-0/+16
| | | | | | | | 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>
* Remove heap allocation of xscom mutex.Patrick Williams2011-06-241-1/+2
| | | | | | | | | | | | | | 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 per-CPU mutex for XSCOM usage.Patrick Williams2011-06-081-0/+1
| | | | | | | | 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>
* Kernel support for processor affinity.Patrick Williams2011-05-261-0/+1
| | | | | | | | | Change-Id: Ie84a805bad58032085208a98b1b31393def681cb Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/100 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Move inline mtdec into arch/ppc.HPatrick Williams2011-04-211-6/+2
| | | | | | | | Change-Id: I65b2be9a5a5166cd946033e34cedd87345e55979 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/4 Tested-by: Jenkins Server Tested-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Remove unused isCPU0 function.Patrick Williams2011-04-141-5/+0
| | | | | | | Change-Id: I07c49d54352565061be3810bcd02217c95117f9d Reviewed-on: http://localhost:8080/gerrit/2 Reviewed-by: ALWOOD P. WILLIAMS III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Eliminate race condition in updating task->cpu pointer.Patrick Williams2011-03-311-2/+1
|
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-051-5/+5
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* Add skeleton of timebase manager.Patrick Williams2010-09-201-4/+3
|
* Enable -Wall and fix warnings.Patrick Williams2010-08-191-1/+1
|
* SMT support.Patrick Williams2010-07-071-21/+37
|
* Move SPRG3 manipulation to common ppc-arch file.Patrick Williams2010-06-281-4/+3
|
* Create init process, fix scheduler bugs.Patrick Williams2010-06-071-1/+1
|
* Add stub for decrementer interrupt.Patrick Williams2010-06-031-0/+5
|
* Add stub for syscall.Patrick Williams2010-06-031-1/+2
|
* Initial cpu / task structs.Patrick Williams2010-06-021-0/+72
OpenPOWER on IntegriCloud