summaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Support Collect DUMP in ZZ-L systemSrikantha Meesala2019-06-261-1/+1
| | | | | | | | | | | | Update the sbeCollectDumpMpipl() to return response data in the case of success Change-Id: Ifeafb05b3e3ba39eaf868b88bb926e7836ad5203 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73533 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: MURULIDHAR NATARAJU <murulidhar@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
* AXONE Bringup CISunil Kumar2019-05-3062-403/+1202
| | | | | | | | Change-Id: I611879498fe0b728547209716cecf6d940a9a820 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72837 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>
* Update Backing build to customrc and update standalone simics patchRaja Das2019-04-104-18/+28
| | | | | | | | | Change-Id: I8ca9aef300a3ef5808db84e28ea80d1dd524e794 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71415 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: MURULIDHAR NATARAJU <murulidhar@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
* Befor flushNVDIMM chip-op make sure all core Instructions are stoppedSrikantha Meesala2019-02-262-2/+2
| | | | | | | | | Change-Id: I5e084e2e12f3886db6db173598dc4122dffdfa2e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72238 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: RAJA DAS <rajadas2@in.ibm.com>
* White/Black/Grey List Binary dump PSU Chip-op SupportRaja Das2019-01-284-2/+136
| | | | | | | | | Change-Id: Ib540a55fb7e315954dd96428b7257ebffd23c99f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70361 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Srikantha S. Meesala <srikantha@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
* Flush NVDIMM ChipopSunil Kumar2019-01-073-1/+90
| | | | | | | | Change-Id: Ibf249b59fd20f883a8b01e640f3e9be5f4a68500 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70070 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>
* test: Temporarily disable testArrayAccessJoachim Fenkes2018-11-151-1/+1
| | | | | | | | | | | | I'm going to merge a change that will change the trace bus IDs, so I'm temporarily disabling this test for the change not to fail CI. Change-Id: I499e4cabc68f79b69d98ff7647f13109a66f51c8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68796 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>
* Jenkins parallel buildspashabk-in2018-09-171-2/+2
| | | | | | | | | | Make fix enable parallel build in jenkins Change-Id: If75ecb600f632492c2a7fa68999249d5321a7166 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-ARCH1]HRMOR relocated to 4Gb for SPLess Opal systemRaja Das2018-08-301-3/+8
| | | | | | | | | | | | | | | | -removed s0s1 compile time flag -64MBytes * 64 = 4096MBytes Address -Updated simics patch to hack the Fspbit to be set, so that for SBE Jenkins testing, SBE picks up the default 128MB HRMOR. Change-Id: I77eb5cb018b1f684b4322f23c2b64307bfe1e230 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/56151 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: Sachin Gupta <sgupta2m@in.ibm.com>
* Validate OBUS DL lane failed indications during initial link trainingJoe McGill2018-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Under certain circumstances, the DL logic can consume a spare lane during training, reporting that the link trained successfully but without reporting a lane sparing event in the FIR This commit adds a change to check for failed lanes in this case, and: - raise the lane spared indication in the FIR if a single lane is spared (no HWP error returned, but attention can trigger MFG IPL failure) - mark the link as failed to train if more than a single lane is marked spared, to trigger reconfig loop Change-Id: Iecc69bb1cad172d9c0b16c9b987cc6896e46216b CQ: SW439577 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63383 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: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: DANIEL C. HOWE <dchowe@us.ibm.com> Reviewed-by: Megan P. Nguyen <pmegan@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63394 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Get capabilities spec syncspashabk-in2018-07-242-27/+27
| | | | | | | | | | | | | Sync with fifo spec - 1.5c PSU spec - 0.9e Change-Id: I16048b0a52c47da5b713cbbc28d25039114d9a30 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61251 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> (cherry picked from commit a0a932369074e874a14685bda3548adf6dc8ac28) Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59929
* Optimize PSU testcasesspashabk-in2018-06-293-45/+34
| | | | | | | | | | | | | 1. Remove unnecessary prints 2. Remove unnecessary run cycles Change-Id: I03fd82cc8232a4d187cce75c7b5745a47a21ea8b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61453 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> (cherry picked from commit 01f2f1c1b8a91c8abbcabb100647d4006fe4cecf) Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61649
* ppe CI memory testcase failure fixspashabk-in2018-06-292-475/+181
| | | | | | | | | Change-Id: I855efb072539516c2490cdf63e480b46214db27c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61249 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-on: http://ralgit01.raleigh.ibm.com/gerrit1/61648
* Update memory address of ADU testcasespashabk-in2018-06-291-62/+64
| | | | | | | | | | Change-Id: Ibe9a7bde7e0471309792ac19b3e3aa0dd15e418f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61053 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> (cherry picked from commit 8487bc87a8908420b689b2f13688000240689154) Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61646
* Fill MBOX response on get capabilitiesspashabk-in2018-06-201-0/+4
| | | | | | | | Change-Id: I0d5f9cbc940a5f84278acea96d5f963b3a0a4d9e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59726 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Use Greylist in PutScomUnderMaskSachin Gupta2018-06-202-1/+14
| | | | | | | | | | | RTC: 195177 Change-Id: I1728d78b2019b5a3d5da24c18baf676d07b93de2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60765 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> (cherry picked from commit 33f754c5c94daa873ca40e0a8accd43f3087ec5d) Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60943
* SBE Tool support for fleetwood systemsRaja Das2018-06-122-21/+60
| | | | | | | | | Change-Id: Ic395ca1d1bde3aeabdacfefc473600d58585ff2b RTC:158861 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58691 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fence all chip-ops in QUIESCE statespashabk-in2018-05-153-27/+14
| | | | | | | | | Change-Id: I42ffb9db5503ad36636a989d54041220e159e6fc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57793 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>
* Run simics intially till SBE is bootedspashabk-in2018-04-022-0/+48
| | | | | | | | Change-Id: Iab0eb98231bb1f66944cbb5f990f80ab9e827e49 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56297 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>
* Update backing buildSachin Gupta2018-03-271-3/+0
| | | | | | | Change-Id: Iee198aeaeec6003bcec40b93fb47647ad15bf91f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56284 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* PSU get capabilities chip-opspashabk-in2018-03-272-0/+158
| | | | | | | | | | | 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>
* Restructure capabilites structurespashabk-in2018-03-211-1/+3
| | | | | | | | | | | 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>
* Restructure sbe-debug.pyspashabk-in2018-03-201-1/+7
| | | | | | | | | | Modularize and reduce redundant code Change-Id: I23086dcf2c88c85762c71cc5461cc3f352ae5d50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55334 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>
* p9_sbe_lpc_init: Fix timeout setupJoachim Fenkes2018-03-191-1/+3
| | | | | | | | | | | | | | | | | | | | Factor LPC register access out into its own utility function, with added timeout for the ADU access and proper FFDC if the ADU times out. CQ: SW418354 cmvc-prereq: 1048349 Change-Id: Ief05ccb022eeb1ec45d2f49f386fb58231966058 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54637 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> 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: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54641 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Cleanup generic chipop filesspashabk-in2018-03-161-1/+1
| | | | | | | | | | 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>
* Fix test sequenceSachin Gupta2018-03-152-5/+6
| | | | | | | | | | Delay istep 5.2, to avoid HB managing the mem windows before our memory testcases Change-Id: If21eaf65c2a5e17bf3b9e6fb7d85ad0ee877348b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55909 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
* Check for disable scom filtering bitspashabk-in2018-03-062-5/+7
| | | | | | | | | | | | | 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>
* Update testcase for secure ADU operationsspashabk-in2018-01-241-1/+11
| | | | | | | | | | | Testcases for all the supported secure ADU operation flags Change-Id: I929dbe52a0330363bbdcd2560901fe5f4927ada0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52419 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-241-11/+12
| | | | | | | | | 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>
* Update timer chipop supportspashabk-in2018-01-222-7/+9
| | | | | | | | | | | | | 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>
* [SBE-code-re-org][6] Build configurationspashabk-in2018-01-191-2/+1
| | | | | | | | | | Makefile re-org for project specific build Change-Id: I51893710979f19cf00e41725c83d1c0c653c4b60 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50744 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>
* Increase run cycle count before starting unsecure mem window testspashabk-in2018-01-171-2/+2
| | | | | | | | | | With increased run cycles, jenkins failure is resolved Change-Id: I316004d6846800c6b520f881628aa2678c7b9569 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52066 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>
* p9_sbe_npll_setup: Enable Spread Spectrum right after SS PLL lockJoachim Fenkes2017-12-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | As it is no longer a requirement that Spread Spectrum is enabled on all SS PLLs in a system in unison, we're better off turning on spreading as early as possible, so any link training runs off of a spread clock. The only way to enable Spread Spectrum in P9 is via the TOD Timer, so we have to set up a timer compare value of 1 and force the TOD value to 1 so that the timer is hit and the TOD's spread enable output turns on. Change-Id: I0bcd33f17ef06beafb44ba6777d32b98d0680deb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49662 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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: PPE CI <ppe-ci+hostboot@us.ibm.com> Dev-Ready: Joachim Fenkes <fenkes@de.ibm.com> Reviewed-by: Abhishek Agarwal <abagarw8@in.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49667 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Handle OCC SRAM secure mem windowspashabk-in2017-11-241-77/+117
| | | | | | | | | | 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>
* Updated Backing build in customrc to move to latest Simics DD2Raja Das2017-11-173-8/+15
| | | | | | | | | | | | | - Updated Backing build - Updated Capabilities - updated EC_20 mode in test case - test cases updated Change-Id: I1a8311952c54e9ca8062ab227930571fb0f11a4d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49702 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>
* PM: Fix QCSR and CCSR updatePrasad Bg Ranganath2017-11-131-1/+2
| | | | | | | | | | | | | | | | | | - Use base addresses vs set addresses to ensure that all fields are correct cmvc-prereq:1037315 CQ:SW405722 Change-Id: I330c309131ac4ac44c6dc294627e1ff02d33004a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48552 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48557 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Support SBE seeprom readSachin Gupta2017-10-252-0/+162
| | | | | | | | | | | | Change-Id: I92dfdc5c02867e7c7068b9b0966f3aff76b506ec RTC: 180510 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48290 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.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>
* Continue scom on BL/WL failurespashabk-in2017-10-131-1/+0
| | | | | | | | | | | Perform scom operation even if the register is blacklisted, but send error response codes and ffdc Change-Id: I50fe4c0825ed7ca6374025e3780b8a627fde83bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48171 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update security testcasespashabk-in2017-10-041-2/+5
| | | | | | | | | Update scom address in reg security testcases to a known value Change-Id: I9c15e2f07ec54a42e3b0279e5350bd82c07eadd0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47118 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* TOR Magic header supportClaus Michael Olsen2017-10-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HW-Image-Coreq=Yes SBE-Image-Coreq=No (SBE image is back compatible) This commit adds an 12-byte header to all TOR ring sections: - for improved self-containment of TOR ring sections incl stand-alone ring sections like .overrides which, currently, has no meaningful size info associated with it in the PNOR, - to support a more data-driven implementation of TOR API, - to eliminate the current usage of XIP_MAGIC ids to inform the TOR APIs which ring section they are dealing with, and - to improve debugging binary ring sections. The TOR header expands on the current TorNumDdLevels field in the HW ring section and is added to all other ring sections as well, e.g. for the SBE and OVRD ring sections. Most importantly, the TOR header adds the TOR magic number which is unique for each possible TOR ring section. Also, of quite practical importance, a size field has been added so that the size of a true standalone section like .overrides can be extracted (since its size in PNOR is not indicative of its size). Further, to support the use of ddLevel and chipType in the TOR header fields, these two data points need to be always supplied whenever calling ring_apply. Thus, updates have been made to the ring_apply.mk file as well as the override .pl script. While making these changes, we also decided to change the --type arg to the --bOverrides arg to make the arguments being passed less confusing in view of the Centaur commit that's coming and its demands to make codes less data dependent, incl make and script files which should simply inform the functional intent of the "user". The user shouldn't presume it knows about which specific type of ring section needs to be produced. Further, the DD level block struct has been increased from 8B to 12B to avoid the unnecessarily complex merging of the ddLevel and offset into the same 4B field. It's included in this commit since this is also going to break the lab and because the required code changes are in the same places where the code changes needed for the TOR header are. Further, xip_tool has been updated to support the new TOR header so that it can be called by supplying a standalone ring section, such as overrides.bin. Various changes have been made in xip_tool's dissect section to support overrides as well. This code uses many of the code changes in 33778 except changes to p9_tor.C|H are at a bare minimum focusing on the functional changes and keeping any cleanups to a minimum changing only some variable names associated with the functional changes for improved readability of the code. CMVC-Prereq: 1034144 CMVC-Prereq: 1035575 Change-Id: I29ba8905ac55dad5c10878a94fb94468e5580ea0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35372 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37993 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [Whitelist/Blacklist] - Enable scom filter and testcase additionspashabk-in2017-10-049-419/+182
| | | | | | | | | | | | | Implemented whitelist/blacklist filtering on scom chip-ops Removed separate scom tetcases and included the same in security testcases Included security negative testcases for scom filtering Change-Id: I41e5aa1a059b7a60b83e8740c738de41dc30dd3f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41871 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>
* [Whitelist/Blacklist] - Adding test cases for table generationspashabk-in2017-09-123-0/+231
| | | | | | | | | | | Test to verify positive and negative cases Test to check brute force trial Change-Id: I9e42ae3baf9ea14bb4a1ee41221011a1317addb1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41596 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 FW security switchspashabk-in2017-09-061-2/+4
| | | | | | | | | | Implement SBE firmware security switch based on ATTR_SECURITY_ENABLE Change-Id: I435aad38c59e80c81925bd1f4b109aafd1993b1c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44959 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Secure Memory Manager implementationspashabk-in2017-09-069-180/+243
| | | | | | | | | | | | | | Support to update and manage the memory window list Opening of HB Dump window in istep 5.1 Enabled memory filtering in mem access chip-ops Change-Id: I72b68ac099371babe47a64689fa38927934625b7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43929 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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Suspend IO chip-op implementationRaja Das2017-09-053-0/+89
| | | | | | | | | | | Change-Id: I83d53a8414525c2d5916d54b0ac3e6ecbaeb6520 RTC:166974 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42103 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: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* HB Addr Stash chip-opRaja Das2017-08-245-0/+402
| | | | | | | | | | Change-Id: I6ffd7bedc7c1456839d063429467dccecf1aa826 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34903 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@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>
* Secure memory window chip-op implementationspashabk-in2017-07-257-2/+240
| | | | | | | Change-Id: I42ff79a15cba235bfd9eb761194c0699c0943332 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43415 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE internal FFDC over HOST interfacespashabk-in2017-07-043-6/+189
| | | | | | | | | Change-Id: I015486d58293f447ddc93635b72aa12c76689f30 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35212 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>
* Install DD2 only changes and support DD2 attrdumpspashabk-in2017-06-301-0/+4
| | | | | | | | | | | | Get 'make install_DD2' working without making DD1 before hand cmvc-prereq:1027517 Change-Id: I5b64759bc3ffbe5ca16d677e28cb8f4433f4e700 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42345 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: RAJA DAS <rajadas2@in.ibm.com>
* Reduce SBE image sizespashabk-in2017-06-021-0/+4
| | | | | | | | | | 1. Removed get capabilities 2. Removed state machine check for chip-ops Change-Id: Idc1d497d50af645f62ff44d8f7143347c4467767 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41098 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud