[Skiboot] [PATCH] fsp/tpo: Provide support for disabling TPO alarm

Stewart Smith stewart at linux.vnet.ibm.com
Fri May 26 16:43:09 AEST 2017


Vaibhav Jain <vaibhav at linux.vnet.ibm.com> writes:
> This patch adds support for disabling a preconfigured
> Timed-Power-On(TPO) alarm on FSP based systems. Presently once a TPO alarm
> is configured from the kernel it will be triggered even if its
> subsequently disabled.
>
> With this patch a TPO alarm can be disabled by passing
> y_m_d==hr_min==0 to fsp_opal_tpo_write(). A branch is added to the
> function to handle this case by sending FSP_CMD_TPO_DISABLE message to
> the FSP instead of usual FSP_CMD_TPO_WRITE message. The kernel is
> expected to call opal_tpo_write() with y_m_d==hr_min==0 to request
> opal to disable TPO alarm.
>
> Signed-off-by: Vaibhav Jain <vaibhav at linux.vnet.ibm.com>

Thanks, merged to master as of c873cc7bc58b05f1aa4554f6338f430169efa1db

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list