From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764099AbcIOJjx (ORCPT ); Thu, 15 Sep 2016 05:39:53 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:55435 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754740AbcIOJjv (ORCPT ); Thu, 15 Sep 2016 05:39:51 -0400 From: Mark Craske To: Greg Kroah-Hartman CC: , "George G. Davis" , Jiada Wang Subject: [PATCH v1 0/2] Two small dma-coherent bug fixes Date: Thu, 15 Sep 2016 10:39:57 +0100 Message-ID: <1473932399-23224-1-git-send-email-Mark_Craske@mentor.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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