From patchwork Thu Jul 4 15:28:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 13723916 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 921421B1439; Thu, 4 Jul 2024 15:29:58 +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=1720107000; cv=none; b=iyj596sXtC7JJlKggYSpJwDXBQTOyewy/Iy5aia2pGneIfCiJHym80O3jO4AHf6WLGba+mt8uCk92rXYKBMB7QcAO3R6NI/ZxDkTdSxgYUFyGGGgy/oPcxTyUtygCr+WTHpDrYtfugG0mSghlR07xUQXq12uAyn62kyWkBjGh+g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107000; c=relaxed/simple; bh=jj8JT9Q7bseYaElmt88ghzG94u/YQzP8ahHHjaboKZY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mpviXODidMH+Jz34NaqNPnYMVQ03PXgHHvMs0Y0aNe+AJ9h2KHTItK//uvarchQFHmqj+5rmaTeKEjHY7ZRIRLnvV0waA58g9bJKU0KFFxZMv9Syg9n8JV8zxAasSarZ4+n+FRdHmmHLzyNeFQLJg0nVMKEsV6a4SRzxlPn6i9U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ngbxDi9u; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ngbxDi9u" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4648B65T032031; Thu, 4 Jul 2024 15:29:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= OZDfbq5H548WZ6eRc5eVRFa/LDZz7MySVsSYLE5afew=; b=ngbxDi9ur/K48/w0 c465NdYLv4utwRXocKfNQp9HGmMr66dAqF18K8/gPb/eoEb4ODCFx5dhuYksK4d8 n67+Ou6Ok7V8ivYM97fo88bi9apvkpSBLNq/wFbEyOzbMU67yqh7lb8+XgTwqKoG JXECZzf7M2cvvntUu/ddVhOEFj9QwEXc3GB8ScDqEz+IT5e3p5N+Gs8+aanIZy01 bBM/KG1i5NFZs0+SnLZqqH2YdL3ncZeXo1UO/qYdMlg8McATsmiOcx+QmAgwa/XL av7u6cfVxz25T9+kSjsw3ByAcWd0iiAT5TzVYwbcsj1MvQtIxdJMxJRqd2VYOmUQ 8jU2Ug== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 402abtus95-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:27 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTQoM026393 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:26 GMT Received: from hu-kriskura-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 4 Jul 2024 08:29:20 -0700 From: Krishna Kurapati To: Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Konrad Dybcio , Conor Dooley , Baruch Siach , Kathiravan T , "Sivaprakash Murugesan" , Andy Gross , Jeffrey Hugo , Douglas Anderson , Stephen Boyd , Iskren Chernev , AngeloGioacchino Del Regno , Vivek Gautam CC: , , , , , Krishna Kurapati , Subject: [PATCH 3/8] arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:43 +0530 Message-ID: <20240704152848.3380602-4-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240704152848.3380602-1-quic_kriskura@quicinc.com> References: <20240704152848.3380602-1-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: c4RdD-uVyQHoUeS9-AWQksMR5JBc4OE3 X-Proofpoint-ORIG-GUID: c4RdD-uVyQHoUeS9-AWQksMR5JBc4OE3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-04_10,2024-07-03_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 suspectscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 adultscore=0 spamscore=0 impostorscore=0 mlxlogscore=555 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040111 For Gen-1 targets like MSM8998, it is seen that stressing out the controller in host mode results in HC died error: xhci-hcd.12.auto: xHCI host not responding to stop endpoint command xhci-hcd.12.auto: xHCI host controller not responding, assume dead xhci-hcd.12.auto: HC died; cleaning up And at this instant only restarting the host mode fixes it. Disable SuperSpeed instance in park mode for MSM8998 to mitigate this issue. Cc: Fixes: 026dad8f5873 ("arm64: dts: qcom: msm8998: Add USB-related nodes") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 3c94d823a514..6d5e1c7b2da5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2144,6 +2144,7 @@ usb3_dwc3: usb@a800000 { interrupts = ; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; + snps,parkmode-disable-ss-quirk; phys = <&qusb2phy>, <&usb3phy>; phy-names = "usb2-phy", "usb3-phy"; snps,has-lpm-erratum;