From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751741AbcI1Hw0 (ORCPT ); Wed, 28 Sep 2016 03:52:26 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:51362 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbcI1HwR (ORCPT ); Wed, 28 Sep 2016 03:52:17 -0400 From: Mark Craske To: Greg Kroah-Hartman CC: , "George G. Davis" , Jiada Wang Subject: [PATCH v2 0/2] Two small dma-coherent bug fixes Date: Wed, 28 Sep 2016 08:51:55 +0100 Message-ID: <1475049117-12201-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 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