Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

Yi-Shum
Copy link
Collaborator

@Yi-Shum Yi-Shum commented Dec 30, 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

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
```
@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
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants