[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e60a9acc-f53e-83b4-8add-b7a53cfd6492@acm.org>
Date: Fri, 1 Oct 2021 09:19:37 -0700
From: Bart Van Assche <bvanassche@....org>
To: Adrian Hunter <adrian.hunter@...el.com>,
Jaegeuk Kim <jaegeuk@...nel.org>, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, martin.petersen@...cle.com
Cc: Bart Van Assche <bvanassche@...gle.com>
Subject: Re: [PATCH 2/2] scsi: ufs: Stop clearing unit attentions
On 9/30/21 9:58 PM, Adrian Hunter wrote:
> On 30/09/2021 22:52, Jaegeuk Kim wrote:
>> From: Bart Van Assche <bvanassche@...gle.com>
>>
>> Commit aa53f580e67b ("scsi: ufs: Minor adjustments to error handling")
>> introduced a ufshcd_clear_ua_wluns() call in
>> ufshcd_err_handling_unprepare(). As explained in detail by Adrian Hunter,
>> this can trigger a deadlock. Avoid that deadlock by removing the code that
>> clears the unit attention. This is safe because the only software that
>> relies on clearing unit attentions is the Android Trusty software and
>
> Did you test this?
This patch series has been tested on an Android phone running the latest Trusty
software but with runtime power management disabled.
Bart.
Powered by blists - more mailing lists