Anatomy of a Mainline Linux Driver
summary
Upstream driver development prioritizes maintainability over exhaustive vendor features: vendors often implement 100% of hardware features but products use ~60%, so remove untestable downstream features and dead code. Expect to split work into small, bisectable commits following one patch == one logical change, rely on existing kernel frameworks, provide testable device tree examples, and use tooling like checkpatch, smatch, B4/b4‑prep and Sashiko. Real-world runs show large SOC submissions end up being mostly bindings (≈80%) when handled this way.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker background
- 1:25What the talk covers
- 2:10Requirements for reviewers and maintainers
- 6:41Vendor vs mainline driver differences
- 9:55Keeping drivers simple and testable
- 11:00Patch preparation and organization
- 13:30Device tree bindings and tools
- 15:19RFC and RFT in patch series
- 16:43Handling reviews and feedback
- 19:28Patch revision timing and tooling
- 20:55Final thoughts on driver usability
- 21:19Q&A session
