~/talk

DMA Safety in Buffers for Linux Kernel Device Drivers

links:none on file
slides:none on file

Work on I2C finds that externally supplied message buffers are often not DMA-safe, so an opt-in DMA_SAFE flag and a small helper API now exist that either validates the buffer or provides a bounce buffer and cleanup helper; this fixes real crashes in controllers that assume DMA access. Kernel development tooling helps — enable CONFIG_DMA_API_DEBUG during testing — but wider auditing is needed because issues range from vmalloc vs kmalloc placement to device-specific address window limits.

AI-written summary · about

  1. 0:00Intro
  2. 0:53Why use DMA
  3. 3:38Two potential code paths
  4. 9:20ISquareC client side
  5. 13:20Other subsystems
  6. 14:21SPI
  7. 17:00Unexpected Issues
  8. 20:20Conclusions
  9. 21:22Debugging
  10. 21:52DMA Buff
  11. 23:30Subsystem Maintainer
  12. 24:15Developers
  13. 25:06Linux Foundation
~/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.