summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn
Commit message (Collapse)AuthorAgeFilesLines
...
* ATTN: Size reduction, simplificationBrad Bishop2013-03-1420-1772/+581
| | | | | | | | | | | | Simplify attention processing workflow. Remove unused code and associated tests. Use and/or registers where appropriate. Enable host attentions for MCS 0-3,6,7. Change-Id: Ia9a9f1eae16603eedf3b68539429a6d09694d895 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3467 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: Re-enable check for P8 IPL attentions.Brad Bishop2013-03-141-17/+0
| | | | | | | | Change-Id: I598d71e23f5208c8f564bc084b1891764d80737c RTC: 47750 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3553 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Some refactoring prdfMain.[CH]Brad Bishop2013-02-221-2/+2
| | | | | | | | | | | Change-Id: I69d4ea7e9d3297732f5fe33d658c1a460bdda082 RTC: 50708 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2906 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> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3274
* ATTN: Revert most of 3147572991fa9eff4be6095b08b0299421e596b5Brad Bishop2013-02-138-125/+121
| | | | | | | | | | | | It was correct in the first place. Change-Id: I72a9ae0eaeae41825e1a4bea4cc93e599ea3f037 RTC: 59222 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2981 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: Partially fix shutdown / EOI race.Brad Bishop2013-02-131-9/+9
| | | | | | | | | Change-Id: Id43f747bb5cb84cbe7cc13d4a8ed15a9d9e4fadf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2972 Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-084-56/+54
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI Interface to get the target on the other side of the DMI busBill Schwartz2013-02-081-24/+23
| | | | | | | | | | | | | | Add new fapiGetOtherSideOfMemChannel function Replace getAffinityChips with more general getChildAffinityTargets and added getParentAffinityTargets to find MCS from Centaur. RTC: 61987 Change-Id: I772ef95452215c54fdfab98998507e6db5a862d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3062 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Ignore attentions from non-functional Centaurs.Brad Bishop2013-01-141-24/+31
| | | | | | | | | Change-Id: I67c55bb124f35421f819bde5bccb36d84ccb3277 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2912 Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initialize the PIB hardware layer for interruptsdgilbert2012-12-195-282/+83
| | | | | | | | RTC: 47105 Change-Id: Iba893e65ee468b56e9e929a26d2888a67a4788af Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2433 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cleanup interrupt status registerBrad Bishop2012-12-178-31/+40
| | | | | | | | | | | | - Cleanup interrupt status register - Fix inverted use of ipoll mask Change-Id: Ia16fba463f51d5b7bce94e9e96f6fe1d3fc7db0b RTC: 59222 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2700 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce trace buffer sizes.Patrick Williams2012-12-141-2/+3
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler testcase using actions.Brad Bishop2012-11-3015-32/+458
| | | | | | | | | | | | | | Fix a bug in targeting wrapper. Do some additional setup for interrupts. Turn off MDIA polling hack. Change-Id: I4503c334f21c5368c7ac34fc0eed98b4f9de0093 RTC: 46450 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1674 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>
* Merged common FSP and HB PRD code to prdf/common/Zane Shelley2012-11-161-1/+1
| | | | | | | | | | Change-Id: Iac94c3690598b7263de230934b911bb4ced34557 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2350 Tested-by: Jenkins Server Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2368 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN use correct ISN when registering for for local error.Brad Bishop2012-11-161-1/+1
| | | | | | | Change-Id: I7b4387167c3997714359ef5ad568fd36dcb860f9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2375 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler support for check for ipl attentions.Brad Bishop2012-11-138-6/+273
| | | | | | | | RTC: 40440 Change-Id: I4b0c907a05b800fdc69b3d02a5432d9fd27a1497 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1458 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler configuration of local err interrupts.Brad Bishop2012-11-1312-32/+614
| | | | | | | | | | | | Set priority. Register with INTR using correct xisr number. Parse xisr number in INTR correctly. Change-Id: If6f7afc28d12a2f939f26738471d5d0304179271 RTC: 46448 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1561 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial port of PRD to HostbootZane Shelley2012-11-078-173/+179
| | | | | | | Change-Id: I7ee2673131d4891d482e99a403a36300b79e547e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1853 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-126-8/+12
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server 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>
* 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>
* 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>
* 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>
* Attention handler support for memory attentions.Brad Bishop2012-09-047-1/+862
| | | | | | | | | | RTC: 41423 Change-Id: Iadf1c8062c740f20be78306a7da2958347a11222 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1363 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: LARINA M. DSOUZA <larsouza@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler fake MCS and GP1 implementations.Brad Bishop2012-09-047-2/+505
| | | | | | | | | | | | Fake hw implementations for unit testing. RTC: 41423 Change-Id: Ie1f99632fdd9986a4f0ea21dc694f3e392fd4007 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1362 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: LARINA M. DSOUZA <larsouza@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler support for processor attentions.Brad Bishop2012-08-3010-25/+1293
| | | | | | | | | | RTC: 41446 Change-Id: Ia02c87b5daa10ad758751dcbd6981aa1ce3f5c48 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1361 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>
* Attention handler fake processor implementation.Brad Bishop2012-08-295-1/+634
| | | | | | | | | | | | Fake GFIR and IPOLL register behavior for unit testing. RTC: 41445 Change-Id: Ic9e9cc018207904d4f25710bad9aa3b936f67985 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1360 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>
* Attention handler random attention generator.Brad Bishop2012-08-286-22/+323
| | | | | | | | | | | | Thread that generates random attentions for unit testing. RTC: 41445 Change-Id: Ic63708f302f7b60c9ec20349a4dda39a23749bcd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1359 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>
* Attention handler fake targeting service.Brad Bishop2012-08-273-1/+593
| | | | | | | | | | | | Fake target service implementations for unit testing. RTC: 43205 Change-Id: I86850bb2e2516e47fe90f87c84aad19933616b4b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1358 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>
* Attention handler fake PRD implementation.Brad Bishop2012-08-275-1/+192
| | | | | | | | | | | | Fake PRD implementation for unit testing. Change-Id: I811c40451a56024f499957e650becb47ee62a66b RTC: 41428 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1357 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>
* Attention handler fake system.Brad Bishop2012-08-155-45/+840
| | | | | | | | | | | | A fake hardware implementation framework for unit testing. Change-Id: I596c26d4c10a0f707c9eab29419b36e8ed11ac6b RTC: 41428 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1356 Tested-by: Jenkins Server Reviewed-by: LARINA M. DSOUZA <larsouza@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler fake interrupt presenter.Brad Bishop2012-08-154-25/+403
| | | | | | | | | | A fake presenter for unit testing. RTC: 41428 Change-Id: I03f90cc00ee368fb8bde24e47da6fc4a4db130cf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1355 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler SCOM wrapper.Brad Bishop2012-08-157-24/+859
| | | | | | | | RTC: 41446 Change-Id: Ib5b8c6e3dd29b9b813c0e1bbdf797218f0a96c40 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1353 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler target service wrapper.Brad Bishop2012-08-154-1/+535
| | | | | | | | RTC: 43206 Change-Id: Ic7f80c518a1801dcd53d36df0dca4c0d88e77832 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1352 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Start attention handler before running memory diagnostics.Brad Bishop2012-08-151-22/+34
| | | | | | | | | | Change-Id: Ieffba1f1b52890feb01dc7ec0766f5ebcf0b6660 RTC: 44961 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1381 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Attention handler addresses and bits.Brad Bishop2012-08-154-25/+483
| | | | | | | | | RTC: 41446 Change-Id: Iaf17f2b10552cc4ada7876de98f97d7bb01d7715 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1351 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial attention handler support.Brad Bishop2012-07-1624-0/+3526
RTC: 40764 Change-Id: Ic5b5b3e80915cb4f0ee543baa6fe4abc51e07ad2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1079 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud