This patchset contains the following commits:
Bastian Hecht (1):
drivers: dma-coherent: Move spinlock in dma_alloc_from_coherent()
George G. Davis (1):
drivers: dma-coherent: Fix DMA coherent size for less than page
drivers/base/dma-coherent.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
These 2 commits were originally developed and validated on an ARM i.MX6 based
commercial project running a highly modified 3.14 Linux kernel.
The commits were needed to amend dma_mmap_from_coherent() to deal correctly
with mappings of less than one page, and to improve latency on SMP systems
where large DMA buffers are used.
The commits have been forward-ported to driver-core-next master branch HEAD
(c693593 Linux 4.8-rc5)
This patchset fixes a couple of problems with dma-coherent seen
on a commercial i.MX6 based system.
Note: Testing has only been done on an ARM i.MX6 based platform.