OpenBIC icon indicating copy to clipboard operation
OpenBIC copied to clipboard

yv4: sd: support gpio isr events

Open BonnieLo opened this issue 1 year ago • 1 comments

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:

  1. DC cycle sled to trigger PLTRST assertion

  2. 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

BonnieLo avatar Jul 23 '24 01:07 BonnieLo

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Jul 23 '24 01:07 facebook-github-bot

This pull request has been merged in facebook/OpenBIC@ea69b562b6142efdd9f7ecfdf74c339c2f8274a4.

facebook-github-bot avatar Aug 01 '24 19:08 facebook-github-bot