Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756472AbaGIWq6 (ORCPT ); Wed, 9 Jul 2014 18:46:58 -0400 Received: from mail-vc0-f176.google.com ([209.85.220.176]:45182 "EHLO mail-vc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754839AbaGIWq5 (ORCPT ); Wed, 9 Jul 2014 18:46:57 -0400 MIME-Version: 1.0 X-Originating-IP: [2620:0:1000:157d:8cce:4220:32bc:b297] In-Reply-To: <1404324218-4743-4-git-send-email-lauraa@codeaurora.org> References: <1404324218-4743-1-git-send-email-lauraa@codeaurora.org> <1404324218-4743-4-git-send-email-lauraa@codeaurora.org> Date: Wed, 9 Jul 2014 15:46:56 -0700 Message-ID: Subject: Re: [PATCHv4 3/5] common: dma-mapping: Introduce common remapping functions From: Olof Johansson To: Laura Abbott Cc: Will Deacon , Catalin Marinas , David Riley , "linux-arm-kernel@lists.infradead.org" , Ritesh Harjain , linux-mm , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 2, 2014 at 11:03 AM, Laura Abbott wrote: > > For architectures without coherent DMA, memory for DMA may > need to be remapped with coherent attributes. Factor out > the the remapping code from arm and put it in a > common location to reduced code duplication. > > Signed-off-by: Laura Abbott Hm. The switch from ioremap to map_vm_area() here seems to imply that lib/ioremap can/should be reworked to use just wrap the vmalloc functions too? Unrelated to this change. I did a pass of review here. Nothing stands out as wrong but I don't claim to know this area well these days. What's the merge/ack plan here? It might reduce the complexity of merging to add the common functions in your series, then move the ARM code over separately? -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/