Skip to content

fby3.5: cl: Add FRB3 and CATERR event log#108

Closed
Yi-Shum wants to merge 1 commit into
facebook:mainfrom
Yi-Shum:fby3.5-Add_FRB3_and_CATERR_event_log
Closed

fby3.5: cl: Add FRB3 and CATERR event log#108
Yi-Shum wants to merge 1 commit into
facebook:mainfrom
Yi-Shum:fby3.5-Add_FRB3_and_CATERR_event_log

Conversation

@Yi-Shum

@Yi-Shum Yi-Shum commented Dec 30, 2021

Copy link
Copy Markdown
Collaborator

Summary:

  • Add GPIO interrupt to send FRB3 and CATERR event log.
  • Add libipmi.h, which define value about IPMI spec "42. Sensor and Event Code Tables".

Test plain:

  • Build code: Pass

Log:
Check whether the correct event log has been added.

root@bmc-oob:~# log-util slot1 --print
1    slot1    2021-12-28 21:24:05    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:24:05, Sensor: PROC_FAIL (0x65), Event Data: (04FFFF) FRB3,  Assertion
1    slot1    2021-12-28 21:43:53    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:43:53, Sensor: CATERR (0xEB), Event Data: (0BFFFF) MCERR/CATERR Assertion
1    slot1    2021-12-28 21:46:10    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:46:10, Sensor: CATERR (0xEB), Event Data: (00FFFF) IERR/CATERR Assertion
Summary:
- Add GPIO interrupt to send FRB3 and CATERR event log.
- Add libipmi.h, which define value about IPMI spec "42. Sensor and Event Code Tables".

Test plain:
- Build code: Pass

LOG:
Check whether the correct event log has been added.
```
root@bmc-oob:~# log-util slot1 --print
1    slot1    2021-12-28 21:24:05    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:24:05, Sensor: PROC_FAIL (0x65), Event Data: (04FFFF) FRB3,  Assertion
1    slot1    2021-12-28 21:43:53    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:43:53, Sensor: CATERR (0xEB), Event Data: (0BFFFF) MCERR/CATERR Assertion
1    slot1    2021-12-28 21:46:10    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:46:10, Sensor: CATERR (0xEB), Event Data: (00FFFF) IERR/CATERR Assertion
```
@Yi-Shum Yi-Shum requested a review from GoldenBug December 30, 2021 09:30
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 30, 2021
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Dec 31, 2021
Summary:
- Add GPIO interrupt to send FRB3 and CATERR event log.
- Add libipmi.h, which define value about IPMI spec "42. Sensor and Event Code Tables".

Test plain:
- Build code: Pass

Log:
Check whether the correct event log has been added.
```
root@bmc-oob:~# log-util slot1 --print
1    slot1    2021-12-28 21:24:05    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:24:05, Sensor: PROC_FAIL (0x65), Event Data: (04FFFF) FRB3,  Assertion
1    slot1    2021-12-28 21:43:53    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:43:53, Sensor: CATERR (0xEB), Event Data: (0BFFFF) MCERR/CATERR Assertion
1    slot1    2021-12-28 21:46:10    ipmid            SEL Entry: FRU: 1, Record: Standard (0x02), Time: 2021-12-28 21:46:10, Sensor: CATERR (0xEB), Event Data: (00FFFF) IERR/CATERR Assertion
```

Pull Request resolved: #108

Reviewed By: GoldenBug

Differential Revision: D33375188

Pulled By: deathowl

fbshipit-source-id: c73419a
khoung76642 pushed a commit to khoung76642/OpenBIC that referenced this pull request Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

2 participants