summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/runtime/rt_rsvdtracebufservice.C
Commit message (Collapse)AuthorAgeFilesLines
* Updated the HBRT reserved trace buffer code to compensate for relocationRoland Veloz2019-08-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | This change fixes an issue where the HBRT reserved trace buffer can be placed in a new location than it's origination. When HB crashes, the reserved trace buffer is persisted until next IPL. With OPAL, the reserved trace buffer may be in a different memory location than where the buffer was when it crashed, therefore all internal pointers will be invalid. This change will detect the change in buffer location and realign all internal pointers to be valid once again. This is not an issue with PHYP, only with OPAL. Change-Id: I476845550062433fba190294b0bd2bbcf8dad658 RTC: 206137 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82094 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Remove call to retrieve data from a previous runtime crashCorey Swenson2019-02-281-5/+9
| | | | | | | | | | | | | The reserved trace buffer is storing pointers that are no longer valid after opal-prd is restarted. Change-Id: I2495a2ca57e498aee571edc87e868ebd635d6df5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72580 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Couple improvements to some runtime tracesDan Crowell2018-10-161-0/+9
| | | | | | | | | | | | | | Added SRC description for reserved memory trace log Added trace buffers to scom failures Change-Id: Ieb490cbd9c9b4a9e518135a40469a62f2b69a054 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66895 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Create a utility to add/remove entries from a link list within a given bufferRoland Veloz2018-06-191-0/+214
This buffer is designed to be used in a runtime environment. I am laying the ground work for an over arching story that will save traces in a buffer for future consumption. For this commit, I have created the methods necessary to add, remove and find available space (for an Entry) in a buffer bound region of memory using a circular, doubly linked list. Change-Id: I259bb0f6051611a17b7b919bf026919ffdb12eb1 RTC: 191303 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59575 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud