Skip to Main content Skip to Navigation
Conference papers

Fast and Precise Retrieval of Forward and Back Porting Information for Linux Device Drivers

Abstract : Porting Linux device drivers to target more recent and older Linux kernel versions to compensate for the ever-changing kernel interface is a continual problem for Linux device driver developers. Acquiring information about interface changes is a necessary, but tedious and error prone, part of this task. In this paper, we propose two tools, Prequel and gcc-reduce, to help the developer collect the needed information. Prequel provides language support for querying git commit histories, while gcc-reduce translates error messages produced by compiling a driver with a target kernel into appropriate Pre-quel queries. We have used our approach in porting 33 device driver files over up to 3 years of Linux kernel history , amounting to hundreds of thousands of commits. In these experiments, for 3/4 of the porting issues, our approach highlighted commits that enabled solving the porting task. For many porting issues, our approach retrieves relevant commits in 30 seconds or less.
Complete list of metadata

Cited literature [13 references]  Display  Hide  Download
Contributor : Julia Lawall Connect in order to contact the contributor
Submitted on : Wednesday, July 5, 2017 - 12:00:22 PM
Last modification on : Wednesday, June 8, 2022 - 12:50:06 PM
Long-term archiving on: : Tuesday, January 23, 2018 - 8:28:42 PM


Files produced by the author(s)


  • HAL Id : hal-01556589, version 1


Julia Lawall, Derek Palinski, Lukas Gnirke, Gilles Muller. Fast and Precise Retrieval of Forward and Back Porting Information for Linux Device Drivers. 2017 USENIX Annual Technical Conference, Jul 2017, Santa Clara, CA, United States. pp.12. ⟨hal-01556589⟩



Record views


Files downloads