summaryrefslogtreecommitdiffstats
path: root/src/sbefw
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable scom state checking in L2/L3 flush in MPIPLSachin Gupta2018-04-121-25/+28
| | | | | | | Change-Id: I0e7883bd5ff835fe3797eec1187cf6c973b29ec6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57094 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* S0/S1 enabled for SBERaja Das2018-04-0911-129/+483
| | | | | | | | | | | RTC: 159756 Change-Id: I01532623ea575fa669be28b3c19bac9c8cd7e7b4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49474 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Clear TPM deconfig bit during MPIPLSachin Gupta2018-04-011-0/+16
| | | | | | | | | | | CQ: SW420513 Change-Id: I3c1fc2fb09e2870c29a4b695ffa6d173ecaaf5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55235 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Revert "SBE Space optimisation" by moving ramming to pibmemShakeeb A. Pasha B K2018-03-291-1/+1
| | | | | | | | | | | | | | | This reverts commit 2dce1d2d7fbbca6e1f917fb9c76632561c5a84b1. And move plat target init and plat attr init to seeprom Perfromace measurements - from sbe_tart to proc_attn_listen: Without this change: 3.433112590s With this change : 3.458556197s Change-Id: If6b5dfcae2e40aa5d0d608e1d01036546c525628 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56239 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* PSU get capabilities chip-opspashabk-in2018-03-275-4/+200
| | | | | | | | | | | Support PSU get capabilities chipop Change-Id: I36980433aaa70323c5b2b80a89d8618d03ea8a60 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55091 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Scommable check before L2/L3 Purge in MPIPL PathRaja Das2018-03-221-19/+79
| | | | | | | | | | | CQ: SW420347 Change-Id: I051b8ff4a0afadb311db24f1c235fdc1a433958f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55838 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Restructure capabilites structurespashabk-in2018-03-215-21/+36
| | | | | | | | | | | Separate common parts from interface specific features Change-Id: I06f81b891a47ca503c08af77ff55193ac81bc1d1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55096 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Handle race condition between PSU/FIFO interface.Sachin Gupta2018-03-203-32/+49
| | | | | | | | | | | | | | | | | It fixes these two problems 1. Protect global interrupt flags by putting them in critical section 2. Disable inteerupts before sending the ACK for timer chipop. Otherwise other high priority thread can interrupt it if there is a interrupt on FIFO. On slow soft-fsi based systems, taking initial data from FIFO may take time in command receiver thread. Change-Id: I6e33eb9b9a3fa698c38ca228ed1e645bebeb8234 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56052 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Check for checkstop during mpiplspashabk-in2018-03-191-8/+26
| | | | | | | | | | | Implement check for system checkstop during MPIPL Change-Id: I220d5fc34406083002d3262acb140412739f3100 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55913 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Dump transition during continuous iplspashabk-in2018-03-192-4/+7
| | | | | | | | | | | | Update all aysnc failures to transition to dump state Change-Id: I3e27e2f86daf194f7d20401f64f208b34ec01c5b CQ: SW420070 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55182 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Cleanup generic chipop filesspashabk-in2018-03-166-252/+97
| | | | | | | | | | Cleanup unnecessary defines in generic chipop files Change-Id: Ib569b292c3c933ec0295c235e53b61302a3a5fcd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55092 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Check for disable scom filtering bitspashabk-in2018-03-063-5/+30
| | | | | | | | | | | | | Disable scom filtering if the scom filtering disable bit is set Change-Id: I866275da3b05d340636e5e847eb63e14b3a67937 cmvc-prereq: 1046050 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53854 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52428 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Run lpc_init on all processorsDean Sanner2018-02-281-14/+1
| | | | | | | | | | | | | In systems that have multiple procs that have LPC busses, Hostboot couldn't access any LPC bus except for master (where lpc_init was run) Change-Id: I4ea9a40e6496f60a1b2b77f3f8136ecbc4a07859 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54722 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE RegressionRaja Das2018-02-193-19/+61
| | | | | | | | | | | - Allowed invalid scom via MBOX3 bit 12 for Test team Change-Id: Ia47255b6c89dfe7554e5ddc2a3954a2c939fc58b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54111 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Get a z compile workingOliver Morlok2018-02-1611-1/+801
| | | | | | | | | Change-Id: I8ca342778fb8fb5e8019f6f50c1b36c2b675d668 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54062 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE Space optimisationRaja Das2018-02-161-1/+1
| | | | | | | | | | | | | 1. sbe tracearray chip-op back to pibmem 2. ram procedure moved to seeprom 3. pibmem size available is around 85720 4. seeprom size available is around 175kb Change-Id: Id11a47724d48eb1a16f096e7d02b6d57aa76331a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54086 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Checkstop detection during IPL SBE stepsspashabk-in2018-02-145-12/+59
| | | | | | | | | | | Check for system checkstop on failure of IPL SBE steps Change-Id: I8b10e2d21a2cf3ea0c53974cd4cc98fa88bb4912 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51708 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Capture rc in Async FFDC usecasesspashabk-in2018-02-125-3/+28
| | | | | | | | | | Update asyncrhonus failure to capture SBE rc Change-Id: Iaa49b106595dc9992d9642209a7e1821ff5be69d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53431 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Move trace array to seepromspashabk-in2018-02-071-1/+1
| | | | | | | | | Change-Id: I72c2c4444b3f25ee936c3a28145b3af541a8752d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53427 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Store SBE failed rc for async FFDCspashabk-in2018-02-0217-140/+190
| | | | | | | | | | | Store the SBE rc for failed command in globals Change-Id: I673ee6929fc1941233d5235d18412a747e596508 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52511 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Cleanup as DD1 is not supported anymoreSachin Gupta2018-01-303-14/+3
| | | | | | | | | | Change-Id: I57580a088ffc62cc678b32d8d0779d992df6d76a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52763 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Move istep chip-op handler to pibmemspashabk-in2018-01-301-1/+1
| | | | | | | Change-Id: I3c9de95831c46e1eeb601563128fd63ea1813473 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52832 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][7] App and core files separationspashabk-in2018-01-2433-243/+425
| | | | | | | | | | Separating app specific code from core library Change-Id: I4b67aa4ff6230cbeea44417ebadb94db6010cbc0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50745 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Allow read on complete OCC SRAM bufferSachin Gupta2018-01-243-11/+8
| | | | | | | | | Change-Id: Ife2f4a321753f6367e2cfa0ee9fd3804a4d8d52a CQ: FW672705 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52499 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Reduce the HB memory window to 10MBspashabk-in2018-01-221-1/+2
| | | | | | | | | | | | | Initial window for HB is reduced to 10MB. Further expansions to be taken care by HB. Change-Id: Ib4f6fe48fd2b08b8fb7ad84d8c393b82cc52d60b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52337 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE user plugin in x86.nfp contextspashabk-in2018-01-222-30/+40
| | | | | | | | | | | | Pick relevant files from system path from the plugins in x86.nfp context Change-Id: Ic24043579900b9d0f8d22b1588d50c487e41e4b1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51947 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* I2C reset on instruction machine checkspashabk-in2018-01-221-2/+17
| | | | | | | | | | Correcting the merge corruption of i2c reset handling commit. We want to try i2c reset sequence on instruction machine check. Change-Id: I8a741be0b316635c70623dfda613a3740626612e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51527 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Allow Invalid scoms for simulation regression testingSachin Gupta2018-01-221-0/+2
| | | | | | | | | | | Change-Id: I66cd2e0e41072e607f741231bc09088dbec66815 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52319 Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Tested-by: Jenkins Server <pfd-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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update timer chipop supportspashabk-in2018-01-225-27/+41
| | | | | | | | | | | | | Send response on PSU chipops everytime Increase resolution of timer to us Implement support for update timer Change-Id: I497265010d346fc65d14680e356473c019864194 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51933 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Avoid istep skipping in secure modeSachin Gupta2018-01-214-9/+64
| | | | | | | | | | | Change-Id: I273c1e1f6720db08eb66366a3c1e88f8b10b5411 RTC: 184523 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51931 Tested-by: Jenkins Server <pfd-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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Do not allow invalid scom via sbe fifo pathSachin Gupta2018-01-191-1/+15
| | | | | | | | | | Change-Id: I5255e89c75243486acdd74ca9e07c9a680db6677 CQ: SW410020 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51952 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Enable new ADU flagsspashabk-in2018-01-193-40/+96
| | | | | | | | | | | | | | Support for the new ADU flags required to use ADU chipops to switch fabric configuration Change-Id: Ia2ace86c0ceb63e6f0c58882d660cf176967c3b4 RTC:177901 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51439 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* PPE Registers to be saved-off in the interrupt contextRaja Das2018-01-185-5/+177
| | | | | | | | | | Change-Id: I90b9b21957bb58ab7e1ed1802d8723dcf4b05b6f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48094 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Disable generic and isntruction control on DD1spashabk-in2018-01-121-0/+4
| | | | | | | | | | Disabling generic and instruction control chip ops on DD1 to reclaim pibmem Change-Id: Id5ee5c7669ffbba8ffca6e580c7516d2339ed74a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51759 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][5] IPL table re orgspashabk-in2018-01-1012-1543/+1584
| | | | | | | | | | | Introduce project specific IPL table Change-Id: Ibc22805e6145a241c2e205e69ef10272da67d351 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50743 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][4] Adding app common makefilesspashabk-in2018-01-043-0/+127
| | | | | | | | | | Addition of app/common directory and associated makefiles Change-Id: I9cd107965b5712ee03b32d3939828281a6cadf83 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50569 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][3] Merge core folder makefilesspashabk-in2018-01-045-161/+90
| | | | | | | | | | Remove separate seeprom makefile from core folder Change-Id: I5693d948d931cb4770dea1cb9ec6e45e3fb9b592 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50553 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][2] Chip-op handler codespashabk-in2018-01-0312-728/+673
| | | | | | | | | | | Separate chip-op handler and chip-op table to make it project specific Change-Id: I3ff0e83b199172ce0c0fcb49a980a0076ad778a7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50504 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-code-re-org][1] sbefw - core and app foldersspashabk-in2018-01-0387-257/+387
| | | | | | | | | | Create a core and app folder inside sbefw Change-Id: I4ee04eb5d6623a2272a20f5dd8b02ef795757b2e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50185 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Handle command validation failure in secure mode properlySachin Gupta2017-12-272-2/+3
| | | | | | | | Change-Id: I72b12175743f1b1e420b6e9d191f3255daf27700 CQ: SW412231 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51309 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
* I2C reset sequencespashabk-in2017-12-215-6/+157
| | | | | | | | | | | i2c reset sequence as a C function Change-Id: Ia14523765c5b4d4a7073f40e7dbf614197f5b825 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50796 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sandeep Korrapati <sakorrap@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Allow getreg chipop in secure modespashabk-in2017-12-211-1/+1
| | | | | | | | | | As dump is using get reg in secure systems, unblocking it Change-Id: I623eafde360c7cecf70e027831ddd57af42efd07 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51228 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Avoid overwrite of mbx3 registerSachin Gupta2017-12-211-0/+7
| | | | | | | | | | | | | Entity which is calling mpipl, supposed to set MBX registers to right value. The value can differ from previous IPL. SBE was overwriting the new value with previous value. Change-Id: Ia458d46a0e81ac164e6a4dfb8fd8114e03ca3d4e CQ: SW411113 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51176 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Reset MPIPL flagSachin Gupta2017-12-201-0/+9
| | | | | | | | | | | | Reset MPIPL flags if enter or continue mpipl fails Also reset the flag if contoniue mpipl pass Change-Id: I71d6ab7035431dfe3061d67108e43ca262601917 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50815 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Chip-op filteringspashabk-in2017-12-145-25/+64
| | | | | | | | | | | Implement chip-op filtering in secure mode Change-Id: Ia7d18de28b387615e5c61bc9693229c168f2d418 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50128 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Enable FFDC Collection for SBE Deadman TimeoutAmit Tendolkar2017-12-147-93/+209
| | | | | | | | | | | | | | Collects SBE Async FFDC calling p9_collect_deadman_ffdc via the Get SBE FFDC chip-op, based on SBE State of the DMT failure. Misc. changes in the SBE DMT flow. Change-Id: Ie7a0347034cf447613bc206ec6fcfd13b5bc530e RTC: 179364 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49473 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Chip address extension workaround for HW423589 (option2), part1Joe McGill2017-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chip_ec_attributes.xml nest_attributes.xml p9_sbe_attributes.xml add ATTR_CHIP_EC_FEATURE_EXTENDED_ADDRESSING_MODE, defines set of chips which physically support the feature add ATTR_CHIP_EC_FEATURE_HW423589_OPTION2, defines set of chips which need extended address workaround for MCD issue (applied only to Nimbus EC 21) add ATTR_MAX_INTERLEAVE_GROUP_SIZE, to restrict maximum size of memory groups formed. Written by p9_mss_eff_grouping. For HW423589_OPTION2, this will default to 512GB add ATTR_FABRIC_ADDR_EXTENSION_[GROUP|CHIP]_ID, to hold extended address configuration. Written by p9_sbe_fabricinit (SBE) and p9_mss_eff_grouping (HB). For HW423589_OPTION2, this will default to 0b0000_111, consuming all chip ID bits for extended addressing. p9_fbc_utils.C p9_fbc_utils.H extend p9_fbc_utils_get_chip_base_address to support address extension, now outputs set of ranges in each msel based on ATTR_FABRIC_ADDR_EXTENSION[GROUP|CHIP]_ID maintain original function for PPE platform which requires knowledge of non-aliased base addresses only, for code size p9_mss_eff_grouping.C p9_mss_eff_grouping_errors.xml set ATTR_FABRIC_ADDR_EXTENSION[GROUP|CHIP]_ID for HB platform restrict size of groups formed for HW423589_OPTION2 p9_sbe_fabricinit.C set ATTR_FABRIC_ADDR_EXTENSION[GROUP|CHIP]_ID for SBE platform configure FBC/NMMU extended addressing registers p9_setup_bars.C p9_setup_bars_defs.H p9_setup_bars_errors.xml add general purpose support for extended address mode for HW423589_OPTION2, configure static MCD setup p9_hcode_image_defines.H p9_hcode_image_build.C customize SGPE image with address extension configuration to apply p9.cxa.scom.initfile p9.int.scom.initfile p9.l2.scom.initfile p9.l3.scom.initfile p9.ncu.scom.initfile p9.nx.scom.initfile p9.trace.scan.initfile p9.vas.scom.initfile p9_hcd_cache_scominit.C p9_hcd_cache_scominit.c p9_pcie_config.C set unit address extension configuration on supported chips p9_rng_init_phase2.C p9_sbe_scominit.C p9c_set_inband_addr.C p9_sbe_load_bootloader.C p9_sbe_mcs_setup.C adapt to alterations in p9_fbc_utils_get_chip_base_address Change-Id: I614d566c073f1169f04f647057e6e85889f1c237 CQ: HW423589 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48576 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48892 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Handle OCC SRAM secure mem windowspashabk-in2017-11-247-52/+111
| | | | | | | | | | Allow access to only the unsecure memory windows of OCC SRAM Change-Id: I66a9383b2470fa0124708a582db4a643738535cf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48796 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Correct tracingSachin Gupta2017-11-231-0/+2
| | | | | | | | | | Change-Id: I1429672cde24e8c7973ca4d7eb384ed36bfe00b3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49972 Tested-by: Jenkins Server <pfd-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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Adding client id in FIFO interfaceSachin Gupta2017-11-213-1/+16
| | | | | | | | | | Change-Id: I59537b780e41ab66efc92a1bff957ff0bdbf70b1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49894 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud