Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935801AbdGTJiq (ORCPT ); Thu, 20 Jul 2017 05:38:46 -0400 Received: from mail.integranet.hu ([185.80.49.33]:54852 "EHLO mail.integranet.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934810AbdGTJim (ORCPT ); Thu, 20 Jul 2017 05:38:42 -0400 X-Greylist: delayed 551 seconds by postgrey-1.27 at vger.kernel.org; Thu, 20 Jul 2017 05:38:42 EDT Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [RFC PATCH 0/2] Introduce interface for default DMA pool From: =?utf-8?B?U3plbXrFkSBBbmRyw6Fz?= In-Reply-To: <1500281885-3034-1-git-send-email-vladimir.murzin@arm.com> Date: Thu, 20 Jul 2017 11:29:26 +0200 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King - ARM Linux , arnd@arndb.de, Greg Kroah-Hartman , akpm@linux-foundation.org, Alexandre Torgue , robin.murphy@arm.com, kbuild-all@01.org, benjamin.gaignard@linaro.org, hch@lst.de, Marek Szyprowski , vitaly_kuzmichev@mentor.com, george_davis@mentor.com Message-Id: <8C5889D6-099B-4752-AC42-5363FBD235AA@esh.hu> References: <1500281885-3034-1-git-send-email-vladimir.murzin@arm.com> To: Vladimir Murzin X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v6K9crU8007865 Content-Length: 1231 Lines: 34 > On 2017. Jul 17., at 10:58, Vladimir Murzin wrote: > > Hi, > > This is follow-up for Christoph complain of overloading the current > dma coherent infrastructure with the global pool. To address that I > implemented Robin's idea of the new interface to the global pool and > wire up it with (only existent user) ARM NOMMU. Since I have not > heard from Vitaly and/or George of their use of global pool, I'm > leaving ARM MMU part to them. > > [1] https://lkml.org/lkml/2017/7/7/370 > I’ve tested the patches on Atmel SAMV7 SoC, and it works for me without any issues, so you can add my Tested-by. Thanks for the patches! Booting Linux on physical CPU 0x0 Linux version 4.13.0-rc1 (root@devel) (gcc version 4.9.2 ( 4.9.2-10)) #3 Wed Jul 19 04:48:18 EDT 2017 CPU: ARMv7-M [410fc271] revision 1 (ARMv7M), cr=00000000 CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache OF: fdt: Machine model: SAME70-sampione board ... Reserved memory: created DMA memory pool at 0x73e00000, size 2 MiB OF: reserved mem: initialized node linux,dma, compatible id shared-dma-pool Using ARMv7 PMSA Compliant MPU. Region independence: No, Used 4 of 16 regions ... DMA: default coherent area is set ...