Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1725583

Re: [I2C] About warning 'DMA-API: device driver maps memory from stack'

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [I2C] About warning 'DMA-API: device driver maps memory from stack'
Date 2017-09-03 00:00 +0200
Message-ID <uloCl-8cB-3@gated-at.bofh.it> (permalink)
References <ulfpo-2MF-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

nice to see someone else interested in the I2C & DMA topic.

Please check this series which I sent out recently:

"[RFC PATCH v4 0/6] i2c: document DMA handling and add helpers for it"

In that series, I proposed...

> 3. kmalloc data buffer instead of local variables buf in function
> i2c_smbus_xfer_emulated(...)

... this solution. Although I have to check Mauro's general response to
the series first. I'd be interested in what you think of the series,
too.

Kind regards,

   Wolfram

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[I2C] About warning 'DMA-API: device driver maps memory from stack' Jun Gao <jun.gao@mediatek.com> - 2017-09-02 14:10 +0200
  Re: [I2C] About warning 'DMA-API: device driver maps memory from  stack' Wolfram Sang <wsa@the-dreams.de> - 2017-09-03 00:00 +0200

csiph-web