lkml.org 
[lkml]   [2016]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] Two small dma-coherent bug fixes
Date
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(-)

Background information
----------------------
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)

Commit details
--------------
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.
--
1.7.9.5


\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.051 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site