Re: [PATCH 1/2] scsi: ufs: retry START_STOP on UNIT_ATTENTION

From: Bart Van Assche
Date: Thu Sep 30 2021 - 15:55:26 EST


On 9/30/21 12:52 PM, Jaegeuk Kim wrote:
Commit 57d104c153d3 ("ufs: add UFS power management support") made the UFS
driver submit a REQUEST SENSE command before submitting a power management
command to a WLUN to clear the POWER ON unit attention. Instead of
submitting a REQUEST SENSE command before submitting a power management
command, retry the power management command until it succeeds.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>