]> asedeno.scripts.mit.edu Git - linux.git/commit
dma-direct: provide generic support for uncached kernel segments
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 06:43:51 +0000 (08:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 14:00:08 +0000 (16:00 +0200)
commitc30700db9eaabb35e0b123301df35a6846e6b6b4
tree96e4e6018c0b6e92289aee5093082c6322ab7abf
parent67f30ad19c4b329dbe47e1563b2017203bd02e34
dma-direct: provide generic support for uncached kernel segments

A few architectures support uncached kernel segments.  In that case we get
an uncached mapping for a given physica address by using an offset in the
uncached segement.  Implement support for this scheme in the generic
dma-direct code instead of duplicating it in arch hooks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/Kconfig
include/linux/dma-noncoherent.h
kernel/dma/direct.c