diff options
| author | Matt Derksen <mderkse1@us.ibm.com> | 2017-10-23 15:17:24 -0500 |
|---|---|---|
| committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-11-09 17:47:52 -0500 |
| commit | 2b4e2315094efa8eb3e5b45480418bd86806a25f (patch) | |
| tree | ed2223d8cb9e5323e337c9c97c2f8bafcb98041f /src/include/usr/errl/errlentry.H | |
| parent | 9fec69bc023ce50d718f4430e5dd7c6f7b2cd810 (diff) | |
| download | blackbird-hostboot-2b4e2315094efa8eb3e5b45480418bd86806a25f.tar.gz blackbird-hostboot-2b4e2315094efa8eb3e5b45480418bd86806a25f.zip | |
Send down OCC info logs to BMC for call-home
This creates a new eSEL type (dd) to display
informational callhome logs. The OCC will send
down telemetry information to track the general health
of the system using this new log.
Change-Id: I0319798554c4e48c287953bd2d0de8352bfc4909
RTC:180324
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48776
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: Brian E. Bakke <bbakke@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 555bcb4c1..4159d867d 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -612,6 +612,24 @@ public: */ std::vector<void*> getUDSections(compId_t i_compId, uint8_t i_subSect); + /** + * @brief set iv_eselCallhomeInfoEvent + * + * When true, send this error as a special callhome + * type of eSEL to the BMC + * + * @return nothing + */ + void setEselCallhomeInfoEvent(bool i_valid); + + /** + * @brief get iv_eselCallhomeInfoEvent + * + * @return true if this log should result in a callhome event type eSEL, + * false otherwise + */ + bool getEselCallhomeInfoEvent(); + private: /** @@ -788,6 +806,7 @@ private: */ bool getSkipShowingLog(); + /** * @brief Sets internal flag to indicate if this log should be * saved to PNOR and sent to the BMC @@ -838,6 +857,9 @@ private: //BMC, or displayed in the console bool iv_skipShowingLog; + // when true, send this special type of eSEL to the BMC + // This is used to send OCC informational errors up to BMC + bool iv_eselCallhomeInfoEvent; }; @@ -984,6 +1006,21 @@ inline bool ErrlEntry::getSkipShowingLog() return iv_skipShowingLog; } +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +inline void ErrlEntry::setEselCallhomeInfoEvent(bool i_valid) +{ + iv_eselCallhomeInfoEvent = i_valid; + return; +} + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +inline bool ErrlEntry::getEselCallhomeInfoEvent() +{ + return iv_eselCallhomeInfoEvent; +} + } // End namespace |

