summaryrefslogtreecommitdiffstats
path: root/src/sbefw/sbeFifoMsgUtils.C
Commit message (Collapse)AuthorAgeFilesLines
* Consolidating globals in SBEspashabk-in2017-03-201-1/+7
| | | | | | | | | | Overall an increase in size of 88bytes Change-Id: I975ec1536bc2d8153772133d26f750688a849a70 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37714 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>
* Fix some trace problemsDoug Gilbert2016-11-231-2/+3
| | | | | | | | | | | | | | | | | This change is in preparation for future, better trace handling. Bit fields don't have a size_type - so they need a cast to int or uint in a trace statement. Pointers are always 4 bytes in PPE. Pointers cannot be converted to a uint32_t (%x) without an explicit cast. The printf/trace format %x is 4 bytes, even %016x is 4 bytes. What is needed is %llx or %016llx otherise a uint64_t will get truncated. Change-Id: I0b55a355f3211a7f6913e846834486b4808f50c1 RTC: 161851 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31189 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>
* Add sleep only for simics for FIFO operationsSachin Gupta2016-11-141-3/+21
| | | | | | | | | | Change-Id: I193bb015bf269da512921278db8b9ea03efc0e50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32569 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>
* Fix for FIFO empty conditionSachin Gupta2016-10-191-5/+14
| | | | | | | | | Change-Id: Ia80e76b141c5f4493f979d3aa81f83ff9dca4850 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31512 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix for delay, fifo and npllsetup ( placement in memory )Sachin Gupta2016-10-141-1/+2
| | | | | | | | | | | | | | | | | | | 1. FAPI Delay does not use uint64_t when converting nanoseconds to ppe timebase. Also as delay is working, updated wait time in test case framework. 2. npll setup procedure is moved to PIBMEM as npll setup changes sbe frequence and we can not access seeprom before changing I2C bit divisor rate. 3. In FIFO utils, the empty status of queue is next state. So we need to use valid flag to see if FIFO was really empty. Change-Id: I59ccfc70f3013822532110230ec231408675a1a0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31245 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@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>
* Update tracesSachin Gupta2016-10-061-0/+3
| | | | | | | | | | Change-Id: I83c7ed8e579adca18ad1adc87a6c1f8341feb2cd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30773 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: Sachin Gupta <sgupta2m@in.ibm.com>
* Trace out fapi rc and primary/secondary codeSachin Gupta2016-10-041-0/+5
| | | | | | | | | | Change-Id: Ic66e6ae355a71b99eeca50521f9fcf4c6ba23a1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30663 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>
* SBE plat scom error handlingShakeeb2016-10-041-38/+0
| | | | | | | | | Change-Id: Iffc9686fa745040a0d0f1c3a6b5f0dacc89a1c66 RTC:158016 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30078 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>
* Changing FFDC package structureShakeeb2016-09-141-2/+4
| | | | | | | | | | Change-Id: I150b6e094660e8b639296ee313994c0bd41cf6ee RTC: 160155 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29236 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: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* RTC 128326 SBE : SBE ChipOps : Generic Messages : Get SBE FFDCSunil.Kumar2016-09-131-1/+1
| | | | | | | | | | Change-Id: I034a43f67244a6f5e50c54b10f8bd4e013c6076a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27610 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> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Use new PCBPIB enums in sbefw codeSachin Gupta2016-09-131-1/+3
| | | | | | | | | | | | Change-Id: I33c1ab68c24de4150c6f901a429c3bfde1de8ea0 RTC: 158199 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29410 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: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Modify signature of FIFO response utilityShakeeb2016-09-021-5/+5
| | | | | | | | Change-Id: I6ac79e1a13d978a91463e02f992d9bb164aa672a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28662 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE HWP FFDC supportShakeeb2016-09-021-4/+22
| | | | | | | | | Change-Id: I2a578bbd0661c64f4ef1d3703b162327c9c9a036 RTC:129076 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28448 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE code restructure: sbe -> src renameShakeeb2016-08-301-0/+375
Change-Id: I6e4378d0e71a00ed2b239658d43f180df2a9b748 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28875 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>
OpenPOWER on IntegriCloud