From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794367910; b=p9/aRhm1tUdf+e8JJNsqp0SmxLYao6EiYi7UWEj7Z+0wA4ur08edZwrak6LS+cELRiiZ WD/F6OpsaqEhKLaP4wpLY+RVsw6mf4jhwjlDgqTwGDt43QuN9o2Kie395xt2vtsql7RDI 6ZugDGLYtcFvM2GhVm4VGQordD3uZyt3mpw2TEiux5d1ZETi4h/yDQTneaV5WAM/3/7NW SIvXmQqxxOxO3vLRSOAH3wZbu9beyEEn6Dr3k810eL5KL239E/Zoj7ttil3KL0fNeEve1 BVqlFk+Ru6MqKn3ggEGXa+TwprMiwEcvn6R5wi5C3So5fzQkUx+RpqXo37N6TtR/RAA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794367910; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Proofpoint-Spam-Details-Enc: X-Authority-Analysis:X-Proofpoint-Spam-Info:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=qNGauoob2TP5WIpfVA9MGfoc3EzZmkSfCenA2eySi4o=; b=Vfx+uZRmCYUrQ7mcze6RAwzF5Ys4kIBJBUL1+FUsYtFpFFE2tIK81XHuVVF/KZJCF6kW XIXo+7RFnTdXpoCVnRYZu2y9TOzcQeoD21SZAv0Zzq/IYAEyapKROdAdXmt6C//K7ytEn 0Ln8lQWPYRNFFxI8BxRus6HUAwl7IwC8gchlCqc5gjPAdN2bHwPVjfNRl6K0xPzV6vk0m TQhchjxuIPcvYcUHcKOtbfAuvG/qEjGAcd3AMAuHo7Z8LT5oFkrw7ZCzSl99DXjlNbowB TlMjM3xhm39Kx83+jNGeIvWj1eiKBX20xLY71ZWjKcqtZQBHMHJCGRwX3cHx1Yvdv9Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=AuRGy0Y0; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Ypax4VbP; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2922D606A31C for ; Wed, 11 Nov 2026 03:31:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2922D606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=AuRGy0Y0; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Ypax4VbP Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AB1tcRD4169159 for ; Wed, 11 Nov 2026 03:31:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=qNGauoob2TP5WIpfVA9MGfoc 3EzZmkSfCenA2eySi4o=; b=AuRGy0Y0w3oA8aN/uKuSGfGyCz0wlbYNypqRsPu9 +ZtFtOtTAwbuoUnhpJtEQMCjw27JPYaoUAtaKbdcsfvYiKVMbexGfdBdJDcG6pId sWLIOVJ3PuMI+Jl+DXQVH7M9IbGXd7FfE8ODr8IlsajMJoXVsP8/qX4z7Lj9wari mKpZ2EWwLRfaN53Bb6ReMkH5fm07Edh8rjxYjl11oHCjydkCRKyJmGcwsaQ+f4K9 quzSc0oMqOmw/kn95O83TuCtZPz5ZCU7oS17wTsspDpa4790J9X7Z/+Daf6HXi31 JMTa2yGPcONmTSicyEQ5EKQbRaABsEIvAedG9dzxjkX1xg== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4huyw4c443-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 03:31:49 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-36f26e6abe9so4393732eec.0 for ; Tue, 10 Nov 2026 19:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1794367909; x=1794972709; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=qNGauoob2TP5WIpfVA9MGfoc3EzZmkSfCenA2eySi4o=; b=Ypax4VbPE6ye2OvXa33EybZYC+ejnCt4k16K9raNL4HaOZIjmxgH0YXYia6nWgbcmd AXohEcgvrv2nV5T6PuWnCTDoR5omr6xsSU56lJJvftZsYN1MpZIDXOOsEd5M8lytz/Dp CM6z5QDvkvsDsQu0H2Rd3VwfV1s6F+Ifp4Nfxf7BioUFniIaTFW4MXdjJCG35uv9lDJU lPnb/Iu3y92BxVJqtKOQkpP/JlZKwFieKHXOvu8DzsrYTnCv55DqisyjWxMeFf8QDhnp CaUhasuZaSTz2YrarCaWqF1EdO/tBAMgfTSTh2SG10AEYF+raGTDX6skDbPyHapIO18Z MyIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794367909; x=1794972709; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qNGauoob2TP5WIpfVA9MGfoc3EzZmkSfCenA2eySi4o=; b=eYYHxWsELkkqyAE5mUmsBQgKZFxhocbg09TW4UzvIYCJu0daJzHpDUtcSPtMFFnGM/ KHMprdEGVvv7rn7KQBEAb64b9C8a43yIAEuJo683LH/RAHbV7bfD3mLoLvsN4FK61kE1 KbeVBkMG5ylzH6dX78KAuErQ71JBZjIn/FTOhA1Z7f2XAM0xnldm5IgLpk3lqbqtxDdG uwvTcbGq05waqhRUfTeaAVd0ga5ZCc/tJh8dFmIrbzzQj9ulGJDhro9TvLXSHUiHquM+ CJcS9Jy1TmCtOXhTzhv1hrFIrCHIcF/eVZlzt+2ZjcpWo95+N7587ufYwFgb/nnDpaoH +uHQ== X-Forwarded-Encrypted: i=1; AL+hErFc/wUq45t5Kbb+XuleWnvWJ5nqfo+pmBl5PYKLtO+S4AnCjf4RIPEtNU80pdqusMrJ8wPCGbaWAHPj@vger.kernel.org X-Gm-Message-State: APuU4Z+1eMpApir1lR+NTGAR5N6DYsZ+j7FlDIj4bUqO2LnfIJbVibmI +JU4CZ0XWQTW2uiEI9v+DCDvE0zpG54kNyg4M/VGMBkjq+cOIuj3U1R4w8dJ2ewpBfBHdsgNQuE 9F+2WZeGxh8z+ue4+UNvOCLDu7DlLC6v7YrEem/EM8oebrBLf5S2N+AMKSo51U5Av X-Gm-Gg: AYBFou0C3p99Lsv4ZwzgEkhK6EnvBplqBUgbY9aOsaSp7Z7soD5GgDeUwkMTmSVtBmz sI4PnKEJuJTeufWMeXpRjBWBXOhLlTZUVbfnYjlMY7JEcA2NgzgtVFjRmP/7ya363/rIXXX1fDd KSQkdr6N81mVm1Djy2VgFntjlaWZlFhFWWMYr5cTe5xdOiWZWsEFiG6PsXeA3faitq7rQHpKUl/ NFt+sSo8/tvAF28HBTJ0QJ9kAc9iR6+/MXXouWFRS+eMrXa5Jf+BusZKCvLbrHLL5TVpavb87qR oHKxasWZf/naaxuW7uMvfbM5RFSpLnd17/xl2q9cBiRHpuRV10pAOEXlFR8bKZVW3bVTo9dWZhP uf810qAgvZkav/b5yLY1aaGP74CfRCj47ufBe/iiM2L2A/RfeEPH6kif7M1/XgQvsxeBHt5zLyy b9JkY9XRWSrtkd+O5VPO4oBjM= X-Received: by 2002:a05:7301:618d:20b0:36f:6b99:f963 with SMTP id 5a478bee46e88-37685d72e49mr1839290eec.21.1794367908671; Tue, 10 Nov 2026 19:31:48 -0800 (PST) X-Received: by 2002:a05:7301:618d:20b0:36f:6b99:f963 with SMTP id 5a478bee46e88-37685d72e49mr1839266eec.21.1794367908089; Tue, 10 Nov 2026 19:31:48 -0800 (PST) Received: from hu-petche-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3751ff2ab59sm11513881eec.6.2026.11.10.19.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2026 19:31:47 -0800 (PST) Date: Tue, 10 Nov 2026 19:31:45 -0800 From: Peter Chen To: Akash Kumar Cc: Greg Kroah-Hartman , Bjorn Andersson , Konrad Dybcio , Rob Herring , Dmitry Baryshkov , Krzysztof Kozlowski , Conor Dooley , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2] usb: dwc3: Update nominal max votes for qcom usb Message-ID: References: <20261105100626.2003771-1-akash.kumar@oss.qualcomm.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261105100626.2003771-1-akash.kumar@oss.qualcomm.com> X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDAxMyBTYWx0ZWRfX/an1kFm6gCFW 5sPJ2IYrqj+GCyUY5ZsY02Yx+/kTjPScjyaHrMmyCeNwP11FTeaUcDrec2wRXeBFIlB1lwAGNzv hbw1DvrwnVt3ovyf3HkMp1dPyJTRP5I0cCtCSMGVBKz9q1/eomqbCIOZiQRQCxQm0WIVL7K+kQf b3EOZZqZYftQzG69ssCfNoyeQ73ZHREMOJwJQLgFdH5WOZIcXdxVwEqguLFCdp76fQGycyffipu 4EWJhFN0S6yIfvFemtjZi2NaPovS6ohUU8fiZatCYLLDgP1nO6HV6kPzWJRdetjxsxg3Ht1e+WJ 7ASma4S8DSuorASolmPhCi+inunYPb1pzdh7G4/m3gsj6Hi/M4zsyeWM7rzmvlYtoMPbrPZ+sQy oeVfGTWDUI59gaO9Xm0DMBHBltaJnBCWNpxEutMPDqnVXTYiuNy6phDMjj3cAmRrgscK81E9zXR DlcVDqdIqNYXGYuutRg== X-Authority-Analysis: v=2.4 cv=Ee1d0/mC c=1 sm=1 tr=0 ts=6af3e1a5 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=rNO_JpGmdzbLC-vSDh4A:9 a=CjuIK1q_8ugA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDAxMyBTYWx0ZWRfX5RYJOauNiWbc hoHkz4oZspNJodjwJZfRz4uLT60YgqHWgbIiqreAv6YT12smOfwVkOv5qn8eh6Glgpx5oa/fuz2 QxXSENOHQ7qITblj1UKpAGIrr2zfze0= X-Proofpoint-GUID: vLdkPlEsY3Ej7NWqFXulTuBy5vwLYTuo X-Proofpoint-ORIG-GUID: vLdkPlEsY3Ej7NWqFXulTuBy5vwLYTuo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_01,2026-11-06_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 suspectscore=0 clxscore=1015 adultscore=0 phishscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110013 On 26-11-05 15:32:16, Akash Kumar wrote: > Increase the nominal max USB memory bandwidth vote to let DDR scale > higher within its nominal corner, fixing glitches seen during > simultaneous USB audio use cases. > > USB_MEMORY_PEAK_SS_BW is raised from 2500 MB/s to 4500 MB/s (+2000 > MB/s, ~1.8x). This ICC vote does not by itself determine DDR > frequency; the vote-to-frequency mapping is platform-specific and > comes from each target's interconnect/OPP table. On the tested > targets, the old vote kept DDR pinned at 1 GHz within the nominal > corner, even though DDR can run at 1.5 GHz (+50%) within the same > corner. At 1 GHz, glitches were observed during multiple concurrent > USB audio use cases. > > Tested internally on RB3, RB4, RB8, Shikra, and other KLM targets. > With the updated vote, DDR is allowed to run at the higher nominal > frequency, and the following were measured (not merely projected): > > - USB memory throughput: 125 MB/s -> 145 MB/s (+16%) > - RTD-USBC audio latency: 17.9 ms -> 16.6 ms (-7.3%) > > RTD-USBC is the round-trip audio latency measured over a USB-C audio > path; lower is better. Note the +50% DDR frequency headroom does not > map linearly to the +16% throughput gain, since throughput is also > bounded by other factors along the USB/DDR path; the frequency > increase is necessary but not sufficient to explain the full gain on > its own. > > Signed-off-by: Akash Kumar Reviewed-by: Peter Chen Peter > --- > v2: Added Details of targets Tested. > Added details for usb vote. > Added KPI Details. > Dropped USB AVG BW vote change which is not needed. > > Link to v1: https://lore.kernel.org/all/20260611081831.2743464-1-akash.kumar@oss.qualcomm.com/ > --- > drivers/usb/dwc3/dwc3-qcom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c > index ac68b4218b56..3a19385969dc 100644 > --- a/drivers/usb/dwc3/dwc3-qcom.c > +++ b/drivers/usb/dwc3/dwc3-qcom.c > @@ -46,7 +46,7 @@ > #define USB_MEMORY_AVG_HS_BW MBps_to_icc(240) > #define USB_MEMORY_PEAK_HS_BW MBps_to_icc(700) > #define USB_MEMORY_AVG_SS_BW MBps_to_icc(1000) > -#define USB_MEMORY_PEAK_SS_BW MBps_to_icc(2500) > +#define USB_MEMORY_PEAK_SS_BW MBps_to_icc(4500) > #define APPS_USB_AVG_BW 0 > #define APPS_USB_PEAK_BW MBps_to_icc(40) > > -- > 2.43.0 > > -- Thanks, Peter Chen