From a91f95cb549dd1963b2826dc881c66f307b10f7b Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Tue, 9 Jun 2026 23:29:10 +0530 Subject: [PATCH 1/2] FROMLIST: usb: dwc3: Update nominal max votes for qcom usb Increase nominal max votes to improve DDR performance and USB audio use case handling. Currently, Bandwidth vote for max nominal value is set to 2500, requiring DDR to run at 1GHz under normal load. DDR is allowed to run under nominal range at 1.5GHz, which is consistent across all targets. However, with the current nominal Increase nominal max votes to improve DDR performance and USB audio use case handling. Currently, Bandwidth vote for max nominal value is set to 2500, requiring DDR to run at 1GHz under normal load. DDR is allowed to run under nominal range at 1.5GHz, which is consistent across all targets. However, with the current nominal vote, glitches are observed during multiple audio use cases over USB. Update the nominal vote to allow DDR to run more efficiently, enabling simultaneous multiple USB audio use cases without glitches. With the existing vote, throughput is around 124MB/s. The updated nominal value increases throughput to 134MB/s. With Updated Nominal value, we are seeing Enhanced performance and stability for multiple USB audio use cases and improved overall system efficiency with higher throughput. Link: https://lore.kernel.org/all/20260611081831.2743464-1-akash.kumar@oss.qualcomm.com/ Signed-off-by: Akash Kumar --- drivers/usb/dwc3/dwc3-qcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index ded2ca86670c0..9bfc7d603df3c 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -46,9 +46,9 @@ #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 APPS_USB_AVG_BW 0 -#define APPS_USB_PEAK_BW MBps_to_icc(40) +#define USB_MEMORY_PEAK_SS_BW MBps_to_icc(5500) +#define APPS_USB_AVG_BW 40 +#define APPS_USB_PEAK_BW MBps_to_icc(80) /* Qualcomm SoCs with multiport support has up to 4 ports */ #define DWC3_QCOM_MAX_PORTS 4 From e8111124b9226e0320a69fc564316f0006946221 Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Thu, 11 Jun 2026 14:20:24 +0530 Subject: [PATCH 2/2] FROMLIST: arm64: defconfig: Enable USB_UAS in arm64 configuration The USB Attached SCSI (UAS) protocol is supported by many modern USB storage devices. It provides significantly higher performance than the legacy Mass Storage Class (MSC) by supporting multiple outstanding commands and command queuing. Enable CONFIG_USB_UAS=y in the default arm64 configuration to provide better out-of-the-box performance for USB storage devices on arm64 platforms. The USB Attached SCSI protocol is supported by some USB storage devices. It permits higher performance by supporting multiple outstanding commands. Link: https://lore.kernel.org/all/20260611090946.2790631-1-akash.kumar@oss.qualcomm.com/ Signed-off-by: Akash Kumar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 1faafc9a19462..73dbcdb6b86a7 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1869,3 +1869,4 @@ CONFIG_CORESIGHT_STM=m CONFIG_CORESIGHT_CPU_DEBUG=m CONFIG_CORESIGHT_CTI=m CONFIG_MEMTEST=y +CONFIG_USB_UAS=y