Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp414583lqh; Fri, 31 May 2024 05:34:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJBg718ySXczMm9QkjpA42NuCslzossd8bHeLJgxTEoz0jzGg3FlJkDpQbtPGYcAtdA5O6Rpm6HYj9B0L6sHMExtCC4Klv2onyuvm+EA== X-Google-Smtp-Source: AGHT+IHBNjbWe0vNGdX445ZKQNrxmkp+P0Dw2q8Esyps4BMUTpInoEoJjkWHcTxBXmZ2oh0IdWXm X-Received: by 2002:a05:6e02:12b0:b0:374:8d69:b7f2 with SMTP id e9e14a558f8ab-3748d69b9c0mr9151875ab.16.1717158849983; Fri, 31 May 2024 05:34:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717158849; cv=pass; d=google.com; s=arc-20160816; b=pwcTXVEjfjYNJBaMqBUFqXV42gJEGi3FiMvI7fPmM3CJyjTBGX8azzfqNDRbCLxUDK jfGDnM6KqxbZpqrKOyb6FsctJEQN/Iy8j/vbiLtMMqttid8W0v/Aox9xyzItPLH5qXUp P3RXFctJ6g0AK6qhe7efyeUlIGGx1mrQ6TG8X7Y2ftiArG0Uve8aagefPKFVBm2RcDBY mHs/LKqiyZ27F5lLuHLyJWWABzcmNRreWZ+ERw1ikR5FXnsGL+FVfoEoqkhh26kIuC2F nbLhpVJY6cZI4I04nqnvjepUdbqmpZkSoJhCsbMZP32fTYDUJIhabGh0p6MgpsmjETG0 eCkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kOG28w+Xt++8GjibapminGB/LWiUPIUiCSP8LYdYn9I=; fh=gzPI/oOmHATutBd1FUyxt0SoeVAK4D7bgr+eZGw5Zmo=; b=XKfBqmhJ3BWa3BES85LdJNnOjb9zvdGrFiMh2zW2G0NZjLWkkYwv75QlkBfTJCXCWY gIBI0DxpZo3PgyaYnUOZj58XfZgd7NCQaWSSgJ6hP8221rBO3uUWehQI5Zg52kCe5d1Z cRhN3emkv1rynIeTjq5Z3xcoAwYQu9EsuyIeYIE0nKMPorIUumIg4x8NP7AciW/IP8LI Khi1Ht0iFi6ZEkGi2c98FyhMbb2vbwgPiTmU5yRDIpj0IMq28yWsCzixJzQ0GIR7E/gi PmqidgqCN8KxZdW74rs/SmoRgh80PW0c4xRgnckA/MxCzDI+Okoe3KIzo1W6b1p1ADVZ +CyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H36Xph5Z; 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-196782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40bf1esi550824a12.508.2024.05.31.05.34.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 05:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H36Xph5Z; 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-196782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196782-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 428E2B250F8 for ; Fri, 31 May 2024 12:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F27E4158844; Fri, 31 May 2024 12:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H36Xph5Z" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 CC74B156C47 for ; Fri, 31 May 2024 12:33:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158837; cv=none; b=TVl9GfpOSnIIfSXrSc9msNbLBp5/Ze2jYeqjmeYBtmmcyuWgQxil6pYu51zGOlL5TcP2m8WDIa9x91MQHkfoq/IgkSqhjnF6J2lpaRi4qj/zpE3VrX59k/Vb42jUFYii91fSNV5KMnKfT6S0FiwirJf/hdS3XgR15gpRozlaRDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158837; c=relaxed/simple; bh=s5v2zgyKyx/7jhzq4r32Kqdi2fWhYc8qhUWF6o/V9Cc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=otiSNq1xy3tAuTMWXhp4YmK9TuXGcwL+NzVlwzBdu1+5LYTQZj3Upfy7D6fschfKN0D6wuckaOK4uXuieLc+raVRte0Yy1s38dm66gwPTMTaYTD/hF5vOG0dczYg6Z0FaAjKj2P5qnJO6R7OOaPNKysjExZ2ldFMB6nFZ9Ng8qY= 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=H36Xph5Z; arc=none smtp.client-ip=209.85.208.41 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-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-57a23997da3so1875986a12.3 for ; Fri, 31 May 2024 05:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717158833; x=1717763633; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kOG28w+Xt++8GjibapminGB/LWiUPIUiCSP8LYdYn9I=; b=H36Xph5Z7dknyyzKYZ0CEmRy1CYn5YmftzZQcKFiLlxC5l8zm0/5jTskaiVsG/w1fm t/+wbWhfWgfyOMCB028eeswnLVYVD8RXcTkqUvvK5Y/MAdBSd6OOHMz8WnsRGN3AP/zX SFhVCXtXUuCd36XGaTk4kziInvgT54KYhhq78/hqs30O1Q1Oc8kykUbLbxnxoNN3AXja EXEk7V+4nu9YGWiGxsDhH9IVWfAqCn3jJFthASVaR3y2/X47FTOWsz/2ZV3KSu9dkPtG kR/INZ3hSiYJwn+5rKFQRUBvQkZe7IBr1XpQ6T9lvReNH15J3ZTYZtlTjWrScOA2ETa/ v4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717158833; x=1717763633; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kOG28w+Xt++8GjibapminGB/LWiUPIUiCSP8LYdYn9I=; b=Ig/tz1MEG6qCqtuT0h2KgnMFkylJbkckc1KC08csWQPs5WwxmPKwGkRGsAfDw8aDxb SjrcCxqVJb7vowKJjc4vUgNci1F8mi5LnWe7OnkQyaxFOe/+0R0vJaxJFL1EaJrxukPB sz7dPy36/tLbbccO9tch/NSQIFvwUQ8ZrlgRtke+rhEOzlQOyXvZQm9OUJaTfF6WVqWW avuFKRyUpU3cqYFe2meHqM74e01BmXgH/m1S8QV/u4gFhsOoiwuvbkayCoQ+47WiiLsx 45X7XzZtmixfWRPe7PSkDjxWj+Rvl1+WJW+NzrhAJhPOdCffqio41lD1vOtz1fuWXFAW PpDA== X-Forwarded-Encrypted: i=1; AJvYcCWoXK7nrI7n09/SsB91YJmI+6zS1vlnfppreeZH1R2riwihioGhfPMy76BaJWdIVhIza20Dy1C1rBLndKyxy46yvGxGGNlm/0LkRVdW X-Gm-Message-State: AOJu0Yzs5bh7amh7UUxqtCgGqmi/fV9iLrgeJCRxMDMixOUkul5yp8oT rpfoKLY/mkugxneP89tswbFceoUW3NqnukwoftbBASSxjf8leSn3JgkSkgmQ8uk= X-Received: by 2002:a50:aad4:0:b0:56d:faa2:7aca with SMTP id 4fb4d7f45d1cf-57a3638b411mr1397407a12.17.1717158833147; Fri, 31 May 2024 05:33:53 -0700 (PDT) Received: from [192.168.128.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31bb8225sm937435a12.24.2024.05.31.05.33.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 May 2024 05:33:52 -0700 (PDT) Message-ID: Date: Fri, 31 May 2024 14:33:50 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Disable SS instances in park mode for SC7180/ SC7280 To: Doug Anderson , Krishna Kurapati Cc: cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , 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 References: <20240530082556.2960148-1-quic_kriskura@quicinc.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP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1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 30.05.2024 3:34 PM, Doug Anderson wrote: > Hi, > > On Thu, May 30, 2024 at 1:26 AM Krishna Kurapati > wrote: >> >> When working in host mode, in certain conditions, when the USB >> host controller is stressed, there is a HC died warning that comes up. >> Fix this up by disabling SS instances in park mode for SC7280 and SC7180. >> >> Krishna Kurapati (2): >> arm64: dts: qcom: sc7180: Disable SS instances in park mode >> arm64: dts: qcom: sc7280: Disable SS instances in park mode >> >> arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 + >> 2 files changed, 2 insertions(+) > > FWIW, the test case I used to reproduce this: > > 1. Plug in a USB dock w/ Ethernet > 2. Plug a USB 3 SD card reader into the dock. > 3. Use lsusb -t to confirm both Ethernet and card reader are on USB3. > 4. From a shell, run for i in $(seq 5); do dd if=/dev/sdb of=/dev/null > bs=4M; done to read from the card reader. > 5. At the same time, stress the Internet. If you've got a very fast > Internet connection then running Google's "Internet speed test" did > it, but I could also reproduce by just running this from a PC > connected to the same network as my DUT: ssh ${DUT} "dd of=/dev/null" > < /dev/zero > > I would also note that, though I personally reproduced this on sc7180 > and sc7280 boards and thus Krishna posted the patch for those boards, > there's no reason to believe that this problem doesn't affect all of > Qualcomm's SoCs. It would be nice if someone at Qualcomm could post a > followup patch fixing this everywhere. Right, this sounds like a more widespread issue That said, I couldn't reproduce it on SC8280XP / X13s (which does NOT mean 8280 isn't affected). My setup was: - USB3 5GB/s hub plugged into one of the side USBs - on-hub 1 Gb /s network hub connected straight to my router with a 600 / 60 Mbps link, spamming speedtest-cli and dd-over-ssh - M.2 SSD connected over a USB adapter, nearing 280 MB/s speeds (the adapter isn't particularly speedy) So it stands to reason that it might not have been enough to trigger it. Konrad