summaryrefslogtreecommitdiffstats
path: root/src/usr/sbeio
Commit message (Collapse)AuthorAgeFilesLines
* Add Support for sbe_continueMPIPL FIFO Chip opcrgeddes2017-04-043-0/+158
| | | | | | | | | | | | | | Hostboot needs an interface to request for the continueMPIPL procedure on each slave proc. Change-Id: I6d43985aa4c2657c60ed30aac7bd2e9b98e4bd8d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38540 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: Dzuy Nguyen <dzuy@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* SBE message passing interface - call of HBRT process SBE messageMarty Gloff2017-03-213-2/+190
| | | | | | | | | | | | | | Add the new Host interface for SBE message passing. Change-Id: I220a864a072bcc60cc873cde243a28cc899e2722 RTC:170759 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37694 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Null errl handle used in upstream timeout path for sbe fifoRichard J. Knight2017-03-171-0/+5
| | | | | | | | | | Change-Id: If2aa6c64a8d106c2746e7e726df03d60537ec495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37598 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update SBE FIFO to the latest SBE HB spec (1.3a)Dzuy Nguyen2017-03-172-48/+7
| | | | | | | | | | | | | | Add sbe_sp_intf.H from SBE repository to include SBE variables from SBE Change-Id: I49aa987ab4b81b94939791571f005aa29338b36e RTC: 169436 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36560 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Data Storage exception during proc_check_slave_sbe_seeprom_completeRichard J. Knight2017-02-281-0/+8
| | | | | | | | | | | | | -Fixed null errl handle usage in timeout path Change-Id: I6e8233ab82b3054aa3090e519003d3d78ba3642a CQ:SW377830 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37026 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: Dzuy Nguyen <dzuy@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Quiesce SBE before writing SEEPROMMarty Gloff2017-02-104-27/+46
| | | | | | | | | | | | | | Call sendPsuQuiesceSbe before doing the deviceWrite of the SBE SEEPROM with the SBE image. Change-Id: I6d3cec5b0430b8083acabc30bb7ff14ba5e1b56e RTC:158899 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34994 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure sbefifo is clean on slave chips before startingDean Sanner2017-02-073-3/+60
| | | | | | | | | | Change-Id: I440d6f5bd6aa1c3c72b3d8df581262b01765214c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35447 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Debug improvements for interrupt and sbe psu failsDan Crowell2017-02-071-9/+12
| | | | | | | | | | | Change-Id: Id71da5d29d24d1386be684f4e7594c9e38e0aa84 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35172 Reviewed-by: Martin Gloff <mgloff@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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Increase SBE timeout to 90 secondsDan Crowell2017-02-011-11/+8
| | | | | | | | | | | | | | There is at least 1 scenario where the FSP and HB are both accessing the SBE at the same time. The FSP operation can take a very long time so HB is increasing our timeout so that we don't fail if we happen to hit that window. Change-Id: I8908608a1db4ac8c27ded59eced8f0ad71f70314 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35612 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* SBE FIFO device driver FFDC and error recoveryDzuy Nguyen2017-01-197-617/+1019
| | | | | | | | | | | | | | Add SBE FFDC error handling to FIFO driver Change-Id: I6ae81062eac1d5362c5fa5651c8ca5a2043b5c73 RTC: 149454 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32969 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: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add intrastructure for sending psuQuiesce cmd to SBEcrgeddes2016-12-203-2/+82
| | | | | | | | | | | | | | | | The SBE provides an interfaces for the HOST to issue a psu cmd that will quiesce the SBE. This commit adds the ability for HB code to call one function and notify the SBE to quiesce Change-Id: Icb153875b797f107891b05fd26dccbc413fd8f93 RTC:158899 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33610 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ignore CHIP_OFFLINE pib error when scom is multicastcrgeddes2016-11-141-5/+2
| | | | | | | | | | | | | | When a scom returns an error that says the chip was offline, if it was a multicasted scom we expect this to happen so we can ignore the error and continue RTC:163898 Change-Id: Id9753eab70f78573f0c8d27a74aef62e5715e85c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32455 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add sbe_psu FFDC error handling.Dzuy Nguyen2016-11-146-50/+487
| | | | | | | | | | | | | | Turn sbe_psudd into singleton. Add handle FFDCError function Change-Id: If84bb2bafcca685c8d31c664f7005de056e96c4c RTC: 144313 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31468 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add infrastructure for sending setSystemConfig cmd to SBEcrgeddes2016-10-192-0/+88
| | | | | | | | | | | | | | | | | The SBE needs to know about other PROCs in the sytem. To do this we are sending a 64 bit string that encodes the system configuration down to the SBE at the end of the IPL. This commit just sets up some of the infrastructure that will be needed to send the message. Change-Id: I1a4dfb4e54e043d94697fa809acf1eee8ba9f726 RTC: 160666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31069 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Log SBE Traces on error (simics only)Dan Crowell2016-09-282-0/+32
| | | | | | | | | | | | | | | A quick change to add a new magic instruction that collects the SBE traces any time we hit an error from the SBE. If multiple errors occur they will all be appended to the same file. Data will be saved to $sb/simics/sbetrace.hb.txt. Change-Id: I27575c1565c0089e847e19c3e51cb2926833e387 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30206 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added support for 'Put Ring from Image' command on HB for SBEVitaly Marin2016-09-183-422/+20
| | | | | | | | | | | | | Change-Id: I4930633f87bdb61acb19e01f17a8006277f7868d RTC:132654 CMVC-Prereq: 1004971 CMVC-Prereq: 1005024 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28887 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Vitaly Marin <mvitaly@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Temporarily force terminal RC on SBE errorsDan Crowell2016-09-082-0/+62
| | | | | | | | | | | | | | | Until Hostboot has the infrastructure in place to collect all of the FFDC from a SBE failure, we will rely on the FSP code to collect the data. This requires Hostboot to terminate with a special RC to force this behavior. Change-Id: I94fba157826664b680a51790104932f97b671950 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29253 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Close timing window between PSUDD and INTRDean Sanner2016-07-071-2/+5
| | | | | | | | | | Change-Id: Ifb6ab16bbb06335c7b898c77ffe308b6ff78ef86 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23719 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Clear downstream max transfer count register in SBE FIFOAndrew Geissler2016-06-292-7/+13
| | | | | | | | | | | | | | | This new register is used to handle FSP to SBE DMA transfers. Hostboot does not do DMA's but for protocol purposes, we need to be sure it's set to 0 during our transactions. Change-Id: I019f3865df670ecea64246e0ec33d488d8acf97c CQ: SW356256 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26340 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix bug in sbeio dd to read all FIFO after EOTAndrew Geissler2016-06-161-4/+26
| | | | | | | | | | | | | | This commit adds some debug traces that were needed to debug this defect and ensures we read the entire FIFO from the SBE before trying to process the message. Change-Id: Ibcb2450a8be8bdc7f9f949744c3b27ab6ea670c9 CQ:SW355699 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25805 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SBE FIFO logic between Hostboot and SBE not working as expectedwhs2016-05-042-19/+35
| | | | | | | | | | | | | | | replace SBE_FIFO_UPFIFO_DATA_IN with SBE_FIFO_DNFIFO_DATA_OUT. Optimize reading doorbell on download, close potential timing problem. Ignore EOT dummy word on download. Change-Id: Ia55c977292c499866d189aa2fe4a6b59404b9991 CQ: SW351690 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24073 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Create SBE FIFO device driverwhs2016-04-215-0/+1372
| | | | | | | | | | | | | | Create SBE FIFO device driver and client code for get and put SCOM. Change-Id: I5b478f4a9a05340a61f8102c21e618f24e85c7ac RTC: 134179 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22174 Tested-by: Jenkins Server Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Create SBE PSU device driverBill Schwartz2016-02-264-0/+965
Create SBE PSU device driver and implement Start and Stop dead man loop. Change-Id: Ic894842e586485074fda88b8920213969913d685 RTC: 132656 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22765 Tested-by: Jenkins Server Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud