sscargal / pmemchk

MIT License
0 stars 1 forks source link

[Rule] [Optane] [ipmctl_show_-a_-dimm] LatchedLastShutdownStatus #29

Open sscargal opened 2 years ago

sscargal commented 2 years ago

Analyzer Module: Optane Input File: ipmctlshow-a_-dimm Parameter: LatchedLastShutdownStatus Applies to: Optane 100 or later Description: This rule should check the status bits and report when unexpected conditions were reported by the PMem module

Expect:

LatchedLastShutdownStatus=PM ADR Command Received, DDRT Power Fail Command Received, PMIC 12V/DDRT 1.2V Power Loss (PLI), Controller's FW State Flush Complete, Write Data Flush Complete, Extended Flush Not Complete

Possible Values

LatchedLastShutdownStatus
           The status of the last shutdown of the PMem module. One or more of:

           •   Unknown: The last shutdown status cannot be determined.

           •   PM ADR Command Received: Power management ADR command received.

           •   PM S3 Received: Power management S3 command received.

           •   PM S5 Received: Power management S5 command received.

           •   DDRT Power Fail Command Received: DDR power fail command received.

           •   PMIC 12V/DDRT 1.2V Power Loss (PLI)

           •   PM Warm Reset Received: Power management warm reset received.

           •   Thermal Shutdown Received: Thermal shutdown triggered.

           •   Controller’s FW State Flush Complete: Flush Completed.

           •   Viral Interrupt Received: Viral interrupt received.

           •   Surprise Clock Stop Received: Surprise clock stop received.

           •   Write Data Flush Complete: Write data flush completed.

           •   PM S4 Received: Power management S4 command received.

           •   PM Idle Received: Power management idle received.

           •   DDRT Surprise Reset Received: Surprise reset received.

           •   Extended Flush Not Complete.

           •   Extended Flush Complete.

TODO: Mark which events are Passes, and which are Fails