From patchwork Thu Jul 4 15:28:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810846 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 9BBDA1AD9CB; Thu, 4 Jul 2024 15:29:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720106998; cv=none; b=VrjFMykTByUF0psHuxi62Mt1Sf5dRxiFy1ejbYTBZyJu7PFCnwlo2Byzw90GIwv8+yd8JDJlIojRsW6XKnMRMw/09z7gWvv0Cllkdg1BHG2Ztaiu3oiE1nklBJkzynxpn5UO1XhrzjFDvv04khcIBx6LPQVPY7fx7zf+biBEgd0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720106998; c=relaxed/simple; bh=nqbj245Lqk/BnzmG21dNWXUAnjP4PepU7tfdfPlaHGQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mCQrp3CFdDthbId9nXdD5nQxPdwX85upOJhYMnGJlCmUWIbytnNcsoVrVrlwHlmECCpfmBe7aTcTVheIm94pcNt7h3VG1euyVJ8uj+4hW81fbC0oJUR7IpJDpJhgS5kENQgi2R6o4kK07yQwygEpkVH5EZEHlcPYxZXltM2WYQU= 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=BeImiB/l; arc=none smtp.client-ip=205.220.168.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="BeImiB/l" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 464Exc1X011782; Thu, 4 Jul 2024 15:29:12 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= iefFYZNqUmP6WnP8Suf1EEtxcDDucMELyuUCosCozMI=; b=BeImiB/lBb4zzzf2 hFBLJRAk3ufaM8mhgChhk1DgfazoZ9tQmbEtp6jvUYwXGjpazSexvTw9P5SXi/xu AFiFA4jIODdvHb82gtXIh7KIWWqxAdA8olXUAkxB/JkIN0Ls9PNGQPVTXKtDeSXs +2OEbo68U4RsavbaijooYNuKCAoJmcU4jILps5qFpNlZWQWTzSERqJWEaQNk9rvj gZF4iwPLpiBqDgtdSwIcr66mE8uVGe62YWAdxfG5BWDhGQpj9bZPqwzp59bF1Jrx jqPDC9Z2yMAfFEp8szHpYySpIz9VBQdtNmdnRnY8ZUqye4+oJbcMOdFbctnxBecr DlFg0Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 404yr9c25e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTB37006218 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:11 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:04 -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 1/8] arm64: dts: qcom: ipq6018: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:41 +0530 Message-ID: <20240704152848.3380602-2-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: up3F5Bf2kICWNNb0kkrXhB1JaHm-utlR X-Proofpoint-ORIG-GUID: up3F5Bf2kICWNNb0kkrXhB1JaHm-utlR 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 phishscore=0 clxscore=1011 bulkscore=0 impostorscore=0 malwarescore=0 spamscore=0 mlxscore=0 mlxlogscore=622 adultscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040111 For Gen-1 targets like IPQ6018, 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 IPQ6018 to mitigate this issue. Cc: Fixes: 20bb9e3dd2e4 ("arm64: dts: qcom: ipq6018: add usb3 DT description") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index b3b98f050cfd..e1e45da7f787 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -704,6 +704,7 @@ dwc_0: usb@8a00000 { clocks = <&xo>; clock-names = "ref"; tx-fifo-resize; + snps,parkmode-disable-ss-quirk; snps,is-utmi-l1-suspend; snps,hird-threshold = /bits/ 8 <0x0>; snps,dis_u2_susphy_quirk; From patchwork Thu Jul 4 15:28:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810845 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 886E21B140B; Thu, 4 Jul 2024 15:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107000; cv=none; b=eFsTG0smt58f+aT3Kt2xdO2g236vQbW88UAM+V+rKIfgngLhsKeUrX4ej8GLXuDHFHDWmcIAaNEDiPGTEgsobH5U0DsFxv10DdD//gKHzkJIL6/nE3kytUARNPa2ZzaiBt74GLZ38XoKb4TWOvRPcLi14k/PPWPqBJlC8TKO5lk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107000; c=relaxed/simple; bh=tP+4sJpAGQYLsPwM2Mebn9h8BtrPAUD44qsZrWQnc9g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WUj/DVpSr2VgqzvDmApW12lLHZLiSAI5+sihEEbcLZmDKkKN/BTYFGK6dbvbSlEPLU6pz2hd0YKyu1Kn/X5p8XV50xlYPM6t+XA7g4DCV3weFZkT2VHLeroLLRcy9pUOe22zgyyW9KZzdGrVxBy+cEqZYn/R8Q/Xcrp4PpgUKcE= 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=VYAMPK0z; arc=none smtp.client-ip=205.220.168.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="VYAMPK0z" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 464CFllD013436; Thu, 4 Jul 2024 15:29:20 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= WNky1h01L/oGAoP1hesPha0379YWZQi0jpby3lzjt/U=; b=VYAMPK0zWouLPvWf zfjStSeRhRcjT4AwMF7fnImtPq3SGSTM7bw4KvjBEHCNnr50WuY5tAtZxyaSCbwm CbfINe6UYaFYqVuMPGqnF66lILIJZFYk/PpnufoQGF4XgJFZoJCYyKuOE6CkYZVD bmGlk25pfiJvlIVoooGbcQgbzwdy2c5huEUHFLv7MaAKVV99W6SXgBfkYYy9XhuZ ka5r1j9Ju2lbLLTGlZkDSXnLrqF2mJC1t8PI/zOQYmbbPpsSZPUTD4CYGH5xUNsH s46QCQBdKTzc1ODIjSE4NXj9XdbwrXYT7dyzSO62yTBAQYc2Jixxq7ZyYrLyC5Qr BCz1dg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4054ndua6d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:19 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTIaN007111 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:18 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:12 -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 2/8] arm64: dts: ipq8074: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:42 +0530 Message-ID: <20240704152848.3380602-3-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: kJOraBwZ4wJZBNsKk7HKGsRrE7n7bahF X-Proofpoint-ORIG-GUID: kJOraBwZ4wJZBNsKk7HKGsRrE7n7bahF 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 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=462 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040110 For Gen-1 targets like IPQ8074, 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 IPQ8074 to mitigate this issue. Cc: Fixes: 5e09bc51d07b ("arm64: dts: ipq8074: enable USB support") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 92682d3c9478..284a4553070f 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -666,6 +666,7 @@ dwc_0: usb@8a00000 { interrupts = ; phys = <&qusb_phy_0>, <&ssphy_0>; phy-names = "usb2-phy", "usb3-phy"; + snps,parkmode-disable-ss-quirk; snps,is-utmi-l1-suspend; snps,hird-threshold = /bits/ 8 <0x0>; snps,dis_u2_susphy_quirk; @@ -715,6 +716,7 @@ dwc_1: usb@8c00000 { interrupts = ; phys = <&qusb_phy_1>, <&ssphy_1>; phy-names = "usb2-phy", "usb3-phy"; + snps,parkmode-disable-ss-quirk; snps,is-utmi-l1-suspend; snps,hird-threshold = /bits/ 8 <0x0>; snps,dis_u2_susphy_quirk; 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: 810043 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; From patchwork Thu Jul 4 15:28:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810042 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 84E1D1B3732; Thu, 4 Jul 2024 15:30:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107008; cv=none; b=sTMc61OpCX0qzWulJh3u/Y5GA58z9ZxyjEMRlI6ewvC6PSkBD9Je5vAgKwAtzzWK+Q2dxb7bsAhkTJJs2VG59e3VrM0/dXQJKVP0aN8+Jl4iwl4wccnVNrxfvUPFjSeIq+FRLy4OZBCRj9sxY8pbBjno2QOJdtRJRl7vGRKa4Y8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107008; c=relaxed/simple; bh=8Sua/CVWegglanhBkR43TdBBCJVu8t4R+YhdAet0eR8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sSDWBUd/knuXcKcqtnejSGMPmW0AUvFbwY2g5EOF9c+GN1igj0VV+Go4hoSwO3PjiJ43n0+OpTSqUbFGOvO84uAigokmPg+ellgob3TISmg3GQnTd9GphyrQZDPPvBH7O8jSBU52Nn5cXFIcmeIyqD8n5Sopbol5HE51UVWEt+g= 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=BtE3iYo9; arc=none smtp.client-ip=205.220.168.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="BtE3iYo9" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4649wloP015396; Thu, 4 Jul 2024 15:29:35 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= NCCIorA4VKqMkXU2bIvjcC/BdXPy57fm0T2ln9llEr0=; b=BtE3iYo9XvC2nHRf 4mrssIo037KBSCxilmHELesBhaFyA0NTA0hP8pyOAoDWoYSEjiNWuVyq5J8pfeV8 m2I1mzRhlf6NY7oBv2iBqu/GMwpwMn4wa9EflDKpZaLM5zN189t2kxNljD6G6pKq BZn8VUSYiPnnK40rDq/klWW9TEs5egzG6sLSLpQtNt8cezpC6rjDNO4gf8VtExUl jfKV/zPExbjena+hHaYO98VchXIcPziNqAgtI2oXaOep/8QOrVcyspzzR18niXzB OY7JZ5Pbj5/5RDW7Ad6mo6ZCKp507Rmk0+RVL9pq0S5IodAiYr8b2aykKxojJTHn xeytYQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4052yhkhh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:35 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTYau023399 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:34 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:27 -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 4/8] arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:44 +0530 Message-ID: <20240704152848.3380602-5-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-ORIG-GUID: 9IHyJXkBAHLk8iWMpZBHroSvAs55WVrs X-Proofpoint-GUID: 9IHyJXkBAHLk8iWMpZBHroSvAs55WVrs 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 lowpriorityscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxscore=0 phishscore=0 priorityscore=1501 mlxlogscore=609 impostorscore=0 clxscore=1015 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040111 For Gen-1 targets like SDM630, 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 SDM630 to mitigate this issue. Cc: Fixes: c65a4ed2ea8b ("arm64: dts: qcom: sdm630: Add USB configuration") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 94057ebf767f..c7e3764a8cf3 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1302,6 +1302,7 @@ usb3_dwc3: usb@a800000 { interrupts = ; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; + snps,parkmode-disable-ss-quirk; phys = <&qusb2phy0>, <&usb3_qmpphy>; phy-names = "usb2-phy", "usb3-phy"; From patchwork Thu Jul 4 15:28:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810844 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 B14521B1433; Thu, 4 Jul 2024 15:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107014; cv=none; b=RTiuIExxhjDvEhkqEZYv8GGVLTIP76RfFJubagRnBO6UTi81UcgcwcOihE/XBouigpoD9Scmsi/3feope3dYbxaxy/KPPCw4+CJkdhztf4kCNNZdlFYOwTVXaDF7qOnefWzOvRUMT3C7mVy620RE9K1Psxf4dBftLsU9VuQY/10= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107014; c=relaxed/simple; bh=qLv94aC6pHTQViHdFkiVn94RsMRSn769Th+Pumh+LJk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Pt6CVbZRAysKVKz9sH90CmMxCg9o9Ckdpnb8NZsv85+DUMIOoHFZXf9tcFuWfwk7WtiwFf64RuLa7IyrUHj/EvBRsffFKm05TuJNK7TNTwPGaagpl/iupbPTC/BN6qLQwc/wlg+pgtNDifwKvAObnboDM2Ig7IGKMnwlc98am4w= 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=V2cA0sGf; arc=none smtp.client-ip=205.220.168.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="V2cA0sGf" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4649Ro8k015251; Thu, 4 Jul 2024 15:29:42 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= fr4cNWQC+k8JN+kv1bMq0TOB5St4NvGiMRRd6/JrJNw=; b=V2cA0sGfK1tvxqry o1wkF/03rBOn4kXwTpGWDdtUCyzBEA122lJtvB8bRFfrQyGGdpd0DyKnCdIaUgpw vox3Sb0QmnLx/11XF2FKn9Xth/wE0OJHevWU3mFW62xi3544iDUq3hvXCmeYsR7E iMcy8MuwPACdADdpidIdqivjpuJLsgfvfw3M06D7HI1ln9zHPd3n7QM9c/gyujkD YU3JmQ/59fpfhuQuCmMtlrdKJxgRPAgIN6jWcwBydv8C+wH9s6FcYEfakISL6Ptz cADOUeSR9t6QsXeAIBBgkoxm3U0JTXdPD/VEU1rG6jWMYtLfhVDT5ModyD00T4/k SWbSSQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4052yhkhhe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:42 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTg4G023477 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:42 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:35 -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 5/8] arm64: dts: qcom: sm6115: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:45 +0530 Message-ID: <20240704152848.3380602-6-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-ORIG-GUID: oBT1WC_m6u7xuYMmL8uuOZ_XX2VDBcY- X-Proofpoint-GUID: oBT1WC_m6u7xuYMmL8uuOZ_XX2VDBcY- 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 lowpriorityscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxscore=0 phishscore=0 priorityscore=1501 mlxlogscore=580 impostorscore=0 clxscore=1015 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040111 For Gen-1 targets like SM6115, 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 SM6115 to mitigate this issue. Cc: Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 48ccd6fa8a11..e374733f3b85 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1660,6 +1660,7 @@ usb_dwc3: usb@4e00000 { snps,has-lpm-erratum; snps,hird-threshold = /bits/ 8 <0x10>; snps,usb3_lpm_capable; + snps,parkmode-disable-ss-quirk; usb-role-switch; From patchwork Thu Jul 4 15:28:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810041 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 1C4461B14EF; Thu, 4 Jul 2024 15:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107029; cv=none; b=OMQ49MUO5+qLF8MBjtXcpSPwl1D4gias/EI7cvIrK7ByAXnooIS1ReROeGnZHgWOfDWouaBXZlLJTpixMhk64EKBEypyazFu0GD38g0Zja7kSzDTOk7VBLTiy9IoUfzJlS/Sw/dSIkxWo1YpLAAYavo09BfGjjwIhjyPVwzoRcA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107029; c=relaxed/simple; bh=V5dhI4qj5CZa0nIHGUQJYyyWyzth5S3eh2OENjg5ZAE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kHOnI5+d0FxCZRxwftoEhLixtFyUzQl0xdYDXSvQyi3QYhGrgPEaEDU2mK5X5uKLBTLaWCIqynvAjDnby4EgVS/B3jfFCLnT6Y3VtciQO7nVTce4TLbyPX8S46kSrUlfmLa1D2Zt8Ux2mnm4aMLKEtxKiamsK6sBb0Mz44ZRCeI= 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=h3vv6bwI; arc=none smtp.client-ip=205.220.168.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="h3vv6bwI" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 464C7HDp013722; Thu, 4 Jul 2024 15:29:50 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= CUSpm5sGut9yQtILr06gEY9yEfaS57tmtUYI7PG+XMw=; b=h3vv6bwICiMdb1w/ 69tg/xlmFr05J3Zy9fH5vLBWDpzDc9wiikWB84xl/fgST59k3lNZDAmaBeo9jI5v T75nQisA7mQLP8AFWQDtbeQz3WpiDElqTR2VjiFkI31B+9noBj4KAd8//EH/yxqx Y0M2SK8mpKuPJIu6txOCvEXU5KrN/Oy1ICBilpj9JZ1gdKEVTR07+kP+hZZHrnkO TmJGICZbjaiXEymQWPFzr2lmacZ9DyJnKXKqzBNjqpxQhv7mF/58828K6Q0e+Dvm oNc0J8a+8Sb2X8qeCTyK9DIeRLR+O2IjdrMBtXlbmIWTIgee7DVDyq9NkZwQB7lH 2ll5BQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4054ndua72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:50 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTn3x007723 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:49 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:42 -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 6/8] arm64: dts: qcom: sm6350: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:46 +0530 Message-ID: <20240704152848.3380602-7-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: YL9-v06rcHcm1P53hCNeebEKlNxr1mXR X-Proofpoint-ORIG-GUID: YL9-v06rcHcm1P53hCNeebEKlNxr1mXR 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 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=627 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040110 For Gen-1 targets like SM6350, 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 SM6350 to mitigate this issue. Cc: Fixes: 23737b9557fe ("arm64: dts: qcom: sm6350: Add USB1 nodes") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 46e122c4421c..84009b74aee7 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1921,6 +1921,7 @@ usb_1_dwc3: usb@a600000 { snps,dis_enblslpm_quirk; snps,has-lpm-erratum; snps,hird-threshold = /bits/ 8 <0x10>; + snps,parkmode-disable-ss-quirk; phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; phy-names = "usb2-phy", "usb3-phy"; usb-role-switch; From patchwork Thu Jul 4 15:28:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810843 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 48EDF1B14F2; Thu, 4 Jul 2024 15:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107029; cv=none; b=tI2fY/eeR85gjlu8CxpHfoBj58i6AOG0ev4V7FBmncMT1sWriSDwEF0dMFC45O2kx6g0oJ519+bkl5fugZQZsv3DMKyQXEBaWApZwE9dY4stB7TksYRmsEuwo6iihmlRuJR5DW22Fknd1li1DF6ggr7Q5p/4Py/+gEtM0Urch1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107029; c=relaxed/simple; bh=28bDdNrt3TOLK4V5yDl48Th2PSqXkGIXkaNQhDQvcpI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PSf89dIiRUMyMChtNRRnmNJywpQrcAIj274anowKTS/VowSG5BhNzSnJcSNCPEHivBq5zWyULL1gOFSd9KoObW956izuAThoEJv0gjmkftaPbLISiXj7+PpoBuqCsuwvouvNMySsZnL4TMSF8axCaFvOYIlbiiTaPyJiSNA97Rg= 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=kBYzZgdx; arc=none smtp.client-ip=205.220.168.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="kBYzZgdx" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 464AA2EN013708; Thu, 4 Jul 2024 15:29:57 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= n9G7P1uY75ZauY5Ppnuop1jFLwcZfqN6DO7dx97e0h8=; b=kBYzZgdxveT3EilM y/tsxG8xiZ/GO2ZMMt9CPDf1pz5nqqmHokP9Fuq90x5CwqtzDKPPywTouqGc8HrE j428jZP7dnEs9Vc7T7YDd2BXF5uUD1BlEj5gTx15GTam6JDg1shxox9RqPRR4No9 4zY1cE+foKj6n8iLtYZPIRmtw46uae+iwzq5VSsPT/3qxVlNorhw/WnIUDJ3RXTS 0P/O/ATGH3MaPwfM+odU0j3wO4vIpvzBW7f1Yo1LXXcZ+I/66iK4R2edLbXfsDxZ /ntpnCgldKsCCjODfDo/I6bvo/fVWltznPe53NvYZgDcgJ72HVrE9t82LhZ7fIpg dps6WA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4054ndua76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:29:57 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FTuGq007012 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:29:56 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:50 -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 7/8] arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:47 +0530 Message-ID: <20240704152848.3380602-8-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: JGY6BX9lhqx5dctLSMzG70TMDrzboaLk X-Proofpoint-ORIG-GUID: JGY6BX9lhqx5dctLSMzG70TMDrzboaLk 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 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=491 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040110 For Gen-1 targets like MSM8996, 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 MSM8996 to mitigate this issue. Cc: Fixes: 1e39255ed29d ("arm64: dts: msm8996: Add device node for qcom,dwc3") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 2b20cedfe26c..0fd2b1b944a5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3101,6 +3101,7 @@ usb3_dwc3: usb@6a00000 { snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; snps,is-utmi-l1-suspend; + snps,parkmode-disable-ss-quirk; tx-fifo-resize; }; }; From patchwork Thu Jul 4 15:28:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 810040 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 5D85A1B47A1; Thu, 4 Jul 2024 15:30:36 +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=1720107037; cv=none; b=Y251Kr47JOu7z0q2DiZ9hadfE9M+kKQVxihHB3L0uCFJXhkbrEAjYnt3maNRD1MGNSm3sydxmbJUJdgZxFzY0AgDUy/QyNads0L0Fqq8npKn6P3qldVCW1LMuTCmWH58e8dZWcGIbAoAXht/G7oxrQeK9pqDmeLpBmdsCZK/69Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720107037; c=relaxed/simple; bh=sEq2TRdPzIZRKJRYYBZmr2pwopVAKl7uQ+Qr/+zQDwg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rVnwAqy9y+OTTMKd1Qp6mKh+bAsGVNYuUvgXnwti6aIsSnDaxnSgeQSWHoEWxc86zE3Cgz0n3QUYsSVRwLR+cgJzjSYPJzGoxcEIPH/ub59/auGJf6uGmZ3AIX4pJjmkJtewKC+frUrL69eDI9kBZz5K4pVPxTCqey8QLFXzNis= 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=erD3plal; 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="erD3plal" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4646prxx024680; Thu, 4 Jul 2024 15:30:06 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= 52j9KCjC6rV9OJ4LMt484mcZXv9N0Iyvy5lvhjvdvx4=; b=erD3plalauCzPD7X IodZ2DId2ph/lMXDWpWRFTb49rW5GX4aaLTPj+N9HZExhI6gLV1BcfLu1j82z2/f 5o/VzYPnNlfUHdx7E9vrgb4Lkc/NlkkwT/+di5l5mQxWRQR5j/Xggpm7Ctm7LCvE IkAodYNLKTqYWtrzsx3I4bFsBlZCI7Pg4wfyMSDz5EuwYd/pi84SAVQJ2d9RxfH8 3uzkfRv4TdJCvSmflo+xT4uylUj2/kZQIsjYFDdIzQktovjoIznVP7yl8Bfk6HIT ad9LAYEEGnFvboBy+RelFXoeLwlAVpgU7p0eUMfM4mnu+NZraFRTigp0j4ZPe5rH HJimYg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4050cybyy9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2024 15:30:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 464FU4bF007435 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 15:30:04 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:57 -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 8/8] arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB Date: Thu, 4 Jul 2024 20:58:48 +0530 Message-ID: <20240704152848.3380602-9-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: 4R0ShGltYd3r06EgzXnhurvnYzRg2cLD X-Proofpoint-ORIG-GUID: 4R0ShGltYd3r06EgzXnhurvnYzRg2cLD 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 clxscore=1015 malwarescore=0 mlxlogscore=568 priorityscore=1501 adultscore=0 mlxscore=0 impostorscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407040111 For Gen-1 targets like SDM845, 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 SDM845 to mitigate this issue. Cc: Fixes: ca4db2b538a1 ("arm64: dts: qcom: sdm845: Add USB-related nodes") Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 23b101bb3842..54077549b9da 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4138,6 +4138,7 @@ usb_1_dwc3: usb@a600000 { iommus = <&apps_smmu 0x740 0>; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; + snps,parkmode-disable-ss-quirk; phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; phy-names = "usb2-phy", "usb3-phy"; @@ -4213,6 +4214,7 @@ usb_2_dwc3: usb@a800000 { iommus = <&apps_smmu 0x760 0>; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; + snps,parkmode-disable-ss-quirk; phys = <&usb_2_hsphy>, <&usb_2_qmpphy>; phy-names = "usb2-phy", "usb3-phy"; };