Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32E1F221D87 for ; Tue, 8 Jul 2025 08:53:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751964798; cv=none; b=TrG/0svws2gNhTRuH2HdqAQLJFXPPuKPyyyjySwiBj9G9AX1wk1pZ+0a/Y0cheYlL6eil0TFibjk10yeldxKPFUV4HpYib+FE3EwJEFg5WGuQt2OCyJ6NWJ0Be29EzwONSuarmPMfNjdHzEHrE21e5c+KdeqNZVR0WYV4Sy4s/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751964798; c=relaxed/simple; bh=Gu5UaszcmX+mpnQZqFkZoxI3R5X5mW9BjdsphxAdxwc=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Q/K3DPjP7QkqPFq3NYUFYp/ptCYSTcduXxHbgZk7bcTWq43mHs4h5rM+RcqKPQueEwvGdRlVMUyhF7uwYxnsdl6dxhGqAJW0MKUo5QOwxWVsCwOXM+Nus+XIOlhvHcM7Hc33asax6BxX8b57xwN5h4U4BYoERsBQ2EUSlgZttpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vTKNDG7z; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vTKNDG7z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 647D0C4CEED; Tue, 8 Jul 2025 08:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751964796; bh=Gu5UaszcmX+mpnQZqFkZoxI3R5X5mW9BjdsphxAdxwc=; h=Subject:To:Cc:From:Date:From; b=vTKNDG7zTq5Hq3DE5/LtjVEIDyHkdrjsHmuRxgFCerY6kATrDWmQV6MpZkWMrnooI 1+Sp50qR52dT39/nBd49ZAVhDivalZ0gRusnJQf4YmX4B4yMDwkixCZ3Y/Ro183nqg Tu5jw2xFCMJ4xAMG9PFND5Z8lJ70AphZ30oYGdko= Subject: FAILED: patch "[PATCH] xhci: Disable stream for xHC controller with" failed to apply to 5.15-stable tree To: xiehongyu1@kylinos.cn,gregkh@linuxfoundation.org,mathias.nyman@linux.intel.com,stable@kernel.org Cc: From: Date: Tue, 08 Jul 2025 10:53:14 +0200 Message-ID: <2025070814-scrunch-wolverine-ceb9@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x cd65ee81240e8bc3c3119b46db7f60c80864b90b # git commit -s git send-email --to '' --in-reply-to '2025070814-scrunch-wolverine-ceb9@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From cd65ee81240e8bc3c3119b46db7f60c80864b90b Mon Sep 17 00:00:00 2001 From: Hongyu Xie Date: Fri, 27 Jun 2025 17:41:20 +0300 Subject: [PATCH] xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS Disable stream for platform xHC controller with broken stream. Fixes: 14aec589327a6 ("storage: accept some UAS devices if streams are unavailable") Cc: stable Signed-off-by: Hongyu Xie Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20250627144127.3889714-3-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 6dab142e7278..c79d5ed48a08 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -328,7 +328,8 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s } usb3_hcd = xhci_get_usb3_hcd(xhci); - if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4) + if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4 && + !(xhci->quirks & XHCI_BROKEN_STREAMS)) usb3_hcd->can_do_streams = 1; if (xhci->shared_hcd) {