lkml.org 
[lkml]   [2026]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5] scsi: ufs: core: call hibern8 notify when hibern8 cmd failed
From
On 5/2/26 4:30 PM, Hongjie Fang wrote:
> The vendor hibern8 notify callback always can be executed in the
> PRE_CHANGE phase of hibern8 enter/exit. But it cannot be executed
> in the POST_CHANGE phase if the hibern8 cmd fails.
>
> When the hibern8 cmd fails, the vendor hibern8 notify callback
> should still have the opportunity to execute.
>
> Add a third enum ROLLBACK_CHANGE for the ufshcd_vops_hibern8_notify(),
> pass the ROLLBACK_CHANGE when the hibern8 command returns a failure and
> use the POST_CHANGE otherwise.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

\
 
 \ /
  Last update: 2026-05-04 04:31    [W:0.082 / U:34.285 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog