[PATCH] i2c: at91: use dma safe buffers
Michael Walle
michael at walle.cc
Mon Mar 28 07:35:30 UTC 2022
Hi all,
Am 2022-03-03 17:17, schrieb Michael Walle:
> The supplied buffer might be on the stack and we get the following
> error
> message:
> [ 3.312058] at91_i2c e0070600.i2c: rejecting DMA map of vmalloc
> memory
>
> Use i2c_{get,put}_dma_safe_msg_buf() to get a DMA-able memory region if
> necessary.
>
> Cc: stable at vger.kernel.org
> Signed-off-by: Michael Walle <michael at walle.cc>
Any news here?
> ---
>
> I'm not sure if or which Fixes: tag I should add to this patch. The
> issue
> seems to be since a very long time, but nobody seem to have triggered
> it.
> FWIW, I'm using the sff,sfp driver, which triggers this.
-michael
More information about the dri-devel
mailing list