~/talk

BoF: Object Life-Time Handling in Driver Subsystems

links:none on file
slides:none on file

Many driver subsystems crash when provider data goes away; gpio gets an SRCU-backed split responsibility solution where the subsystem allocates the reference‑counted device, protects the provider pointer with SRCU, and synchronizes on unregister so callers see NULL and return cleanly. Alternatives discussed are a handoff alloc model where drivers allocate then transfer ownership to the subsystem, and a read‑on config model where the subsystem deep‑copies probe data; device links and interrupt handling remain unresolved pain points.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Driver resource handling problems
  3. 3:17Logical vs physical devices
  4. 4:24GPIO crash fix
  5. 5:31Provider-consumer approaches
  6. 9:26Critique of provider structures
  7. 12:46Read-only config structures
  8. 14:12Device tree overlays impact
  9. 15:01Device links limitations
  10. 17:31Unbind scenarios discussion
  11. 20:04GPIO interrupt handling
  12. 21:55NFC flawed solution
  13. 23:40Power sequencing solution
  14. 25:47Why SRCU for GPIO
  15. 27:12Device tree removal fixes
  16. 29:41Provider driver API changes
  17. 31:32Removable hardware use case
  18. 33:19Device tree overlays dynamic
  19. 35:06Unified provider-consumer framework
  20. 37:13Module unloading safety
  21. 39:00Final remarks & Q&A
~/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.