From mboxrd@z Thu Jan 1 00:00:00 1970 From: lauraa@codeaurora.org (Laura Abbott) Date: Mon, 11 Aug 2014 16:40:26 -0700 Subject: [PATCHv7 0/5] DMA Atomic pool for arm64 Message-ID: <1407800431-21566-1-git-send-email-lauraa@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, This is v7 of the series to add an atomic pool for arm64 and refactor some of the dma atomic code. You know the drill. Thanks, Laura v7: Added correct power aligned algorithm patch. Addressed comments from Andrew. Laura Abbott (5): lib/genalloc.c: Add power aligned algorithm lib/genalloc.c: Add genpool range check function common: dma-mapping: Introduce common remapping functions arm: use genalloc for the atomic pool arm64: Add atomic pool for non-coherent and CMA allocations. arch/arm/Kconfig | 1 + arch/arm/mm/dma-mapping.c | 210 +++++++++---------------------- arch/arm64/Kconfig | 1 + arch/arm64/mm/dma-mapping.c | 164 +++++++++++++++++++++--- drivers/base/dma-mapping.c | 68 ++++++++++ include/asm-generic/dma-mapping-common.h | 9 ++ include/linux/genalloc.h | 7 ++ lib/genalloc.c | 49 ++++++++ 8 files changed, 338 insertions(+), 171 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by kanga.kvack.org (Postfix) with ESMTP id A9A146B0035 for ; Mon, 11 Aug 2014 19:40:40 -0400 (EDT) Received: by mail-ig0-f180.google.com with SMTP id l13so5138423iga.1 for ; Mon, 11 Aug 2014 16:40:40 -0700 (PDT) Received: from smtp.codeaurora.org (smtp.codeaurora.org. [198.145.11.231]) by mx.google.com with ESMTPS id d9si21881574igl.41.2014.08.11.16.40.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Aug 2014 16:40:39 -0700 (PDT) From: Laura Abbott Subject: [PATCHv7 0/5] DMA Atomic pool for arm64 Date: Mon, 11 Aug 2014 16:40:26 -0700 Message-Id: <1407800431-21566-1-git-send-email-lauraa@codeaurora.org> Sender: owner-linux-mm@kvack.org List-ID: To: Will Deacon , Catalin Marinas , Russell King Cc: Laura Abbott , David Riley , linux-arm-kernel@lists.infradead.org, Ritesh Harjain , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thierry Reding , Arnd Bergmann , Andrew Morton Hi, This is v7 of the series to add an atomic pool for arm64 and refactor some of the dma atomic code. You know the drill. Thanks, Laura v7: Added correct power aligned algorithm patch. Addressed comments from Andrew. Laura Abbott (5): lib/genalloc.c: Add power aligned algorithm lib/genalloc.c: Add genpool range check function common: dma-mapping: Introduce common remapping functions arm: use genalloc for the atomic pool arm64: Add atomic pool for non-coherent and CMA allocations. arch/arm/Kconfig | 1 + arch/arm/mm/dma-mapping.c | 210 +++++++++---------------------- arch/arm64/Kconfig | 1 + arch/arm64/mm/dma-mapping.c | 164 +++++++++++++++++++++--- drivers/base/dma-mapping.c | 68 ++++++++++ include/asm-generic/dma-mapping-common.h | 9 ++ include/linux/genalloc.h | 7 ++ lib/genalloc.c | 49 ++++++++ 8 files changed, 338 insertions(+), 171 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753339AbaHKXkk (ORCPT ); Mon, 11 Aug 2014 19:40:40 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:36307 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716AbaHKXkj (ORCPT ); Mon, 11 Aug 2014 19:40:39 -0400 From: Laura Abbott To: Will Deacon , Catalin Marinas , Russell King Cc: Laura Abbott , David Riley , linux-arm-kernel@lists.infradead.org, Ritesh Harjain , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thierry Reding , Arnd Bergmann , Andrew Morton Subject: [PATCHv7 0/5] DMA Atomic pool for arm64 Date: Mon, 11 Aug 2014 16:40:26 -0700 Message-Id: <1407800431-21566-1-git-send-email-lauraa@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is v7 of the series to add an atomic pool for arm64 and refactor some of the dma atomic code. You know the drill. Thanks, Laura v7: Added correct power aligned algorithm patch. Addressed comments from Andrew. Laura Abbott (5): lib/genalloc.c: Add power aligned algorithm lib/genalloc.c: Add genpool range check function common: dma-mapping: Introduce common remapping functions arm: use genalloc for the atomic pool arm64: Add atomic pool for non-coherent and CMA allocations. arch/arm/Kconfig | 1 + arch/arm/mm/dma-mapping.c | 210 +++++++++---------------------- arch/arm64/Kconfig | 1 + arch/arm64/mm/dma-mapping.c | 164 +++++++++++++++++++++--- drivers/base/dma-mapping.c | 68 ++++++++++ include/asm-generic/dma-mapping-common.h | 9 ++ include/linux/genalloc.h | 7 ++ lib/genalloc.c | 49 ++++++++ 8 files changed, 338 insertions(+), 171 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation