[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025062837-stability-unmoved-42e8@gregkh>
Date: Sat, 28 Jun 2025 15:50:10 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: zhangjianrong <zhangjianrong5@...wei.com>
Cc: andreas.noever@...il.com, michael.jamet@...el.com,
mika.westerberg@...ux.intel.com, YehezkelShB@...il.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
guhengsheng@...ilicon.com, caiyadong@...wei.com,
xuetao09@...wei.com, lixinghang1@...wei.com
Subject: Re: [PATCH v2] thunderbolt: Check whether bandwidth request needs
asymmetric mode before check whether it can be done
On Sat, Jun 28, 2025 at 08:34:53PM +0800, zhangjianrong wrote:
> Current implementation may cause allocation failures in
> tb_alloc_dp_bandwidth() in some cases. This will happen
> when requesting downstream bandwidth while total upstream
> bandwidth usage on the link exceeds TB_ASYM_MIN (36 Gbps).
> tb_configure_asym() will return -ENOBUFS while asymmetric
> mode isn't necessary.
>
> Fixes: 3e36528c1127 ("thunderbolt: Configure asymmetric link if needed and bandwidth allows")
> Signed-off-by: zhangjianrong <zhangjianrong5@...wei.com>
Please use a real name, not an email alias, for a signed-off-by line.
Also, if this fixes old bugs, why did you not also include a cc:
stable@...nel.org line?
thanks,
greg k-h
Powered by blists - more mailing lists