Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1477112lqj; Tue, 4 Jun 2024 02:47:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNC/W9eP/IErlMuBLO5ofG4SIPTW3yETUkdVCUeML96PuCKUkbJJLctPZKhL4EUHGQimmB1Y2MtzNaaIxDJqHvgVUO865ajdnbxweb+Q== X-Google-Smtp-Source: AGHT+IFlKl7dlC6f4K5LJ/uosyZtOQ+Bq9wftrD3uA+oeiNwpbIihGAsbF13rkL3eWhHdNBf7JHh X-Received: by 2002:ac8:5e0b:0:b0:440:279c:f9f3 with SMTP id d75a77b69052e-440279d03damr1879311cf.40.1717494439462; Tue, 04 Jun 2024 02:47:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717494439; cv=pass; d=google.com; s=arc-20160816; b=zbslHXmAvPVD7SNnCZSiMH++wduYgwY7MKvk04vbvmBuhw0GQsMW4RhhpDGRHoZqYD DTSm3TRvQdy9VC0k60ZhWP2dye1czN63vulwizYbaDY2v8MX41dZCnZzCrJO2RVymnjl Ir75uAQc3ha1V8W0f92VSB2MMYrQavbnlY2TRMLRdevc3pGANSIHEFsp9bmybfMCJY7s i3B1ZuBkHMQDvJIHjqpLn+B9nQyT/Vt7/fX5VhPvBHQSrFUHMo86Bg++te5z1ZIP1muD tqsw9ZyDFKlNBNjbIDfwQ3gLKhhDYNsN/hMinsXANFvdZbJ0WSbggOSUx1DIrFqWkweg fy6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=91LqZFlYL5/F2cNmD4SIK00pujZpSwxCmM3GgQD7Ylk=; fh=E/BreN+xQmAyAf09OML33dPpRMZKCiblooiYxYyKVRs=; b=n/H46iaitAtth2ut2R8tj5atr/WS2Hi+/uWSTnk7ZMnOy6Vr4jjQcRecy5NQ0vhloW 1yEMZxUcAfdtM3yEkhH389dPhWGU2xtTDfomeJ+HC/XLXRuqtcmk7rLaXuO0ToCwiJUP y6GHsL7UdNRpiXLhPl4NeJ7kV+l6J8t6RssBNJ3dBX0Mow1ld/5UZEmQBhQQ8wrkW+aw GM3lITmLijceaBrVQoxz7+jlvg17FxY0jTTBnwOJ3AV1fZPi4UezbjVFee+FmpnD+2cg 8kWmF+bqVbF5FwvYPLAbFmAU6kLAyAtfgQNWzkVDg/t5eoUV5XI0nb0WoZX62mD8dwly EU7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DTRU5Khl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-200385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff25b64ecsi107360251cf.760.2024.06.04.02.47.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 02:47:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DTRU5Khl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-200385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 254051C20EEC for ; Tue, 4 Jun 2024 09:47:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75514143724; Tue, 4 Jun 2024 09:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DTRU5Khl" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1ECB1448E0 for ; Tue, 4 Jun 2024 09:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717494420; cv=none; b=rtfmKxuWIY0YQmJLPAS0UaWjIxd6B4FWdALQbUwDwB1RMpP097MSueKSBUnHgghRtNN/Z553a6qnpK8s4kfaZSWHAnD3uqNDAXSdeijz5GqlWrPrnvE0rE7htwG/QjTEbxCvaM04CrwCxDvTSASGl0/mytl/5Aq+LKjFJkNYvKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717494420; c=relaxed/simple; bh=mWx0HO7MnYdM2GA36+DT4q83BPtn9x4BGJwJUoyDg94=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mghn8T4bsKJ1y9JVNXodoNRrhlT8DnwPc/TYcZjH8iKGfd5hXy+++ZHdmiuYYnBjHOZ1/c4+NYS9MJqmpxHTG2jdtqkS5e4vjLOc80P0d6RMA+f6Pm+XJ8ZNyqGaRvNHBwVdrhcpeLF+zqGoI4HarAlLVDQkBU7IaZORu7EolRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DTRU5Khl; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2eaa80cb573so38338491fa.1 for ; Tue, 04 Jun 2024 02:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717494417; x=1718099217; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=91LqZFlYL5/F2cNmD4SIK00pujZpSwxCmM3GgQD7Ylk=; b=DTRU5KhlxwdMUF1S+Dz1P8rnrh+QG0qfptY/yJfQYBz2PlwU1R9QcQAXU+NsoymoyR wgR8xzUk8Q9Y89dCE8+0Ydy1FzpAlNUqATs9m3LrlqcRhE1MzG61bWa9Eoxb8lf6GPJX pIc6EiVAmQgSK7WHoSl3FAV2XkymBNsRHdos/+djV3u2gkfNti66rCLy8Vf3TfrOg1PW LVPyA+8B3VEWuyC8mQlQxd0nUJb592oiecDsoTwFzUJk45hofF65j2Jchhva4mZena20 FidNvvjY+AN6BpUufqL/xkDmY+ZGBCiISb+FsKjcmF5CTPfW0n1nAAnkPK5NLSfv4oWX 1XBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717494417; x=1718099217; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=91LqZFlYL5/F2cNmD4SIK00pujZpSwxCmM3GgQD7Ylk=; b=qLRv7tbCy7phI64zryywEGcluyvDABrYZmgHd3FeZfVkQYlBbqEbH+ej+s9K2kor9x DccPDw6MT5s3sIyUpjGPST+sBWLEVa1aK43JEzFSl3VhTQimrNvFc/CyhErwC3aTsirL pRJz5IiQvarlwQn+QZfWSN8MeFLj5N0uZH467Y3WewPc12nezYtfZUCt+90TDc+oDmkG RX3Djm8EUr3tal40Dy97N/7qi29gtJmDyIFab2bkC2wp//f3mmjLOaX6BjQ7Vl6tdfMi /RmjW3apEOP02ekgsrW2NVJvURohwr10BmlzXa4Vj+bMaMcbr6Avj2vPIY7WfiX4berw Dz1w== X-Forwarded-Encrypted: i=1; AJvYcCVPoHYiMMIWX1ANYBhUcIhC9ed+QJg+ME9UoMXPl57B/A3sCjcuBlk3vglfPe9w5l3+0ykUcjMgMbRI3l01Kxa743rnJxHGK7IpS56k X-Gm-Message-State: AOJu0Yz0E2/LBoMaHpzrat//ih3nP25XsydP7aUlyGlBJEb3Lh5g7yyN bjeOldN3x2XWQ6pQoADcMlgptt/Hsw79m/6D7ZCVufBcEOgDggyxOT9CXTn0D8Y= X-Received: by 2002:a2e:9295:0:b0:2ea:8d54:4516 with SMTP id 38308e7fff4ca-2ea951288aamr68154601fa.27.1717494417079; Tue, 04 Jun 2024 02:46:57 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ea91b9d683sm14655841fa.8.2024.06.04.02.46.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 02:46:56 -0700 (PDT) Date: Tue, 4 Jun 2024 12:46:54 +0300 From: Dmitry Baryshkov To: Krishna Kurapati PSSNV Cc: cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Konrad Dybcio , Conor Dooley , Stephen Boyd , Greg Kroah-Hartman , Matthias Kaehlcke , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, Doug Anderson , stable@vger.kernel.org Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode Message-ID: References: <20240604060659.1449278-1-quic_kriskura@quicinc.com> <20240604060659.1449278-2-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jun 04, 2024 at 01:34:44PM +0530, Krishna Kurapati PSSNV wrote: > > > On 6/4/2024 1:16 PM, Dmitry Baryshkov wrote: > > On Tue, Jun 04, 2024 at 11:36:58AM +0530, Krishna Kurapati wrote: > > > On SC7180, in host mode, it is observed that stressing out controller > > > 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 instances in park mode for SC7180 to mitigate this issue. > > > > Let me please repeat the question from v1: > > > > Just out of curiosity, what is the park mode? > > > > Sorry, Missed the mail in v1. > > Databook doesn't give much info on this bit (SS case, commit 7ba6b09fda5e0) > but it does in HS case (commit d21a797a3eeb2). > > From the mail we received from Synopsys, they described it as follows: > > "Park mode feature allows better throughput on the USB in cases where a > single EP is active. It increases the degree of pipelining within the > controller as long as a single EP is active." Thank you! > > Even in the current debug for this test case, Synopsys suggested us to set > this bit to avoid the controller being dead and we are waiting for further > answers from them. Should these quirks be enabled for other Qualcomm platforms? If so, which platforms should get it? > I can update thread with more info once we get some data from Synopsys. > > Regards, > Krishna, > > > > > > > Reported-by: Doug Anderson > > > Cc: > > > Fixes: 0b766e7fe5a2 ("arm64: dts: qcom: sc7180: Add USB related nodes") > > > Signed-off-by: Krishna Kurapati > > > --- > > > Removed RB/TB tag from Doug as commit text was updated. > > > > > > arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > > > index 2b481e20ae38..cc93b5675d5d 100644 > > > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > > > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > > > @@ -3063,6 +3063,7 @@ usb_1_dwc3: usb@a600000 { > > > iommus = <&apps_smmu 0x540 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"; > > > maximum-speed = "super-speed"; > > > -- > > > 2.34.1 > > > > > -- With best wishes Dmitry