[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025061826-slapstick-duration-6221@gregkh>
Date: Wed, 18 Jun 2025 11:31:38 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: xiehongyu1@...inos.cn
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
mathias.nyman@...el.com, oneukum@...e.de, stable@...r.kernel.org
Subject: Re: [PATCH v2] xhci: Disable stream for xHC controller with
XHCI_BROKEN_STREAMS
On Wed, Jun 18, 2025 at 03:46:48PM +0800, xiehongyu1@...inos.cn wrote:
> From: Hongyu Xie <xiehongyu1@...inos.cn>
>
> Disable stream for platform xHC controller with broken stream.
>
> Fixes: 14aec589327a6 ("storage: accept some UAS devices if streams are unavailable")
> Cc: stable@...r.kernel.org # 5.4
> Signed-off-by: Hongyu Xie <xiehongyu1@...inos.cn>
> ---
> drivers/usb/host/xhci-plat.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index 6dab142e72789..c79d5ed48a08b 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) {
> --
> 2.25.1
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
Powered by blists - more mailing lists