AMDESE / amd-power-control

OpenBMC power control for AMD CRBs.
Apache License 2.0
9 stars 2 forks source link

amd-power-control: check for RSMRST #34

Closed modolaty closed 10 months ago

modolaty commented 10 months ago

Check for RSMRST line for max of 1 sec before calling Power Restore Policy

modolaty commented 10 months ago

This is a change that works for https://ontrack-internal.amd.com/browse/FWDEV-65264 Just checking to see if 1 sec max delay is OK. Note: The max loop count I have seen is 1 RSMRST gets cleared after 0.1 sec wait

modolaty commented 10 months ago

Just noticed: Adding "MON_RSMRST_L" for Turin platform DTS to GPIO G7. But other platforms (Genoa, SP6, MI300, Venice, ..) do NOT have this line define. will make 1 more change to see if the line exist before checking for it