On Tue, 2025-03-11 at 16:42 +0800, qiwu.chen wrote: > There is a deadlock when triggers pm shutdown during suspend-to-idle > state transition > to resume. Here are the issue reproduce steps: > > Hi Qiwu, It's incorrect to directly call kernel_power_off due to low battery. This is encountered during ufs resume, indicating that there are still IO operations to be performed. Before kernel_power_off, it should be ensured that the file system has been unmounted and no more IO will send to UFS. Otherwise, if IO continues to send to UFS after UFS shutdown, unexpected errors will also occur." Thanks. Peter