summaryrefslogtreecommitdiffstats
path: root/src/usr/fsi
Commit message (Collapse)AuthorAgeFilesLines
* FSI fix for VPODan Crowell2012-08-031-8/+8
| | | | | | | | | | | A previous fix for Simics broke VPO. I had to add a new attribute to split the 2 halves of FSI initialization since Simics and VPO have different behaviors. Change-Id: Ib06a9969475e8033dff24b5083cdf411054e2b78 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1441 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Handle FSP initializing FSI slaves betterDan Crowell2012-07-282-5/+16
| | | | | | | | | | | | | | | Two minor changes: 1) Noticed a bug in the last update that will throw off our presence detection 2) Started checking the Port Enable register to see what ports FSP actually enabled Change-Id: I84b49f5d57007376eee7a96149a5dd0975de7658 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1416 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove init of Master FSI logic when FSP is presentDan Crowell2012-07-171-23/+44
| | | | | | | | | | | New FSP or Simics code started locking up due to Hostboot re-initializing the master FSI logic. Change-Id: Id8810b37a5e86a23d467c1a7b7fac152c2af936b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1380 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove tests that rely on chipidDan Crowell2012-07-161-30/+24
| | | | | | | | | | | | | | Simics is going to start reporting the real chipid value for Murano. There were a few testcases that had the chipid hardcoded. Rather than trying to account for the differences I just removed the tests as other tests should be sufficient. Change-Id: I2b52d9883311ed6a1e1cb8a688b3583892119de5 RTC: 45071 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1367 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Use VPD to verify FSI presence detectDan Crowell2012-07-111-44/+287
| | | | | | | | | | | | Changing the presence detect logic for the chips to look at VPD in addition to the FSI presence. Creates errors if they don't agree, except in VPO where FSI presence detection is busted. Change-Id: I17246413abad5c8cb78a9166606f666bb860c081 RTC: 44075 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1277 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Start the rest of the threads on the master coreDan Crowell2012-07-022-44/+23
| | | | | | | | | | | Uses the scom from proc_thread_control HWP to start all of the threads that aren't started yet on the master core. Change-Id: I93efba6ebebbf9d286a399fc58fa437b30e830b1 RTC: 37008 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1242 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details : Hardware RegisterBrian Horton2012-06-262-2/+2
| | | | | | | | | | | | | | | | Add support for new User Details error log class that will log a hardware register. Developer can read the data and then call the errlog function to have it dumped, or can just call the errlog function to do the deviceRead go get the data. Also, fix bugs in a couple of device read functions that were too strict in their size check - input buffer size just needs to be >= size required, not ==. Change-Id: I05ba42ecd13b3fc963c56bb706d855c9c89412a3 RTC: 38497 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* VPO Performance fixesDean Sanner2012-06-181-1/+2
| | | | | | | | | | | | | | | | Temporarily remove nanosleep calls in PNOR, FSI, Scom device drivers to enhance VPO performance. Cuts ddr_phy_reset from 17 hours to 17 min Also fixed race condition in hb-istep Change-Id: I0a60275066a9e14b564d0294c083eec8647b2ff7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1206 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix FSIDD mutex issue, misc memory tweaksAdam Muhle2012-06-071-26/+27
| | | | | | | | | | | | | -Fixed Mutex issue in FSIDD -Remove FSIDD workaround for a perceived simcis bug which we now think was just the mutex issue. -Cleaned up some traces in scom.C -Temporarily disabled testCastOutPages() to avoid memory issues -Tweaked periodics in cpumgr.H Change-Id: Ic34193cc2f81a40530214cd3338dfb405d1e8198 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1171 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update testcases to use Attributes for present and functionalMissy Connell2012-05-091-4/+9
| | | | | | | | | | Update testcases for scom, i2c, mvpd, fsi Change-Id: I357c4efb046c04da1c801ec257a1827e36a73e25 RTC: 39765 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/943 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update MboxDD to fix up remaining code review comments from handoff.Missy Connell2012-05-081-9/+8
| | | | | | | | | | | | | | | | | Added enums for the status control register Added comments in the dd code Removed the check on a read if input buf is larger than the max amount of data read. Made changes to read/write not on a 32bit boundary Remove Mboxdd class and used mbox namespace RTC: 38020 Change-Id: Ia2842a380ed90d370dd1503aa0b189813229c7a4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/886 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updating the bbuild to b0419a_1215.810Dan Crowell2012-04-272-31/+1
| | | | | | | | | | | | Moving up levels to get to a stable fips810 driver that includes some Simics fixes RTC: 40995 Change-Id: Iedbefc0f765b51d18af5a106fb4db89a9531f739 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/946 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support targeting code commonalityNick Bofferding2012-04-244-10/+4
| | | | | | | | | | | | | | | - Moved common targeting code to own subtrees - Updated many components with header file changes - Implemented abstract pointer class - Implemented Hostboot specific support for targeting commonality - Changed attribute VMM base address to 4 GB (From 3 GB) - Removed tabs, fixed > 80 character lines Change-Id: Ie5a6956670bfa4f262f7691b4f0ce5a20ed289fe RTC: 35569 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/909 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Do not init FSI slaveDan Crowell2012-04-201-75/+65
| | | | | | | | | | | | | | | Added a new attribute SP_FUNCTIONS to control some of the functionality that the FSP may or may not be handling. Updated FSI code to key off of new attribute instead of looking for VPO mode Migrated over to using HUID for tracing/logging and added a utility function for other code to use. Change-Id: Ide410d088b24a15004236d39b3e4bde784248a52 RTC: 39704 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/877 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix FSI FFDC collection thread bugDan Crowell2012-04-032-10/+15
| | | | | | | | | | | | Fixing a possible multi-threading issue in how the FSI driver collects FFDC. I am keeping track of the Task that hit the error to avoid hitting the mutex twice. Change-Id: Ic48cc046e1a23c67df84802c51307be645a06a8d RTC: 35287 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/806 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Make MURANO config work in SimicsDan Crowell2012-03-282-13/+15
| | | | | | | | | | | | | | | | | | | This is work for Task 38048 -Updated bbuild to an 810 build with the latest Simics support -Pulled support for Salerno from build tools -Changed DEFAULT_MACHINE to MURANO -Updated testcases to follow error logging guidelines -Fixed up some FSI error handling bugs -Disabled FSI loopback on VENICE (fix with Task 39187) -Disabled a few testcases (see Impediment 39188) Verified both MURANO and VENICE configurations Change-Id: Ie7761f49c9e653489c8c4dad261b1c8852fa7548 RTC: 35596 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/791 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix CFAM register address calculationThi Tran2012-02-201-2/+2
| | | | | | | | | | | | | | Change CFAM SCAN trace to 32-bit values Update based on Patrick & Dan's comment Update based on Patrick's comment Change-Id: I003048f23656c2f2c043fb8c605442429cfbf973 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/671 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Collection of testcase updates for FSI and SCOM.Dan Crowell2012-02-083-16/+55
| | | | | | | | | | | | | -Updated bbuild to c0131a_1205.760 (released 1205.760 driver) -Removed writes to MCRSP32 regs from testcase (see Issue 35803) -Removed access to made-up reg 0x12345 from scom test -Removed Simics workaround for reg 0x02011403 in scom test -Updated debug FFDC for FSI errors Change-Id: I2714d3b179406d35f7e460a6c0629c961083e6df Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/647 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC 35711 - Wrapper for VPO-mode attribute checkDan Crowell2012-02-073-37/+17
| | | | | | | | | The same code was in a dozen places so I added a wrapper function. Change-Id: I5b1d34e0f94b91289960c73670199ff22f4c6860 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/643 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-021-1/+0
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Disable FSI slave init in VBUThi Tran2012-01-211-1/+28
| | | | | | | | | | Fix build break Change-Id: Id24777db58cf6dd818bf85431bc8e2fd3dc39aa4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/620 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* The hardware team moved the address of the OPB regs for the Host.Dan Crowell2012-01-192-4/+4
| | | | | | | | | | | RTC Impediment 4656 A Simics-side change is going into fips under 821496 Change-Id: I76984bf8c4906334875e9738ab992cc6a1933ec6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/617 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Switching FSI Scom Driver over to use a separate attribute mutexDan Crowell2012-01-091-4/+16
| | | | | | | | | | | | | for each chip versus a single global mutex. RTC Story 4389 Also stuck in a quick fix for Issue 4493 at the same time. Verified against VENICE model with a Centaur. Change-Id: I62fc2c979315b60594104550f8095aa80996c40f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/599 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF Attribute Support: ATTR_IS_SIMULATION - RTC4080Van Lee2012-01-042-3/+3
| | | | | | | Change-Id: I2b73ceb44af6717e92f8ade682596496545fab51 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/581 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com>
* Fix order of shadow page status and release of memory pageDoug Gilbert2011-12-161-2/+2
| | | | | | | | Change-Id: Id9371157bd51a7c646fd9b7440d09532e68c0577 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/579 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* Use remote xscom for remote centaur FSI opsDan Crowell2011-12-083-232/+494
| | | | | | | | | | | | | | | | | | | | Task 4086 If the powerbus is alive we will use the remote master's OPB logic directly instead of using the master proc's logic and cascading through the MFSI port. Added a target-specific mutex to handle concurrency issues. Note - the new code path cannot be tested until XSCOM is completed with Story 4382 I also modified some error handling to take care of errors exposed by the fsipres testcase. Verified on SALERNO and 2-proc VENICE models. Change-Id: If48ddde60cef819ff6b921e00bdbab5027830be4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/569 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable fsipres test caseThi Tran2011-12-071-0/+7
| | | | | | | | | | lease enter the commit message for your changes. Lines starting Change-Id: I2927aa9a2c87296bc58a851062ea985659792dec Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/570 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* FSI Presence Detect for Proc and MemBufPatrick Williams2011-12-063-1/+260
| | | | | | | | | | Change-Id: I282a764fbfb81cf13cc9d41ee275bafff478d20e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/519 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enabled fsi-scom testing of remote Venice and remote Centaur chips.Dan Crowell2011-11-211-3/+13
| | | | | | | | Change-Id: If7b45610dcd20f35f9f1d1442164a7485c4d7e14 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/504 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Enabling FSI to remote Centaurs (SW107421 is fixed)Dan Crowell2011-11-161-6/+6
| | | | | | | Change-Id: I2eaef856d94a4d84db729e1f9d1e9b5b0f8d0845 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/496 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Modifications to run Sprint 6 code on VBUThi Tran2011-11-111-0/+32
| | | | | | | | Change-Id: I28b4c114bdfb00a8f252bc4ce12a725f292c266b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/495 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding test to scom a centaur chip.Dan Crowell2011-11-021-1/+4
| | | | | | | | | | | Also turned off the FSI init in the FSI and SCOM testcases because it is now called by the istep code automatically. Updated the centuar.chip file to add scom registers. Change-Id: Icf1278808eeb67c1afdabf02b0ad08bc99c8ed40 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/477 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Errl commit with component IDMonte Copeland2011-11-022-12/+12
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Adding support for remote FSI accessesDan Crowell2011-10-273-142/+377
| | | | | | | | | | | | | | | | | RTC Story 3792 - Added 7 more Venice targets and 7 more Centaur targets to the simics_VENICE.system.xml to match the latest simics config Note: remove Centaurs are currently disabled due to SW107421 - Modified testcases to be more tolerant of system config differences - Changes to initialization flow to be more tolerant of missing chips - Expanded the size of the HB_DATA section of PNOR to hold the additional targets (up to 128KB space now, actual is 36KB) Change-Id: Ic92708ccb147fb18bf992ef3ac318a287d32fafe Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/445 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-143-496/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Initialize the FSI hardware - Story 3551Dan Crowell2011-10-053-338/+974
| | | | | | | | | | | | | | | | | | | | | | This code will initialize the FSI hardware and allow access to remote slaves. Note - current code is hardcoded to using the MFSI-0 port on the master processor wrapped back into its own CFAM. Note2 - One testcase is disabled pending integration of required fixes to the simics models. Contains work for - Task 3830 : FSI Master Regs - Task 3831 : FSI Slave Regs Change-Id: I8dd5f0e03cf083e35cf8241db22ad6d76ba85fac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/359 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Updating backing build to b0928a_1141.760 for FSI to work.Dan Crowell2011-09-292-24/+36
| | | | | | | Change-Id: I521870c1f11fb33ae3829b96c6c0fca18c1a0c62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/391 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implementing FSI driverDan Crowell2011-09-065-0/+1312
-Initial work for FSI Device Driver (Story 3334) -Read/Write interface (Story 3550) Code is capable of basic read and write operations provided that the Simics models are updated Note: contains early work for FSI Initialization that should be ignored for now Change-Id: I08e795422de127b62c2d1629d7a4e0f12b21e348 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/287 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud