[Skiboot] [PATCH 4/5] ipmi: Message Linux to perform graceful shutdown

Stewart Smith stewart at linux.vnet.ibm.com
Wed Feb 4 16:20:24 AEDT 2015


Joel Stanley <joel at jms.id.au> writes:
> +static void sel_power(uint8_t power)
> +{
> +	switch (power) {
> +	case SOFT_OFF:
> +		prlog(PR_NOTICE, "IPMI: soft shutdown requested\n");
> +		opal_queue_msg(OPAL_MSG_SHUTDOWN, NULL, NULL, SOFT_OFF);
> +		break;

Triple bonus points if documentation added to doc/opal-api
r.e. OPAL_MSG_SHUTDOWN and any more of OPAL_MSG things you feel like
doing.



More information about the Skiboot mailing list