summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn/ipl
Commit message (Collapse)AuthorAgeFilesLines
* Automatically include config.hDan Crowell2019-12-063-6/+3
| | | | | | | | | | | | | | | | | | Rather than having to remember to include config.h anywhere we reference a CONFIG variable (and usually forgetting), this adds it to the default compiler flags so that it gets included in every source file we build. Change-Id: I53622ab4d46c55d942e98cae6ec03049fd5b3d08 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87475 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
* ATTN: Centaur UCS handlingBrian Stegmiller2018-08-091-1/+0
| | | | | | | | | Change-Id: Iad553d3042d1f4ccaa777434d4d823f33d905053 CQ:SW439917 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64158 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* Only unmask source on proc targ passed to unmask function in intrrpChristian Geddes2018-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | There was a bug in the code where if an interrupt was resolved for a source the code to clean up the pending interrupt in the intrrp will unmask the source. This was actually unmasking the source on all processors. This causes odd behavior if there was an outstanding int on that source on one of the other processors. Essentially the intrrp would think that a new interrupt came in but we will already be handling it. The logic breaks down here and we end up getting in a locked state. Fixing this caused issues with Hostboot management of the maskList which kept track of which sources were masked. Instead of managing this list of masked sources hostboot will instead keep track of sources which are not registered to any msg Qs. When new processors are added to the interrupt resource provider after fabric is up, all LSI sources who are not registered to a msg Q will be masked for the new processor. CQ: SW419101 Change-Id: I86f5bc2a748383e18b1853d9bf9480f265c214fd Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63158 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove unused memOps variable in attnsvc.CBill Hoffa2018-07-241-1/+0
| | | | | | | | | | | | Change-Id: I3b9d1a1e77fc097c83e1596314ec64c6e480dfa6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63141 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Monitor threads for HB TI to workBrian Stegmiller2018-03-012-10/+154
| | | | | | | | | | | | | Change-Id: I13c1717c650e24ee361e355ccaf5784d001a5b02 CQ:SW405958 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52398 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* PRD: generic solution to associate HWP failures with PRD isolationZane Shelley2018-01-251-82/+20
| | | | | | | | | | | | | Change-Id: Id5a767cc2475e4a7cc2003eeb74af6c07369315a CQ: SW413495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52285 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* HB Attribute for IPL chkstop analysisBrian Stegmiller2017-12-131-0/+14
| | | | | | | | | | | | | | Change-Id: Ied553bd777704a25152ab4bb35b80167b71bf603 CQ:SW409689 Backport: release-op910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50427 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Avoid assert on invalid target types for PRD and HWP PLID associationBrian Stegmiller2017-12-081-5/+116
| | | | | | | | | | | | | | Change-Id: I576559dba463bdc884e7929f731e5a098c6f7749 CQ:SW409720 Backport: release-op910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50535 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* ATTN: Support memory attentions for CumulusBrian Stegmiller2017-10-111-11/+1
| | | | | | | | Change-Id: I98391edb0f0e223cf8f4d217199217433e86033a RTC: 150944 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46864 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* ATTN: Use PIR structure for handling interruptsBrian Stegmiller2017-03-301-12/+19
| | | | | | | | | | | | | Change-Id: I15845648e82ace12bcfb8c84c005ca18ac83d22b RTC: 171905 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38584 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* ATTN: Use different word for XISR contentBrian Stegmiller2017-02-061-2/+4
| | | | | | | | | | | | Change-Id: Iedbc2157724befbd244352d19a4ef18b28889a9b RTC: 168018 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35387 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* ATTN: Enable of IPL CXX testsBrian Stegmiller2016-11-184-47/+72
| | | | | | | | | | | Change-Id: Icc270150ece5f4d767835fd970a38ccd2ed05bbf RTC: 151004 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32772 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* ATTN: Clear Intr Reg on RECOV errors from Host SideBrian Stegmiller2016-09-185-13/+305
| | | | | | | | | | | | Change-Id: I6427f18fc6d50fc60a9de9d1a06ebc0850fa906b RTC: 159844 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28753 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* ATTN: Re-enable HOST ATTN testcase and update chkForIplAttn testBrian Stegmiller2016-08-246-16/+155
| | | | | | | | | | | | Change-Id: Ic0080efa9f3ecbf8be7909c09b16d890ab9f71af RTC: 155588 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28185 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Limit checkForIplAttentions to master in early IPLBrian Stegmiller2016-07-311-2/+35
| | | | | | | | | Change-Id: I74f3c6c00fdb7ea30bdf06d4be37c1a717fc6210 RTC: 154658 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27342 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Runtime Attention Handling ChangesBrian Stegmiller2016-04-211-4/+4
| | | | | | | | | | | | | Change-Id: Iee53f2dc71bf1d33afc700b2c51f4ae367c7ffab RTC:149395 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23225 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add new attention types for P9Brian Stegmiller2016-04-211-1/+1
| | | | | | | | | | | | | | Change-Id: Ia9076e792627a82787dceddafb7c3a75b756ad98 RTC:149697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22141 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23131 Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Tested-by: FSP CI Jenkins
* Impacts for hostboot attn handling with checkForIplAttnsBrian Stegmiller2016-04-217-37/+31
| | | | | | | | | | | Change-Id: Ib83b73c37b3c4daf6a376ca7048ac18a5a114eb7 RTC: 147941 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22144 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Restore testprdf and testattn for p9 - hostboot changesCaleb Palmer2016-04-211-3/+4
| | | | | | | | | | Change-Id: I50232e9e40799e8e17d5379695b75ae9895cc631 RTC: 147040 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20833 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update constants and comments for P9 PIR formatDan Crowell2016-02-293-8/+8
| | | | | | | | | | | | | | | Implemented a set of macros and constants that can be used everywhere to translate a PIR into its component parts and pull out individual pieces of data from a complete PIR. Also added and updated the references to the old ATTR_FABRIC_NODE_ID with ATTR_FABRIC_GROUP_ID. Change-Id: If9735f53940e5849a648729e4bf8ca0cfbb09f6e RTC: 88055 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/706 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Bug fixes for HBRT CS analysisZane Shelley2015-04-211-1/+1
| | | | | | | | | Change-Id: I49139a8affaf3a30ab71148fefcc1929b69fd597 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16991 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN : Support for checkstop analysis.Sachin Gupta2015-02-273-5/+92
| | | | | | | | | | | | | Change-Id: I7a8c1b974d0d3d16ea2d92b997a9bb7e71ea0ac7 RTC: 119543 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14769 Tested-by: Jenkins Server Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN PRD : Wrapper Functions for checkstop analysis.Sachin Gupta2015-02-274-2/+241
| | | | | | | | | | | | | Change-Id: I5a16cf0be729405df5bfbbaf727ce5b1dec81983 RTC: 119543 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14768 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Support scom operations from PNOR FIRDATA sectionZane Shelley2015-02-272-5/+44
| | | | | | | | | | | | Change-Id: I77bf6f4b361dd18ae6d68f07a95e631509974f3b RTC: 119623 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15040 Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add ATTN call to analyze previous IPL checkstop in istep 6.6Zane Shelley2015-02-271-2/+18
| | | | | | | | | | | | | Change-Id: I389677db781a903949f41a675dec1c1e590487ee RTC: 119837 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15581 Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enable MDIA/ATTN test casesSachin Gupta2015-02-021-139/+2
| | | | | | | | | Change-Id: Ib77300062e6957144970e057595bcaa4c1d82a5c RTC: 67008 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14718 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix spelling mistakes using codespell.Patrick Williams2015-01-152-9/+9
| | | | | | | | | | | | - See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: separate hostboot specific code from commonChris Phan2014-12-037-506/+60
| | | | | | | | | Change-Id: I5eca0f1d5768135b9a902664d79580d5f89f6709 RTC: 110949 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14129 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: code re-org in preparation for HBRT supportChris Phan2014-12-0343-0/+7646
Change-Id: I100fafcfc794e8828e992438bacf8303a029a566 RTC: 110949 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12949 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud