blob: 2bae9a7cfa01dff9b0112498e82f4cbc9c04b01f (plain
Implement the Soft Power Off function.
On receiving the SMS_ATTN from BMC, Host will respond with a
GetMessageFlags command and the BMC will respond with a static
data indicating that Event Message Buffer is full. Host then sends
'ReadEvent' command and BMC responds with an architected packet
mentioning that the type is SOFT_OFF. Host then goes ahead and starts
to quiesce. Once that is done, Host will send a hard
power off command to BMC and then BMC will issue a hard power off.
- name: ResponseReceived
When the response is received for 'SMS_ATN', this is set to
'SoftOffReceived' and is set to 'HostShutdown' when Host
sends a Power Off request.
- name: HostResponse
Possible response types from Host for a Soft Power Off function.
- name: NotApplicable
Default initial value.
- name: SoftOffReceived
Host has received the SMS_ATN from BMC indicating that
Host needs to do a Soft Power Off.
- name: HostShutdown
Host has sufficiently quiesced and acknowledged the shutdown
request such that the hardware shutdown sequence can safely