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=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS 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 B4083C43387 for ; Wed, 16 Jan 2019 15:17:31 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30E8A205C9 for ; Wed, 16 Jan 2019 15:17:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xr0GSlo2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30E8A205C9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43frRY2ghSzDqcD for ; Thu, 17 Jan 2019 02:17:29 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=robh+dt@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="xr0GSlo2"; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43frPr53W5zDqcD for ; Thu, 17 Jan 2019 02:16:00 +1100 (AEDT) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C18C121741 for ; Wed, 16 Jan 2019 15:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547651758; bh=FhtIDYW+wCB2HQTzHX9fQ0IjelhfkG3XvKPLXhG6y4I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xr0GSlo2nvlWuGsr7jweGcrtepRj+D96RyQ+3OmX9XbTMPamFrPpu4f/m5bPTi/sO 8y6JlwR4JF+63DTRsEMl2RfD/+WwchlswVHiuuUDZL0SOCpLnxciljbXNI/wtVW0ZK Ys3oVFXPfCIv+U1cCkVRudGZEi0gdBT/KYCAGQY8= Received: by mail-qk1-f175.google.com with SMTP id a1so3940106qkc.5 for ; Wed, 16 Jan 2019 07:15:58 -0800 (PST) X-Gm-Message-State: AJcUukf11EQkyvM+PWDwHWz8J4AhvLozaUbMTertXuN32gW644w9uC30 /tHoEO4DWHgA7SUV/c6xh7TMbCO4N4Up6lhYBg== X-Google-Smtp-Source: ALg8bN58+iZLgU0Dz1CX9M4G8I+i1sidyUpbMzMVG8uz2Sj9t19sPbU6vMAmegv9MXHzo0bLJlQeKTxDeZMUP4oPvQg= X-Received: by 2002:a37:7682:: with SMTP id r124mr6995371qkc.79.1547651756813; Wed, 16 Jan 2019 07:15:56 -0800 (PST) MIME-Version: 1.0 References: <1547646261-32535-1-git-send-email-rppt@linux.ibm.com> <1547646261-32535-9-git-send-email-rppt@linux.ibm.com> In-Reply-To: <1547646261-32535-9-git-send-email-rppt@linux.ibm.com> From: Rob Herring Date: Wed, 16 Jan 2019 09:15:45 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 08/21] memblock: drop __memblock_alloc_base() To: Mike Rapoport Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , linux-ia64@vger.kernel.org, devicetree@vger.kernel.org, Catalin Marinas , Heiko Carstens , x86@kernel.org, linux-mips@vger.kernel.org, Max Filippov , Guo Ren , sparclinux@vger.kernel.org, Christoph Hellwig , linux-s390@vger.kernel.org, linux-c6x-dev@linux-c6x.org, Yoshinori Sato , Richard Weinberger , SH-Linux , Russell King , kasan-dev@googlegroups.com, Geert Uytterhoeven , Mark Salter , Dennis Zhou , Matt Turner , arcml , "moderated list:H8/300 ARCHITECTURE" , Petr Mladek , linux-xtensa@linux-xtensa.org, linux-alpha@vger.kernel.org, linux-um@lists.infradead.org, linux-m68k@lists.linux-m68k.org, Openrisc , Greentime Hu , xen-devel@lists.xenproject.org, Stafford Horne , Guan Xuetao , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Michal Simek , Tony Luck , linux-mm@kvack.org, Greg Kroah-Hartman , Linux USB List , "linux-kernel@vger.kernel.org" , Paul Burton , Vineet Gupta , Andrew Morton , linuxppc-dev , "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Jan 16, 2019 at 7:45 AM Mike Rapoport wrote: > > The __memblock_alloc_base() function tries to allocate a memory up to the > limit specified by its max_addr parameter. Depending on the value of this > parameter, the __memblock_alloc_base() can is replaced with the appropriate > memblock_phys_alloc*() variant. > > Signed-off-by: Mike Rapoport > --- > arch/sh/kernel/machine_kexec.c | 3 ++- > arch/x86/kernel/e820.c | 2 +- > arch/x86/mm/numa.c | 12 ++++-------- > drivers/of/of_reserved_mem.c | 7 ++----- > include/linux/memblock.h | 2 -- > mm/memblock.c | 9 ++------- > 6 files changed, 11 insertions(+), 24 deletions(-) Acked-by: Rob Herring