~/talk

Detecting failed device probes

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [testing]
name:Laura Nao
links:none on file
slides:none on file

Proposal: a generic regression detector that verifies devices actually instantiate and bind to drivers by parsing kernel driver match tables and checking the runtime CFS/device tree state. Practiced results: a device-tree kselftest merged upstream that extracts compatibles from driver match structs and flags missing probes; an ACPI test prototype covers ACPI-enumerated devices; discoverable buses (USB/PCI) require a per-platform discoverable-bus descriptor (lab-maintained or generated) to catch probe regressions, work-in-progress but already prevents false positives and catches config/probe-binding regressions.

AI-written summary · about

  1. 0:00Introduction to device probe regressions
  2. 1:04Problem with unprobed devices
  3. 3:57Current testing approaches
  4. 6:48Device tree and ACPI tests
  5. 10:44Handling discoverable buses
  6. 16:50Describing hardware topology
  7. 21:04Discussion on PCI and firmware
  8. 26:03Testing as baseline in CI
  9. 30:07Maintaining device catalogs
  10. 35:09Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.