From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE5DFC33CB1 for ; Fri, 17 Jan 2020 08:05:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9ACF92073A for ; Fri, 17 Jan 2020 08:05:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729539AbgAQIFG (ORCPT ); Fri, 17 Jan 2020 03:05:06 -0500 Received: from verein.lst.de ([213.95.11.211]:60964 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729334AbgAQIFG (ORCPT ); Fri, 17 Jan 2020 03:05:06 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 137E368B05; Fri, 17 Jan 2020 09:05:04 +0100 (CET) Date: Fri, 17 Jan 2020 09:05:03 +0100 From: Christoph Hellwig To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, git@xilinx.com, Christoph Hellwig , Manish Narani , Mike Rapoport , Manjukumar Matha , Heiko Carstens , Linus Walleij , Guo Ren , Geert Uytterhoeven , Andrew Morton Subject: Re: [PATCH v2 2/2] microblaze: Wire CMA allocator Message-ID: <20200117080503.GB8980@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 17, 2020 at 09:03:32AM +0100, Michal Simek wrote: > Based on commit 04e3543e228f ("microblaze: use the generic dma coherent > remap allocator") > CMA can be easily enabled by calling dma_contiguous_reserve() at the end of > mmu_init(). High limit is end of lowmem space which is completely unused at > this point of time. > > Signed-off-by: Michal Simek Looks good, Reviewed-by: Christoph Hellwig