June 20 - 22 - Tokyo, Japan
Click for Open Source Summit Japan & Automotive Linux Summit Information & Registration
Friday, June 22 • 14:25 - 15:05
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 externaly 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 virtualization 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 a main interest for automotive, more eyes are needed for this problem.


Wolfram Sang

Team Lead, Maintainer, Mentor, Consultant / Renesas
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 →

Friday June 22, 2018 14:25 - 15:05 JST
Hall B-2