Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oem-ibm: PLDM Power down effecter and APR support #572

Open
wants to merge 1 commit into
base: 1110
Choose a base branch
from

Conversation

vkaverap
Copy link
Contributor

This commit adds a single OEM state effecter with a OEM entity type and with states [7, 9, 10] to perform 3 custom actions ReIPL, PowerDown and ArmAPR.

The defined states are
PLDM_POWER_CYCLE_OFF_SOFT_GRACEFUL= 7,
PLDM_POWER_OFF_SOFT_GRACEFUL= 9 and
PLDM_POWER_OFF_HARD_GRACEFUL= 10

When PHYP toggles the PLDM_POWER_CYCLE_OFF_SOFT_GRACEFUL we set the state manager property RequestedHostTransition to ForceWarmReboot instead of Reboot, this will directly reboot the host firmware without notification and chassis power will remain on throughout the reboot, instead of doing a graceful reboot.

This commit adds a single OEM state effecter with a OEM
entity type and with states [7, 9, 10] to perform 3 custom
actions ReIPL, PowerDown and ArmAPR.

The defined states are
PLDM_POWER_CYCLE_OFF_SOFT_GRACEFUL= 7,
PLDM_POWER_OFF_SOFT_GRACEFUL= 9 and
PLDM_POWER_OFF_HARD_GRACEFUL= 10

When PHYP toggles the PLDM_POWER_CYCLE_OFF_SOFT_GRACEFUL
we set the state manager property RequestedHostTransition
to ForceWarmReboot instead of Reboot, this will directly
reboot the host firmware without notification and chassis
power will remain on throughout the reboot, instead of
doing a graceful reboot.

Signed-off-by: Varsha Kaverappa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant