summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Support code coverage in extended modules.Patrick Williams2012-10-0920-409/+822
| | | | | | | | | | | | | | | | | - Reduce optimization (to -Os) to fit when doing coverage profile. - Remove errl storage area from base image. - Add GCC function attributes to sys library functions. RTC: 36933 Change-Id: Ic83011a2444ef5b735db0446a14a0af34187eebf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1908 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move to b1002a_1241.810 bbuild.Van Lee2012-10-051-1/+1
| | | | | | | | | - b0926a_1239.810 was deleted causing kenjins build failure Change-Id: I102258a41d983b79d96156cb8aec80c08496139e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1961 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update SPY FAPI functions to take meaningful spy name instead of integer IDRichard J. Knight2012-10-044-155/+516
| | | | | | | | | Change-Id: I5fb9d797600d5ab9f02509b480f11ac104486ef4 RTC: 48208 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1891 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Allow automatic collection of register FFDC data when HWP error createdMike Jones2012-10-0428-959/+1103
| | | | | | | | | | | | | If HWP Error XML contains an element called <collectRegisterFfdc> which identifies the registers to collect as FFDC then when the error is created, those registers are automatically collected and stored in the error log. Also create Hostboot parsers to parse the data. Change-Id: I521527b97e0db0c808db81773ba0fe9aa00477ad RTC: 46029 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1866 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Attribute: Add ATTR_MNFG_FLAGSMike Jones2012-10-043-24/+51
| | | | | | | | | | | | | On Hostboot/FSP, this is a simple pass-through to get the corresponding Targeting attribute Change-Id: I57a4ffe26eff8cace3584df311552d73880088c5 RTC: 34182 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1933 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Andrea Y. Ma <ayma@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWP: integrate mss_eff_groupingVan Lee2012-10-047-26/+701
| | | | | | | | | | | | - dynamically allocate temp space to 1024 bytes space for retrieving attribute - mss_eff_grouping.C v1.10 - mss_eff_grouping.H v1.5 Change-Id: I7becf983aa9722f97b4fd8babc7c65fcd0175ac6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1730 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove Salerno and non-present Murano unitsDan Crowell2012-10-047-379/+53
| | | | | | | | | Change-Id: I64c2d979d3b7a92ef6563e52cf6a3459a4ba7cd2 RTC: 45796 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1896 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix incorrect page count in PageManagerDan Crowell2012-10-031-27/+29
| | | | | | | | Change-Id: Ib234df5b96275b0174994712d5b250681625f148 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1928 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update bbuild to b0926a_1239.810Van Lee2012-10-031-1/+1
| | | | | | | Change-Id: I89a47aafe55c185f1add364202a605db8cfd2fe3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1919 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added proc_thread_control hwp and enable calling of it to activate threadsCamVan Nguyen2012-10-036-110/+951
| | | | | | | | | | | Change-Id: I92f5542d93e41cb90da81603761387e5194fc3d9 RTC: 42817 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1734 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Merge latest reviewed mss_eff_config HWPs into HostbootMike Jones2012-10-036-731/+1877
| | | | | | | | | | | | The mss_eff_config restructuring change has been tested by Mark Bellows in Cronus VBU. Change-Id: I665ecfd545daf83151c5797114f1927491ece31d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1875 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>
* Update some HWP files that changed namesMike Jones2012-10-0320-439/+337
| | | | | | | | | | | | | Some HWP files changed names, the prefix proc_ was replaced with p8_ There are no functional changes here. Change-Id: I7fa6409d0457df6a67c4c56386c09566dddec338 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1895 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix intermittent ATTN PRNG failures.Brad Bishop2012-10-033-12/+20
| | | | | | | | | | Failing (repeatedly generating the same number after some number of calls to the prng) about 20% of the time. Change-Id: I2d429856ecb5c3492aa414dfd3124d73af0878c0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1886 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add mnfg flags to the targetting dataayma2012-10-012-0/+88
| | | | | | | | RTC:45804 Change-Id: I1ac87519e2f64eac5c18a923b3784676c5bab733 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1910 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add in new nominal frequency attribute.Andrew Geissler2012-10-012-0/+16
| | | | | | | | | | | | The FSP code will calculate the nominal frequency for the system by parsing the module vpd #V data and will write this attribute. Hostboot can then use it as needed. Change-Id: Ie748d36b88f9d8b3ab2639742dbe471ed35a42b3 RTC:45236 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1906 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add attributes and target types for the pnor device to add it to targeting filesayma2012-10-014-5/+138
| | | | | | | | | RTC:47730 Change-Id: Iecd2f5e123356a7e01921c41fd6327618b5f3043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1881 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tool to analyze HWP filesBrian Horton2012-09-2637-176/+651
| | | | | | | | | | | | | | | | | | Scan hardware procedure files and look for: . if file has special IGNORE string, ignore (ie, initservice files) . if file doesn't have '$Id:' tag - report it (if -m option used) . if file has '$Id:' tag, print filename and version Several different reporting options are supported. In addition, make target added for obj/genfiles/hwp_id.html and this file is now in the fsp.tar file that will be shipped. Change-Id: Iac56d4a2a839fac0c4522ceaa9eb11f16ca9c199 RTC: 35726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1651 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enable Legacy FSI Mode for Buf HW204566Dan Crowell2012-09-262-67/+55
| | | | | | | | | | | | | Murano DD1.0 has a bug in the new 1:1 FSI clock logic that causes the slave presence detection to lie. As a workaround we will temporarily enable 4:1 mode to do the presence detect. Change-Id: I828e52e5840b782d3ee894bcc0b3118a562c2af5 RTC: 48896 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1841 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Make use of random init and scrub support.Brad Bishop2012-09-258-193/+219
| | | | | | | | | | | | Call increment address, random init and scrub hwp. Removed a couple TODOs. Use FAPI macros for invoking hwp. Change-Id: I2a6c88c24d626d5fdc5e85eaa18d60b9d1c24f87 RTC: 46187 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1722 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWP: integrate new version of proc_chiplet_scominit into HostbootVan Lee2012-09-2413-166/+397
| | | | | | | Change-Id: I7253d1a10a90f66a6fd9dd3280cb2aa3744bdbef Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1844 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* integrate new version of existing HWPs into hostbootVan Lee2012-09-2415-651/+1910
| | | | | | | | | | | | - added mss_eff_config_rank_group.C Change-Id: Ie6b2b2b81137892d6753e1497cfe877852ff30a5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1720 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix build issues trying to do 'hb errlparser' buildBrian Horton2012-09-242-2/+3
| | | | | | | | | | | | | . mismatched and not namespaced reasoncode . missing include file Change-Id: Ibda649d74da50b74f41b5269476558ba1d5d7cc3 RTC: 48351 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1710 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set up POSITION attribute for DIMM targetsVan Lee2012-09-244-2212/+2166
| | | | | | | | | Change-Id: I7633b8c624c54cb447910a3a58212901e650ae3a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1843 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Removed workaround for SW145497Patrick Williams2012-09-241-8/+0
| | | | | | | | | | | Task 42921 Change-Id: Ia763402c654e3e2f881a6646b7ced77597c7d473 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1775 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Sync timebase to slave cores.Patrick Williams2012-09-242-2/+43
| | | | | | | | | | Change-Id: I196e58be48195f653ab16a74dedafabafbd07bbc RTC: 47013 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1774 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed addCopyright.pl so does not add trailing whitespaceZane Shelley2012-09-241-31/+37
| | | | | | | | Change-Id: I75827ed028d7273b1ef590779df23fc89a65f567 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1735 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Process Maintenance Command timeoutLarina DSouza2012-09-2411-95/+501
| | | | | | | | | | | | | When a maintenance cmd timesout, set the target/s WorkFlowStatus to the appropriate state such that the state machine can take further action. RTC: 41894 Change-Id: Iaf5b2b5ab07f9269379b011b720df760e92e178f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1200 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixes for winkle state.Patrick Williams2012-09-216-28/+44
| | | | | | | | | | | | | | | | | | | The memory profiling tools sometimes encountered a condition where the kernel stack was becoming corrupted. I tracked it down to the winkle code storing the winkle-save state at the wrong end of the stack. Moving the winkle-save area to the bottom of the stack, which is where I originally intended it to go. Also noticed that the task issuing the winkle was in "running" state while waiting for the cores to come out of winkle. Ensure that the kernel updates the task state with a non-running status while we are waiting for winkle to complete. Change-Id: I07a56ea6f24cbc09362f9227d81915da5bc9f148 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1737 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove patches for instruction start.Patrick Williams2012-09-183-141/+0
| | | | | | | | | | Task 43959 Change-Id: I6990f8c35a17da764c5905a3fd4ebba9183571a3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1773 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed xbus io_run_training failure under simicsVan Lee2012-09-162-39/+39
| | | | | | | | | | | | - S1 only has xbus1 Change-Id: Ieb9c64302866f6f3457e7174bf509f50a39034f8 RTC: 47150 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1708 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enable proc_setup_bars in simics - crash resolvedMark Wenning2012-09-161-13/+0
| | | | | | | | | Change-Id: I0a56686acb2b0816256d2f618f4e9b79c2b4b94b RTC: 44948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1681 Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix duplicate proc_pba_bar_config filesMark Wenning2012-09-165-519/+210
| | | | | | | | Change-Id: Ic0f562cbc4abd75de3760777320865cee9986539 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1729 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Optimization - do PutScom vs PutScomUnderMask if the combined bit maskCamVan Nguyen2012-09-163-48/+50
| | | | | | | | | | | enables all 64 bits Change-Id: I6d679b3e240728cee1d42f5534c3d9815272d5e1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1709 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for Non-zero HRMORDan Crowell2012-09-1620-346/+572
| | | | | | | | | | | | | | | | | | Changes to kernel code to support detection and use of HRMOR offset in memory Changes to tooling to handle the real memory offset New interface to retrieve the physical address that corresponds to a virtual address To test, run these commands before starting up Hostboot: system_cmp0.cpu0_0_05_0.write-reg HRMOR 0x8000000 proc_venicechip_cmp0.phys_mem.del-map p8Proc0.l3_cache_ram 0 0 RTC: 46032 Change-Id: I50ab248f941218a3a14a8f0fc12a551b56dc7cf3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1553 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix compile warnings in hbfwMissy Connell2012-09-161-1/+1
| | | | | | | | Change-Id: Icabcc03b64d0fa5ae14f9edff58b9fbc7fbce8ac RTC:48476 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1721 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Trace: Remove extraneous va_end()CamVan Nguyen2012-09-161-2/+0
| | | | | | | | | Change-Id: Ia9b856252b00c5294b1891133bef24d502809c89 RTC: 35514 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1714 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* MDIA interface for PRD to determine MDIA is running.Brad Bishop2012-09-164-47/+116
| | | | | | | | | | Change-Id: I3d23b584fb28a66eb2c92cb7c272b5fde59983f4 RTC: 45395 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1718 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Temporary attention handler workaround.Brad Bishop2012-09-167-2/+95
| | | | | | | | | | | | Of missing simics support for p8 global firs. RTC: 46448 Change-Id: I1493e86af73ac9c511ee6f6a5689be8d79488b3a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1560 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Prashanth S. Acharya <prashanthacharya@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix isFspTargetInstance result when building cacheNick Bofferding2012-09-151-0/+1
| | | | | | | | | | | - Updated isFspTargetInstance to update return value when building cache Change-Id: Iaa18e05ebcda8920a368691752a493c3b52a7708 CQ: SW164822 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1772 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed bugs in addCopyright.plZane Shelley2012-09-101-12/+21
| | | | | | | | | | | Removed extra space at the end of inline comments. Fixed bug when matching COPYRIGHT line. Added support for .inl, .y, and .lex files. Change-Id: I760bb0f46ad9d28b7d935d6d0b10b46cc292eedb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1648 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add "MDIA mode" interface stub.Brad Bishop2012-09-102-22/+39
| | | | | | | | | | Change-Id: I864630bd63323acba39ef316edee085893d59c00 RTC: 45395 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1659 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactor unit test for attnsvc module.Brad Bishop2012-09-107-708/+168
| | | | | | | | | | RTC: 40441 Change-Id: Id65e4241d3f9afcb142a910980c525b41186bc19 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1364 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: LARINA M. DSOUZA <larsouza@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PSI and FSP attribute types for hwserver.Andrew Geissler2012-09-073-24/+35
| | | | | | | | | | | Muruli requires these for his RTC story noted below. This should be co-req'd or checked in with feature 844814. Change-Id: I37838d29e3dde29544675fada4be92ff586458f3 RTC:43017 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1657 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Re-enable PNORDD fake-pnor test casesAdam Muhle2012-09-074-151/+325
| | | | | | | | | | | | | Setup fake-pnor related test cases to malloc memory and treat as fake-pnor. This allows testing fake-pnor without requiring a reserved chunk of L3 to use as fake-pnor space. Change-Id: I24d7176b8ae7ff57839b1f5349be86d7d239ee58 RTC: 44938 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1557 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler workaround broken randint function.Brad Bishop2012-09-071-15/+5
| | | | | | | | | | Periodically randint isn't so random and this fake PRD module doesn't make any progress. Change-Id: Ia7d7d9acc0c9188d8a8e55219c2db5c699da31bc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1697 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove unneeded mutex lock/unlock on hwas proces callout set/get functions.Brian Horton2012-09-072-65/+51
| | | | | | | | Change-Id: I9f0907b271f01d1bbbbce7c5492bb34338e2cad9 RTC: 48001 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory profiling tools.Patrick Williams2012-09-075-62/+468
| | | | | | | | | | Change-Id: I4a9cfc1f55c09ff6d02dce80889ac2e3150ab137 RTC: 44504 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1619 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Nap instruction sometimes executed with wrong permissions.Patrick Williams2012-09-067-1903/+217
| | | | | | | | | | | | | | | | | | | When executing the nap instruction, all thread state can be lost. This was causing r0 to be lost, which contained the system-call number for the idle thread to request permission to execute nap and as a result 'task-yield' was executed instead of 'cpu-nap' after the idle thread took its first nap. Re-arranged the sreset code that handles nap-wakeup to deal with thread-state being lost when entering nap and instead using the previously saved task-state from the 'cpu-nap' system call. Change-Id: Id7468a8577c4d7b273b23bc97e7dd040555e7b67 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1567 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow processors on logical nodes != 0.Patrick Williams2012-09-0612-320/+334
| | | | | | | | | | | | | | | | | Created per-node arrays of CPU objects rather than a single array for the entire system. These are created dynamically as CPUs are enabled. Also disabled support for P7 due to the PIR layout being different and hence would have needed two different sets of assembly code. We have been running exclusively on the P8 Mambo model for a while. RTC: 42815 Change-Id: Ib92de8a7c07c2e700a3b7f0c03c64d484b447ca2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1630 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set "high" thread priority as 2 rather than 3.Patrick Williams2012-09-053-33/+30
| | | | | | | | | | | | | | | | | | | | | The Power processor has instructions of the form 'or a,a,a' that allow code to change the priority of a hw-thread relative to the others. We initially used 'or 1,1,1' as low priority and 'or 3,3,3' as high priority. This is used in, for instance, spinlocks to reduce the priority of a hw-thread while waiting for another thread to perform an activity. This code originally came from HAL. In reading the Power ISA closer I realized that 'or 3,3,3' has no effect when in user-space code, which means that a spinlock-like effect in user code is going to end up with the thread stuck at low priority until the next context switch. To prevent this we are going to change from 1/3 to 1/2 as the priority levels. Change-Id: I60ee866cde37499106f5e1e1d68a0b5ddeedf403 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1569 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud