Received: by 2002:a05:7208:2202:b0:86:316c:7444 with SMTP id s2csp2360593rbb; Tue, 4 Jun 2024 03:05:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMWRfDqx6UCoL4AezsOkqPjMRBdAu7toF9IC7iY6dJtXTr6l89sN4jkFzm5kjgUcBrW2K3Uc4ZJf5/yykHj8/osSRu2qVmq11zfEMvuw== X-Google-Smtp-Source: AGHT+IHUP5Sxzp4zU4WTrUG1sBh7WtuluqJKSC8kURg7r+M3yyggSMPJ9LRFW0KO41Tp3rrLY+Kc X-Received: by 2002:a50:c308:0:b0:578:f472:1a89 with SMTP id 4fb4d7f45d1cf-57a363ecd2dmr7637636a12.16.1717495559755; Tue, 04 Jun 2024 03:05:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717495559; cv=pass; d=google.com; s=arc-20160816; b=i07Mdk7ia/QGc2qXWRiLsh/Lj8CmGn4Vz6Z7sP6LvknNLIA/j0839kYWaBFl00kQHh 058FlHox3MnsGBGu9cMl+sOrA78SLWgK6low3y/abFZFoXJWKfwrUdUUMErXrsXBpHVx CFIon92REzc7vfugPi3Dp+jw7TuS2BTysMwDKqq0/zexDUX7vFG9BJnPTiwmc5V02038 XDo9I7wG2kV9tmTV8gm1ujt1YtQJdkg1SpSqdlWCjhCxIqsbivLQIHuoc3gJS3gL11I2 NYqDMfV5v/rNeEIC3RnaK8/Nd4ZJ6ZAfrutwJx74MCriGwxDdoygDubHXO31JzHc0qjh 0viw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=45XbiKOvHoih0/tmcZdi7EWeN2ZUgWTnO7toZED0rFc=; fh=2xIf92xmuF+nuHn0uqrEv5NsU+LpydmHxCsV99WgMWs=; b=c6sj5hQG2+k7FWcXOPrHkffkTgzoqZ6c7VWUwegF+iSxRUyeTDRr3+3O55JJVDmjIv gOVoIDUdW7fF4i/kpXIyDfJleziCmFlKidXMJEJnXyBBmZmoa1BYaXUJmJaRqV6aT+if +zNmSl/xEK2/LEiN1LQMyMgGLyUWzRB5dVLRBFmN0FyEiHF85MAcCR5zDOGPhxXi2eeO OsGofcHazGKcRGmw3NiIkHkVaOFtJ10nl2Sr6+BiUUXT/5l3y4yc294iNiJadcq53bej GJkRZIA03butXLsqUerIv7f0cgDxrWPapW129hQnNDI4kjl3xDsbfWLOWJzuqV8wr1qZ L/ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hMHz8RlX; 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-200400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31cc8e44si5004573a12.638.2024.06.04.03.05.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 03:05:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hMHz8RlX; 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-200400-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200400-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 57C671F2264D for ; Tue, 4 Jun 2024 10:05:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB68C1448F3; Tue, 4 Jun 2024 10:05:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hMHz8RlX" Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 538A938B for ; Tue, 4 Jun 2024 10:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717495548; cv=none; b=Cpr0oLXHbnaiixVBiyKVyhGz8+Lo15xuY9H1Kf5xfh19KQfTzhqTOTLdWNK2njEuI+qYd0BcohIzX8LxomdL63jyew9fVZjnWPzhVHcwLniByTAqxU4GamZybBqkh3QORo9PZYw004e6DunoMXrXn4mmQclSrxWQLO53ymMVagk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717495548; c=relaxed/simple; bh=OAakOdVgjZ4nC9mR9s5+Zmdm0H5Z7NkBLLcGbxvnrqk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HU6UdXQJIWe9kszZEJgyXbw8lh7eftystqQ5WOwz0vVK3WVVStnGKqKiM7tltRlAtm55DCEi3HNNOr8RGFZjlZYxd7Dt5jN2GWkF2vgwIVY3V/kmNDPj4pg5cKh+rpfj4BI9hAILJyUV2q8Wu5xCzf3FrzCxr4BuGg+08JHb2Os= 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=hMHz8RlX; arc=none smtp.client-ip=209.85.219.169 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-yb1-f169.google.com with SMTP id 3f1490d57ef6-dfa71ded97bso2897758276.1 for ; Tue, 04 Jun 2024 03:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717495546; x=1718100346; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=45XbiKOvHoih0/tmcZdi7EWeN2ZUgWTnO7toZED0rFc=; b=hMHz8RlXz7G+CRjHR5M2/DU7LRShiiP8qcJ1GDc+OTxUSQN00Ul9vLdeHQdJH5gDWn V3ZI1r+LYpMHEFw8hU7Yi1LlBQ2EF16hX+kwepj7Se+ks/HGG9KpMciCHx2kElPfjNry vrQ9vi2t7EA7IZTzC08kYvvkqFSTg2owdsLQzmp3eM1duzlcVR96hKhvb/obrISvXiNi XTVBGXsKxjdcTSrRtLuHLGEdFqxwpgkt9ohUINbCcyKboiBNixCz/hOUl0szyShnF3uY AHCgOxdiWZYoUXwThtU1FBRGA7t6+r8PqnvrtaulKCl4mlt/QXTdLa7dZoffL2u9A4af OBeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717495546; x=1718100346; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=45XbiKOvHoih0/tmcZdi7EWeN2ZUgWTnO7toZED0rFc=; b=WdzkDGvTktHjS0pgwy6ua/VwfcC0mh+zNhAokIPFodlKfYoMkVusgLdE0PnIlRlCLe HSq1vu4SXZN2dta6IGjf80a4hi5w3P1WwmUGEX0r5TjwcgplWXzyA/SnuqHuTkMXE5BG pyS16YGoHjKLLxszV1bD4UNhivVTCjud9H4upyewuVOt4GzsvD/hWr72y6V/gTgwFLtr yvXP/X/ZdMKrd2pAP14JzpPmKWht2ofR23kDe/prWhQarYwTDx6sMnxFtR3P30nzW3hH 1Qz0VO2kgg31BLHRGpaWDgrbhLqAlt/jBqangE70dGaIzHMo99A0XxxAhC4SGPLN2AQn VpSw== X-Forwarded-Encrypted: i=1; AJvYcCWEkcOJ6ZEFgW7Mtz9ItqRyYmEO8lBxWqpnIaqX+b13NsT3eWkKzebnEU8oZfSFqQd/MvNP/QXWbq8NQHXng9G7MAE+0SCuGvkLFpx/ X-Gm-Message-State: AOJu0Yz2sH/OkIJ7vz6hH0XJ1xsmVyhMNMG92ixEeNZDs7Qd7DOKn8Iv a58GE/uHRVGDUJ/+JAYWEpWE94jySYyB4Q6C6SLKrOO/P6Yu5eios8ct5kKY2gWwZ8ZkPTcFYkZ Mjgy20x6hFEbXSxTqeJzQyFv4h0raHcXiRIpXXA== X-Received: by 2002:a25:dcd0:0:b0:dfa:48d9:b0 with SMTP id 3f1490d57ef6-dfab8b0312fmr1498084276.22.1717495545726; Tue, 04 Jun 2024 03:05:45 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240604060659.1449278-1-quic_kriskura@quicinc.com> <20240604060659.1449278-2-quic_kriskura@quicinc.com> <2b8e5810-6883-4b6d-8fa7-f13bbc0e897e@quicinc.com> In-Reply-To: <2b8e5810-6883-4b6d-8fa7-f13bbc0e897e@quicinc.com> From: Dmitry Baryshkov Date: Tue, 4 Jun 2024 13:05:34 +0300 Message-ID: Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode 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 Content-Type: text/plain; charset="UTF-8" On Tue, 4 Jun 2024 at 12:58, Krishna Kurapati PSSNV wrote: > > > > On 6/4/2024 3:16 PM, Dmitry Baryshkov wrote: > > 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? > > In downstream we enable this for Gen-1 platforms. On v1 discussion > thread, I agreed to send another series for other platforms. > > I could've included it for others as well in this v2, but there are > around 30 QC SoCs (or more) on upstream and many are very old. I need to > go through all of them and figure out which ones are Gen-1. To not delay > this for SC7280 and SC7180 (as chrome platforms need it right away), I > sent v2 only for these two targets. Ack, this is fine from my point of view. Thank you! > > Regards, > Krishna, > > > > >> I can update thread with more info once we get some data from Synopsys. -- With best wishes Dmitry