Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751422AbdGQI6t (ORCPT ); Mon, 17 Jul 2017 04:58:49 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35966 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdGQI6q (ORCPT ); Mon, 17 Jul 2017 04:58:46 -0400 From: Vladimir Murzin To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux@armlinux.org.uk, sza@esh.hu, arnd@arndb.de, gregkh@linuxfoundation.org, akpm@linux-foundation.org, alexandre.torgue@st.com, robin.murphy@arm.com, kbuild-all@01.org, benjamin.gaignard@linaro.org, hch@lst.de, m.szyprowski@samsung.com, vitaly_kuzmichev@mentor.com, george_davis@mentor.com Subject: [RFC PATCH 0/2] Introduce interface for default DMA pool Date: Mon, 17 Jul 2017 09:58:03 +0100 Message-Id: <1500281885-3034-1-git-send-email-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.0.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 22 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 Vladimir Murzin (2): drivers: dma-coherent: Introduce interface for default DMA pool ARM: NOMMU: Wire-up default DMA interface arch/arm/mm/dma-mapping-nommu.c | 45 +++++++++--- drivers/base/dma-coherent.c | 159 ++++++++++++++++++++++++++-------------- include/linux/dma-mapping.h | 24 ++++++ 3 files changed, 166 insertions(+), 62 deletions(-) -- 2.0.0