summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/attn/runtime/attn_rt.C
Commit message (Collapse)AuthorAgeFilesLines
* Make RT_TARG id generation code common between IPL time and runtimeChristian Geddes2020-01-221-1/+1
| | | | | | | | | | | | | | | | | For axone we are writing the OMI mmio bars into hdat so the hypervisor know how to talk to the devices. IPL code needs to be able to lookup the hbrt-style ids so we can use them to make hdat entries that the hypervisor will be able to associate targets with. This commit also move rt_targeting.H to the correct include directory and updates everywhere that it is included. Change-Id: I31deaa1a9c5a7523622a8b3b12ad459e2b2feed3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80419 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: Daniel M Crowell <dcrowell@us.ibm.com>
* Use proper top-level include for fapi2 targetDan Crowell2019-02-151-2/+2
| | | | | | | | | | | | | | | | | | There is a specific order of #include for fapi2 header files. The generic name (target.H) is the only one that should be used by application code. That header will include the fapi2-specific header (fapi2_target.H) and the plat-specific (plat_target.H) in the proper order. Change-Id: I7e7c3429bfccbc7e1e675a8716fc127695cad15a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71539 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add consistent enter-exit traces for all runtime interfacesDan Crowell2018-10-021-9/+17
| | | | | | | | | | | | | | | | | | Created a new 'HBRT' trace buffer that is exclusively used to bound the external calls into our runtime image. Modified the return code values to be the reasoncode of the error log we commit instead of a generic '-1' value that is not very helpful. Change-Id: Id41288ea1903bf6d11e967fcb10a8184153943c8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64871 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: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Save and restore OBUS related firmasksChristian Geddes2018-05-291-2/+27
| | | | | | | | | | | | | | | | | | During Hostboot IPL time it is impossible to see OBUS peers because they exists on different nodes and Hostboot is unaware of other nodes. Because of this we must mask off additional OBUS related firs during Hostboot IPL time. After we have reached runtime and have re-adjusted PEER targets we can restore the FIR values to what they were prior to the additional masking Hostboot does during IPL time. Change-Id: Ib9c158191c7f68f4bd7126799ba0a0aba40cee18 CQ: SW425530 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58916 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Init PRD in enableAttnsCaleb Palmer2017-11-161-5/+24
| | | | | | | | | | | | Change-Id: Ic16bda53fec057aa13aab166d44e8769e741b598 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49423 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: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* ATTN: Return IPOLL bits being used to HOST OSBrian Stegmiller2017-06-091-4/+33
| | | | | | | | | Change-Id: I74d84208c1f24d156739b8bb4c912f8a1bd11ee3 RTC: 174196 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41179 Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Remove unused variable in attn_rt.CMatt Ploetz2016-09-081-2/+0
| | | | | | | | | | | | Change-Id: I1cb89cecba2148531e63965183ce8bb0bcfd3525 RTC:160273 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29199 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Lateef Quraishi M <lateef@us.ibm.com> Reviewed-by: Vitaly Marin <mvitaly@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Removed temp workaround to load ATTR_TMPZane Shelley2016-05-191-11/+0
| | | | | | | | | | | | Change-Id: Ibac4cb5a4d742b8c7e2e57265ee0af29a9a53415 RTC: 134050 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24341 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Runtime Attention Handling ChangesBrian Stegmiller2016-04-211-63/+7
| | | | | | | | | | | | | 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-0/+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-211-2/+2
| | | | | | | | | | | 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>
* Propagate ATTR_TMP overrides into HBRTBill Schwartz2015-08-251-0/+11
| | | | | | | | | | Load ATTR_TMP overrides at host boot runtime RTC: 129055 Change-Id: Id01889b6a1498af05732cee7c797d3e18af10f8d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19951 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* ATTN: Handle multiple attns on centaur at runtimeBrian Stegmiller2015-04-241-4/+58
| | | | | | | | | | Change-Id: Ic81d6c434b72e027d90e6039457b447e5a991f61 RTC: 124900 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17394 Tested-by: Jenkins Server Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: Clear GPIO register for host attentionsSachin Gupta2015-02-271-1/+23
| | | | | | | | | Change-Id: I1650475f179bf8f5faf760582aeaed729c48b8b0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16014 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: separate hostboot specific code from commonChris Phan2014-12-031-13/+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: add stub runtime interfacesChris Phan2014-12-031-4/+62
| | | | | | | | Change-Id: I758ffe46770297a28be1087bc9f9b8379e4c2fa9 RTC: 110949 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13546 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: code re-org in preparation for HBRT supportChris Phan2014-12-031-0/+56
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