Edinburgh, Scotland, UK
October 21 & October 25 | Co-Located Events, Tutorials, & Workshops
October 22-24 | Conference
Find out more information for Open Source Summit + Embedded Linux Conference & OpenIoT Summit Europe 2018

Please note that you can view and download presentations on the Open Source Summit and Embedded Linux Conference + OpenIoT Summit slides pages. 
Back To Schedule
Tuesday, October 23 • 09:00 - 09:40
DMA Safety in Buffers for Linux Kernel Device Drivers - Wolfram Sang, Renesas / Consultant

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
This talk is about findings which originated from an issue in the I2C subsystem but then became more widespread. The question was if externally allocated message buffers for the I2C subsystem need to be DMA safe. That gained importance and needed a proper solution.

While working on this, buffer handling in other subsystems was evaluated regarding DMA safety. It turned out that some, including I2C, work rather by coincidence or, at least, on assumptions which are likely to be true, but not always. And those assumptions might even be less likely true in the future, given some structural changes kernel hardening brings.

Learn that a check if buffers are DMA capable is surprisingly not an easy task. And find out which solutions exist as of today. With safety being an increasing interest for embedded, more eyes are needed for this problem.


Wolfram Sang

Kernel Developer & Team Lead, Sang Engineering
Wolfram has been working as a Linux kernel developer for embedded systems since 2008. He maintains the I2C subsystem and works as a consultant and mentor, mainly for the Renesas Upstream Kernel Team. Programming since his childhood, he still hacks his machines from the 80s, especially... Read More →

Tuesday October 23, 2018 09:00 - 09:40 BST
Lennox 2, Level -2