[PATCH v2] ufs: core: fix deadlock when rtc update

Peter Wang (王信友) peter.wang at mediatek.com
Mon Jul 15 19:03:07 PDT 2024


On Mon, 2024-07-15 at 10:17 -0700, Bart Van Assche wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  On 7/14/24 11:38 PM, peter.wang at mediatek.com wrote:
> > There is a deadlock when runtime suspend waits for the flush of RTC
> work,
> > and the RTC work calls ufshcd_rpm_get_sync to wait for runtime
> resume.
> 
> The above description is too brief - a description of how the fix
> works
> is missing. Please include a more detailed description in future
> patches.
> 
> Anyway:
> 
> Reviewed-by: Bart Van Assche <bvanassche at acm.org>

Hi Bart,

Will improve in future patches.

Thanks for review.
Peter



More information about the Linux-mediatek mailing list