[Skiboot] [PATCH] FSP/RTC: Fix possible FSP R/R issue in rtc write path

Ananth N Mavinakayanahalli ananth at linux.vnet.ibm.com
Tue Jun 13 18:39:29 AEST 2017


On Tue, Jun 13, 2017 at 01:50:50PM +0530, Vasant Hegde wrote:
> fsp_opal_rtc_write() checks FSP status before queueing message to FSP. But if
> FSP R/R starts before getting response to queued message then we will continue
> to return OPAL_BUSY_EVENT to host. In some extreme condition host may
> experience hang. Once FSP is back we will repost message, get response from FSP
> and return OPAL_SUCCES to host.
> 
> This patch return OPAL_SUCCESS if FSP R/R happens before getting response.
> 
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

Acked-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>



More information about the Skiboot mailing list