Patch "usb: dwc3: qcom: fix peripheral and OTG suspend" has been added to the 5.19-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
FFS, Sasha...
Quoted 7 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
usb: dwc3: qcom: fix peripheral and OTG suspend
to the 5.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
Quoted 6 lines
The filename of the patch is:
usb-dwc3-qcom-fix-peripheral-and-otg-suspend.patch
and it can be found in the queue-5.19 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Stop pulling in these dwc3 patches! I already spent an afternoon doing backports for all the stable trees so that you wouldn't pull in half the world as dependencies.
This fixes an issue with a commit in 6.0, which should not be backported in the first place.
Just as I told you two weeks ago when these were dropped the last time:
https://lore.kernel.org/lkml/[email protected]/
If you can't fix up the trivial context change yourself, then use one of the backports of:
https://lore.kernel.org/lkml/[email protected]/
or simply just leave it out as the issue can't be triggered in 5.19 currently.
Just drop all the dwc3 patches from the pending-5.19 branch.
Quoted 23 lines
commit
a989a972abf4ae3f79bbff2d9dc9956eda25e2f0Author: Johan Hovold <[email protected]> Date: Thu Aug 4 17:09:58 2022 +0200usb: dwc3: qcom: fix peripheral and OTG suspend
[ Upstream commit
c5f14abeb52b0177b940fd734133d383da3521d8]A recent commit implementing wakeup support in host mode instead broke suspend for peripheral and OTG mode.
The hack that was added in the suspend path to determine the speed of any device connected to the USB2 bus not only accesses internal driver data for a child device, but also dereferences a NULL pointer or accesses freed data when the controller is not acting as host.
There's no quick fix to the layering violation, but since reverting would leave us with broken suspend in host mode with wakeup triggering immediately, let's keep the hack for now.
Fix the immediate issues by only checking the host bus speed and enabling wakeup interrupts when acting as host.
Quoted 6 lines
Fixes 6895ea55c385 ("usb: dwc3: qcom: Configure wakeup interrupts during suspend")Reported-by kernel test robot <[email protected]>Signed-off-by Johan Hovold <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Signed-off-by Sasha Levin <[email protected]>
Johan
Quoted 31 lines · Johan Hovold
FFS, Sasha...
Quoted 7 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
usb: dwc3: qcom: fix peripheral and OTG suspend
to the 5.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryQuoted 6 lines
The filename of the patch is:
usb-dwc3-qcom-fix-peripheral-and-otg-suspend.patch
and it can be found in the queue-5.19 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Stop pulling in these dwc3 patches! I already spent an afternoon doing backports for all the stable trees so that you wouldn't pull in half the world as dependencies.
This fixes an issue with a commit in 6.0, which should not be backported in the first place.
Just as I told you two weeks ago when these were dropped the last time:
https://lore.kernel.org/lkml/[email protected]/
If you can't fix up the trivial context change yourself, then use one of the backports of:
Quoted 6 lines
https://lore.kernel.org/lkml/[email protected]/or simply just leave it out as the issue can't be triggered in 5.19 currently.
Just drop all the dwc3 patches from the pending-5.19 branch.
Now dropped, except for the one I added yesterday :)
thanks,
greg k-h
Quoted 5 lines · Greg Kroah-Hartman
Quoted 1 line · Johan Hovold
Just drop all the dwc3 patches from the pending-5.19 branch.
Now dropped, except for the one I added yesterday :)
Thanks. Didn't see the DMA one at first.
Johan