-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove USB stack patches working around obsoleted Z-Wave devices issues #3854
Conversation
bff99ea
to
4e51a38
Compare
In #3224 we've introduced a patch reverting some changes in the USB stack that was supposed to work around issues with some USB devices. Later discussions revealed these devices are obsoleted by the manufacturer and there is no official way of fixing those in newer Linux kernels. However, carrying the patches makes us diverge from upstream and can eventually trigger other problems not present upstream we'll have to handle. Drop these patches now to be part of the upcoming OS 15 release, rather than needing to drop them later in any of the patch revisions later.
📝 WalkthroughWalkthroughThe changes remove patch files that had previously reverted USB core modifications meant to address issues with the Z-Wave.me UZB stick. The rollback undoes alterations to SuperSpeed initialization, race conditions in hub port descriptor handling, and API changes for retrieving device descriptors. Additionally, the method signature for Changes
Sequence Diagram(s)sequenceDiagram
participant Driver
participant USB_Core
participant USB_Device
Driver->>+USB_Core: Call usb_get_device_descriptor(dev, size)
USB_Core->>+USB_Device: Request device descriptor
USB_Device-->>-USB_Core: Returns descriptor data
USB_Core-->>-Driver: Returns descriptor data or error code
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
In #3224 we've introduced a patch reverting some changes in the USB stack that was supposed to work around issues with some USB devices. Later discussions revealed these devices are obsoleted by the manufacturer and there is no official way of fixing those in newer Linux kernels. However, carrying the patches makes us diverge from upstream and can eventually trigger other problems not present upstream we'll have to handle.
Drop these patches now to be part of the upcoming OS 15 release, rather than needing to drop them later in any of the patch revisions later.
Summary by CodeRabbit