Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbdF3L7p (ORCPT ); Fri, 30 Jun 2017 07:59:45 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:41276 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbdF3L7S (ORCPT ); Fri, 30 Jun 2017 07:59:18 -0400 Subject: Re: [PATCH 0/2] Follow-up on "ARM: Fix dma_alloc_coherent() and friends for NOMMU" To: Benjamin Gaignard References: <1498641418-3554-1-git-send-email-vladimir.murzin@arm.com> Cc: linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , Russell King - ARM Linux , =?UTF-8?Q?Szemz=c5=91_And?= =?UTF-8?Q?r=c3=a1s?= , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Alexandre Torgue , robin.murphy@arm.com, kbuild-all@01.org, Christoph Hellwig , Marek Szyprowski , Steven Miao , Geert Uytterhoeven , Michal Simek , Yoshinori Sato , Rich Felker , Chris Zankel , Max Filippov From: Vladimir Murzin Message-ID: Date: Fri, 30 Jun 2017 12:59:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2005 Lines: 59 On 30/06/17 12:36, Benjamin Gaignard wrote: > 2017-06-28 11:16 GMT+02:00 Vladimir Murzin : >> These two patches are folloups on "[PATCH v6 0/7] ARM: Fix >> dma_alloc_coherent() and friends for NOMMU" which has been partly >> merged in [1]. PATCH 1/2 is done per Christoph's suggestion [2] to >> eliminate duplication in dma-noop.c. PATCH 2/2 is fixup for ARM's dma >> operations for NOMMU due to aforementioned change. >> >> @Benjamin, your Tested-by for ARM bits would be very appretiated! > > I have been able to test on stm32f4 with drm/kms drivers which is > calling dma_alloc_coherent > and modetest doing mmap and it is working fine. > > tested-by: Benjamin Gaignard > Great thanks! Vladimir >> >> @Christoph, in case you decide to queue PATCH 1/2, can you put it >> before "ARM: NOMMU: Introduce dma operations for noMMU", so transition >> to the new dma operations won't break bisectability. >> >> [1] git://git.infradead.org/users/hch/dma-mapping.git for-next >> [2] https://www.spinics.net/lists/arm-kernel/msg590587.html >> >> Cc: Steven Miao >> Cc: Geert Uytterhoeven >> Cc: Michal Simek >> Cc: Yoshinori Sato >> Cc: Rich Felker >> Cc: Chris Zankel >> Cc: Max Filippov >> >> Thanks! >> >> Vladimir Murzin (2): >> drivers: dma-mapping: allow dma_common_mmap() for NOMMU >> fixup: ARM: NOMMU: Introduce dma operations for noMMU >> >> arch/arm/mm/dma-mapping-nommu.c | 18 ------------------ >> arch/blackfin/Kconfig | 1 + >> arch/m32r/Kconfig | 1 + >> arch/m68k/Kconfig | 1 + >> arch/microblaze/Kconfig | 1 + >> arch/sh/Kconfig | 1 + >> arch/xtensa/Kconfig | 1 + >> drivers/base/dma-mapping.c | 4 ++-- >> 8 files changed, 8 insertions(+), 20 deletions(-) >> >> -- >> 2.0.0 >> > > >