From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 43BB1CAC5A5 for ; Wed, 24 Sep 2025 21:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RxifU/yJBlbKqgA0WaFg8THK6N2X/+zda32QZLg5H2Y=; b=16xubxPhdUUR2KB5dQhMnk+VNS IxXK0zJXp9ivo1wclBbkIXF3s3fFHXQgVm5La04ppAdGTjgRXbo+y/O5wF1H3sHmDHnCP9SNAg2bo LJu/tswc0naeqZPXajfFGYbr/XrosNDVdVWRVFrrhl0wONjl2L20zZv+latvyfde+vWoTdx0NUEYt Ya+42Z9CriEXAmavWt8D+lSJAcHih29z1NyEKDYj6VvI0R8ZnZXdzINcd4ImU9c+oC5QOUWKpxjfs cNxSQUNQl4JvlZnsZWPvyjUR8cTiG/mF35je5yTlhnNrR8Llgtc+i3KxvECbi2fyIhK/lZiAJPIGl bzOZOz1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v1XOg-0000000432d-3nLA; Wed, 24 Sep 2025 21:51:34 +0000 Received: from 004.mia.mailroute.net ([199.89.3.7]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v1XOe-000000042zq-2cT1 for linux-mediatek@lists.infradead.org; Wed, 24 Sep 2025 21:51:33 +0000 Received: from localhost (localhost [127.0.0.1]) by 004.mia.mailroute.net (Postfix) with ESMTP id 4cX9Xd0437zm1742; Wed, 24 Sep 2025 21:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1758750685; x=1761342686; bh=RxifU/yJBlbKqgA0WaFg8THK 6N2X/+zda32QZLg5H2Y=; b=nKRux05TVIlp1cnPyfF86UrYcJIL88LNazwETS+d gYWZ9LwcEuUbw+H9vn0RDeeUhbgaa86RuPcYhQJIbaQCa/lBdT57Ddip/7m1oix/ oWp5S/bN6OMVW0eKFyj9z6l+gqRMbA3n/va+pV3yPpFmiBlwnWtjsNH8chtoMNE2 7AH/BNFaoTqcWp0L//ZGbj0BIuwhpFqwKNUC42ihPlxtZO1RLT7JHaYIJV2IYaGk JUJVeFw8nlq/tsXf537R/RV5tWS6XRQkecdsL6+sGZTKtl8N/+yV9tutENG0jBQM MLf1EkXH8hPPFSMV6BGChVNPAQVmNQ2aWa6Jxl92IqXR2Q== X-Virus-Scanned: by MailRoute Received: from 004.mia.mailroute.net ([127.0.0.1]) by localhost (004.mia [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id 285EyIrC-T2E; Wed, 24 Sep 2025 21:51:25 +0000 (UTC) Received: from [100.119.48.131] (unknown [104.135.180.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 004.mia.mailroute.net (Postfix) with ESMTPSA id 4cX9XG3Bgtzm0ytZ; Wed, 24 Sep 2025 21:51:09 +0000 (UTC) Message-ID: Date: Wed, 24 Sep 2025 14:51:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] ufs: core: Fix runtime suspend error deadlock To: =?UTF-8?B?UGV0ZXIgV2FuZyAo546L5L+h5Y+LKQ==?= , "linux-scsi@vger.kernel.org" , "jejb@linux.ibm.com" , "avri.altman@wdc.com" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" Cc: =?UTF-8?B?QWxpY2UgQ2hhbyAo6LaZ54+u5Z2HKQ==?= , =?UTF-8?B?Q0MgQ2hvdSAo5ZGo5b+X5p2wKQ==?= , =?UTF-8?B?RWRkaWUgSHVhbmcgKOm7g+aZuuWCkSk=?= , =?UTF-8?B?RWQgVHNhaSAo6JSh5a6X6LuSKQ==?= , wsd_upstream , =?UTF-8?B?Q2hhb3RpYW4gSmluZyAo5LqV5pyd5aSpKQ==?= , =?UTF-8?B?Q2h1bi1IdW5nIFd1ICjlt6vpp7/lro8p?= , =?UTF-8?B?WWktZmFuIFBlbmcgKOW9ree+v+WHoSk=?= , =?UTF-8?B?UWlsaW4gVGFuICjosK3pupLpup8p?= , "linux-mediatek@lists.infradead.org" , =?UTF-8?B?SmlhamllIEhhbyAo6YOd5Yqg6IqCKQ==?= , =?UTF-8?B?TGluIEd1aSAo5qGC5p6XKQ==?= , =?UTF-8?B?TmFvbWkgQ2h1ICjmnLHoqaDnlLAp?= , =?UTF-8?B?VHVuLXl1IFl1ICjmuLjmlabogb8p?= References: <20250923082147.2491450-1-peter.wang@mediatek.com> <2ab086da45acaab5ff6ff5117670a8ae65d2f0ca.camel@mediatek.com> Content-Language: en-US From: Bart Van Assche In-Reply-To: <2ab086da45acaab5ff6ff5117670a8ae65d2f0ca.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250924_145132_749634_A44B6479 X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On 9/24/25 2:26 AM, Peter Wang (=E7=8E=8B=E4=BF=A1=E5=8F=8B) wrote: > Are you saying that after the runtime suspend timer expires, > the error handler might be triggered just before runtime suspend? > I don't think this can happen, since there shouldn't be anything > triggering the error handler when the bus has been idle for a long > time. Hi Peter, The UFS error handler is not only triggered by bus errors. It can also be activated via debugfs. Do you agree that activation via debugfs can happen concurrently with runtime suspend? Thanks, Bart.