From nobody Mon Jun 8 07:23:59 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41F26246788; Sun, 31 May 2026 23:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780271484; cv=none; b=HHcFyd8RIl9oyrDwFbkTw6Z6HU8uPusTuOFpSXXicfEnopoGa9MR/uu/Jm9Axk1NAJb96XxtKXn/tzYebmRuSF/DXRaIfXuSwvS8y4IksPs0M1gzIFwd/1NON24ADTy/wg+Y1zsdSqi0nxGk/ndtsSMtvB19lW4nFbihB1UD/O0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780271484; c=relaxed/simple; bh=HeSRzaMmBgN8kFOW+DJ26Ptg66O+l6S6JV1ThRI74vE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uRNCzgSwy5FAIzmDAlimKdZ9BYCvhtImz35eu1PpBQlSh+zfoVS5uxgKYFHG5SxU/nug4uaQXu8f+vLYRjfvZvQm6xPITTCvjUikY/tZnxJMS0OUtz9gcbP4ekRrY9YFfIsKVHY3NBrgKcinAPNiinCFrOsiQDfJcBBwO5acoPE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=RMqHKovG; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="RMqHKovG" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64VBbuJD1641315; Sun, 31 May 2026 23:51:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=oKQXJxkhcwp Y18dGQqYzAdFsYFCW1CUOh+zYhSp6vxw=; b=RMqHKovGO86IX4BaBzED8pO++AV Z/3CcxRopg+5i0qCqpYBmWOHNYouDX3VwuatgA61HaMJVkVBQAlTB9DPieUA0Zak nLmbYJUIQopiD+Vs2ksGrAcboGb4Jh9U01akx6vVPTZZ3m40c00IGXzW8TE2C9Dq SLXEYsrVY+sT2o7RSUWXRwt1H8QFhD5cCZMYlaMDCjem8F38zoh5T0qJvQFtimm3 2mvddEm8AfebvEbsgn9AkdbA1rOWzNV6PEAvnXQ1VzcCR77SKR4/KiMdI+gCknye s7uHFCvPNGJTe82jtKE1o1AoloMGd78dh2m1hIOAKJpXzs58GvJFpQ02S9w== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4efq7fd040-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:51:01 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.7/8.18.1.7) with ESMTP id 64VNowqh008816; Sun, 31 May 2026 23:50:58 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 4efryj04bg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:50:58 +0000 (GMT) Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.1.12) with ESMTP id 64VNovoh008810; Sun, 31 May 2026 23:50:57 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com ([10.213.101.157]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 64VNovbe008809 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:50:57 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 2342877) id 113C2628; Mon, 1 Jun 2026 05:20:57 +0530 (+0530) From: Nitin Rawat To: mani@kernel.org, James.Bottomley@HansenPartnership.com, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nitin Rawat Subject: [PATCH V1 1/2] scsi: ufs: core: Add UFSHCD_QUIRK_SKIP_DEVICE_RESET quirk Date: Mon, 1 Jun 2026 05:20:10 +0530 Message-Id: <20260531235011.1052706-2-nitin.rawat@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260531235011.1052706-1-nitin.rawat@oss.qualcomm.com> References: <20260531235011.1052706-1-nitin.rawat@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-ORIG-GUID: 5Q_o-WTzz9EUXNBHg7qrJsz5pTphB9vV X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTMxMDI2MSBTYWx0ZWRfXzV8StmrmF7s1 J5wBXKyX4PoYMKMyUpYw+9dJ9ufDjKUMFgBy6bAFXOrdDRDL+5ztWKU3XEbKpiMWMVC76e6Pbxa KSBfRRScOndrGhqubkqtxR1J0D30kBl2JqmApwqytrIfQ1s6ZjNNHf/+pqjeMLzyunRkMOdzz6H FUri7HJg4WU3oq5uxYgjqnzKNrqRAMmX17lZw4VeEnOv+eE78pOnkBOb8iN36HQcyVfcMu+N+HK 2A1eSm13Rf4l0eX/6bkJLhnDOFqBsfP4OEA0bGZmtpW+yHIW3ozsNkBoiEfTbYYPT69+hW6P+Sr JdjtIcN1k/QLZSOQBJYLHgoNW9VWt1YyY1/GXYRatOsDx90AWPB+h9fWArRWxnExhXXgoASH8ab gbrXjpl78/3zT/Ua3J2fIsAzAg6YKhb6UloW5mcXSm0US9/mjy2om0Iu7I79Oz6KpUYFoFfSweL 6ENOphYCwRo6w1dfpkw== X-Proofpoint-GUID: 5Q_o-WTzz9EUXNBHg7qrJsz5pTphB9vV X-Authority-Analysis: v=2.4 cv=XqzK/1F9 c=1 sm=1 tr=0 ts=6a1cc965 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=2V3TmOejhFYnK1YQI3EA:9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-05-31_07,2026-05-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 adultscore=0 clxscore=1011 phishscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2605310261 Content-Type: text/plain; charset="utf-8" Add a new host quirk UFSHCD_QUIRK_SKIP_DEVICE_RESET to allow host controller drivers to skip asserting device reset during UFS power down. When RST_N is asserted, the UFS device firmware wakes up and executes its internal reset routine. This routine initializes multiple hardware blocks and causing the device to draw a large curreny during this time. If the power rail transitions to LPM (Low Power Mode) while the device is still drawing this elevated current, it may trigger an OCP (Over Current Protection) fault in the regulator. For some UFS devices (e.g., Micron), the elevated current draw persists until the reset line is deasserted, making a fixed delay insufficient to prevent OCP. This quirk allows such devices to skip device reset during UFS power down. The device reset will instead be asserted as part of the platform shutdown sequence. Signed-off-by: Nitin Rawat --- include/ufs/ufshcd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index 3eaae082329c..18d634499ce5 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -813,6 +813,20 @@ enum ufshcd_quirks { * allowed by M-PHY spec ver 6.0. */ UFSHCD_QUIRK_EXTENDED_TX_EQTR_ADAPT_LENGTH_L0L1L2L3 =3D 1 << 28, + + /* + * Some UFS devices keep drawing larger current after reset is + * asserted until it is deasserted. Asserting device reset + * during UFS power down causes the device firmware to wake up and + * execute its reset routine, drawing current beyond the permissible + * limit for low-power mode (LPM). This may trigger an OCP fault on + * the regulator supplying power to UFS. + * + * Enable this quirk to skip asserting device reset during UFS power + * down. This is handled only in shutdown; the device reset will be + * asserted as part of the platform shutdown sequence. + */ + UFSHCD_QUIRK_SKIP_DEVICE_RESET =3D 1 << 29, }; enum ufshcd_caps { -- 2.34.1 From nobody Mon Jun 8 07:23:59 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBE373603EF; Sun, 31 May 2026 23:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780271488; cv=none; b=SVrbhV4+FDEeZRbHvTYCy1PpcrKzdBm732BJNwX6L/PuZAOBESIfDw9eJZqHxiCZM7jcxUfk6QNvAtNabt/xSiZfH8FOooH5PmEjnTTe2U/4jkXbS2BssWVyk8KIFWoOM+zlW39qSp0IHv4KGo7qSTjh+RnVm8JizllZEmkzFQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780271488; c=relaxed/simple; bh=USWYhZGRa2R7RDbF9RBquLvBrwNSeb1Y4LrYpCDI6Pw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oxyy058aoo7LtLQg5NQ074CcMvKlbisyxzPP+w0uRvSKRhu6hr8o9T2XCv2xQ5sJN493Fu3fKbIkTZ2tU/fRvGOPbM9q40Bfnxy/QL+NdxQeyQu5odWxwvyYdcAwP2a6KLTMOxrIKCiR3po8bB3mjan8QkCjBQ7EEQZx3Jg02EA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=fMhrJlMF; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="fMhrJlMF" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64VJUGvG3838769; Sun, 31 May 2026 23:51:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=YUKxUX9UHqP UcjOStYk74PJ5jj3MakW/GTJelLi6lSU=; b=fMhrJlMFb8I+bmOtcy4U5AY5Gkf KKxM6492mDXOTTsU6IL5MEj7CpjlVr4rY0+Fnpuz/Hadb5Ir2YPCOAHQSP1aCF7s ijNaU1x0DLW0lJi/6m7JCAxvWdbkPEZVCZxE7KB/PISyVX0FsPovr0jkZye27GUD bFqWpj98ikuo2SP60/vZiFrs3ULmxql0xnSSmQi11K6yelxTwTbLyrdzeqxcclBU HGOCdkK5XTKnqQGtNlBKFM+UOrw6LptFQjN1v0xNguZSOtzqry0SaIZJTU4CbCv5 h094j3zo4VllV1Dd4Q7BxTgx/X+8lMtaa7WYIsar3CQ02s2tq5+jFZs+ung== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4efq7fd042-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:51:01 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.7/8.18.1.7) with ESMTP id 64VNowvZ008828; Sun, 31 May 2026 23:50:58 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 4efryj04bq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:50:58 +0000 (GMT) Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.1.12) with ESMTP id 64VNovoj008810; Sun, 31 May 2026 23:50:58 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com ([10.213.101.157]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 64VNowTg008823 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2026 23:50:58 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 2342877) id DD747625; Mon, 1 Jun 2026 05:20:57 +0530 (+0530) From: Nitin Rawat To: mani@kernel.org, James.Bottomley@HansenPartnership.com, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nitin Rawat Subject: [PATCH V1 2/2] scsi: ufs: ufs-qcom: Enable SKIP DEVICE RESET Quirk Date: Mon, 1 Jun 2026 05:20:11 +0530 Message-Id: <20260531235011.1052706-3-nitin.rawat@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260531235011.1052706-1-nitin.rawat@oss.qualcomm.com> References: <20260531235011.1052706-1-nitin.rawat@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-ORIG-GUID: ScOiyB3NDfBflTQTwGr-cyNHAvDaTFo2 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTMxMDI2MSBTYWx0ZWRfX9l5+juXe6ENP OdFn5qVCShZTbiE7byA0ylrM3BcbgbYBLsE3BDh3xx9MDwBf+T3zWoCTlc3ZZsRd9UMBuMv9Bfk 6AcAcYmZIiPmpqjtyoWY0HIwGIt29Gt10geYVcrRII3XrhR2DwBZCWf0p09Ph7Lc9Mg58x5ju4b Mauhy2+9zVpdMi+wb2CV/qEDJVJJZxJTOWJwzKi3+0ZBw4Psnp2klOB1VX78AxMxFtqy1jkyuvg DKVssXOBEb+ni2QYRjVYUBxASpap29FRcnXKJuun5HPEHiZ726qdKY2yajZwReG35Cj8zVLXnqC OBFK+Xnx+ocufabnN+pvG4rJabg6BuswBwR4GlC9KNnaRV8hG6FSRcNb+vHMwUZQohJct78Lsyo OawWhzmN7ajGRkUyGu1S+nvrMJrvDgdzfSXy1KAiHkgmQWrETySGu8bz8iSqXkLJUu2Cq/prPkA DyrgYfbsrgSKCW712Xg== X-Proofpoint-GUID: ScOiyB3NDfBflTQTwGr-cyNHAvDaTFo2 X-Authority-Analysis: v=2.4 cv=XqzK/1F9 c=1 sm=1 tr=0 ts=6a1cc966 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=y5UFWkHqcRnmusbZrT0A:9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-05-31_07,2026-05-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 adultscore=0 clxscore=1015 phishscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2605310261 Content-Type: text/plain; charset="utf-8" A previous fix [1] addressed an OCP (Over Current Protection) issue during UFS power down (PC=3D3) by adding a 10ms delay after asserting HWRST. The delay allows the UFS device to complete its reset routine before the power rail transitions to LPM (Low Power Mode). However, this fix is insufficient for certain Micron UFS parts. Unlike other vendors whose reset routine completes within ~10ms, Micron parts continue to draw current beyond the LPM threshold for a longer duration after reset is asserted, specifically until the reset is deasserted (RST_N goes high). No fixed delay can reliably cover this window since there is currently no mechanism for the host to query whether the device reset routine has completed. Enable the UFSHCD_QUIRK_SKIP_DEVICE_RESET quirk to skip device assert reset during UFS power down for Micron parts. For all other vendors, the existing behavior (assert reset + 10ms delay) is preserved. This quirk is applicable only during shutdown. The device reset will be asserted as part of the platform shutdown sequences. [1] commit 5127be409c6c ("scsi: ufs: ufs-qcom: Fix UFS OCP issue during UFS power down (PC=3D3)") Signed-off-by: Nitin Rawat --- drivers/ufs/host/ufs-qcom.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c index 291c43448764..d0ad1e47c31d 100644 --- a/drivers/ufs/host/ufs-qcom.c +++ b/drivers/ufs/host/ufs-qcom.c @@ -770,9 +770,17 @@ static int ufs_qcom_suspend(struct ufs_hba *hba, enum = ufs_pm_op pm_op, if (!ufs_qcom_is_link_active(hba)) ufs_qcom_disable_lane_clks(host); - - /* reset the connected UFS device during power down */ - if (ufs_qcom_is_link_off(hba) && host->device_reset) { + /* + * For some UFS vendors, skip asserting device reset here. + * These vendor parts keep drawing larger current after reset + * is asserted until it is deasserted, and the 10ms delay is + * not sufficient to prevent OCP (Over Current Protection) + * on the regulator. This is for the powerdown case, so + * the device reset can be asserted later as part of the + * platform shutdown sequence. + */ + if (ufs_qcom_is_link_off(hba) && host->device_reset && + !(hba->quirks & UFSHCD_QUIRK_SKIP_DEVICE_RESET)) { ufs_qcom_device_reset_ctrl(hba, true); /* * After sending the SSU command, asserting the rst_n @@ -1288,6 +1296,19 @@ static struct ufs_dev_quirk ufs_qcom_dev_fixups[] = =3D { static void ufs_qcom_fixup_dev_quirks(struct ufs_hba *hba) { ufshcd_fixup_dev_quirks(hba, ufs_qcom_dev_fixups); + + /* + * Some UFS parts keep drawing larger current after reset is asserted + * until it is deasserted. The 10ms delay added after asserting HWRST + * (as done for other vendors) is not sufficient for these parts. + * + * Skip asserting device reset during UFS power down for these parts + * to prevent OCP (Over Current Protection) fault on the regulator. + * This is handled only in shutdown; the device reset will be asserted + * as part of the platform shutdown sequence. + */ + if (hba->dev_info.wmanufacturerid =3D=3D UFS_VENDOR_MICRON) + hba->quirks |=3D UFSHCD_QUIRK_SKIP_DEVICE_RESET; } static u32 ufs_qcom_get_ufs_hci_version(struct ufs_hba *hba) -- 2.34.1