Messages in this thread | | | From | Mark Craske <> | Subject | [PATCH v2 0/2] Two small dma-coherent bug fixes | Date | Wed, 28 Sep 2016 08:51:55 +0100 |
| |
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 repo driver-core-next branch HEAD (6ee6d1c carl9170: fix debugfs crashes)
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
| |