yv4: sd: support gpio isr events
Summary:
- Send event logs to BMC for:
- CPU thermal trip
- HSC OCP
- P12V_STBY UV
- Fast PROCHOT (MB Throttle)
- blade power-on sequence failure (SLPS3)
- SYS throttle
- HDT PRSNT
- PLTRST
Description:
- Support events which is triggered by GPIO interrupt
Test Plan:
- Build code: pass
- Trigger GPIO interrupt and check event logs
Test Log:
-
DC cycle sled to trigger PLTRST assertion
-
Check event log root@bmc:~# mfg-tool log-display "7": { "additional_data": [], "event_id": "", "message": "Event: Host1 PLTRST Assertion, ASSERTED", "resolution": "", "resolved": false, "severity": "xyz.openbmc_project.Logging.Entry.Level.Error", "timestamp": "2024-07-18T17:36:53.723000000Z", "updated_timestamp": "2024-07-18T17:36:53.723000000Z" } root@bmc:~# journalctl | grep -i pltrst Jul 18 10:36:53 bmc pldmd[5239]: Event: Host1 PLTRST Assertion, ASSERTED
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This pull request has been merged in facebook/OpenBIC@ea69b562b6142efdd9f7ecfdf74c339c2f8274a4.