Re: [PATCH] scsi: ufs: Try to save power mode change and UIC cmd completion timeout

2020-11-03 Thread Can Guo
Sorry, please ignore this specific change, which is wrongly sent out. On 2020-11-03 14:24, Can Guo wrote: Use the uic_cmd->cmd_active as a flag to track the lifecycle of an UIC cmd. The flag is set before send the UIC cmd and cleared after the completion is raised in IRQ handler. For a power mo

[PATCH] scsi: ufs: Try to save power mode change and UIC cmd completion timeout

2020-11-02 Thread Can Guo
Use the uic_cmd->cmd_active as a flag to track the lifecycle of an UIC cmd. The flag is set before send the UIC cmd and cleared after the completion is raised in IRQ handler. For a power mode change operation, including hibern8 enter/exit, the flag is cleared only after hba->uic_async_done completi