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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT 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 17B45C43381 for ; Thu, 28 Mar 2019 11:25:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C766B21773 for ; Thu, 28 Mar 2019 11:25:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BYYdHUGA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C766B21773 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WLUqTegyzYpxnUNFkGryj1ofik2ZUdYwKbMysvQymmo=; b=BYYdHUGAg4/Sup bAwvFC2yzz7yjMoCkBsoVEzZSuxBLOG1VEQYwIXQAzlt3zQ3UxXQDtus0hEpsyS83IPO0iZMC63DR hkHvPh2YkhmKDfLwjXR/zOYGYC1gWvyAyKxKLot7uILUGeov5Og/uWCUn1wRhqVemSEyPNe2jyc80 dvv4l3cjJrgTQvNabrgRXn00saDSL9nlkdy+uSZoPSkNvvC57YiGWI4xf3+DOX7A+4SK6ZpJYAofS p8BAyjVqq2JEZPjRjpsQc9+DEA/bvZ/+kLIlRWvIUxClrUfN6Cw/tgUH/annagZKlWmMpKM4W4bnK 7rzAPJI9XUD/xxf3LS7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9T9q-00036p-34; Thu, 28 Mar 2019 11:25:18 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9T9m-00036P-I5 for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2019 11:25:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E15E515AB; Thu, 28 Mar 2019 04:25:12 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8A2863F59C; Thu, 28 Mar 2019 04:25:11 -0700 (PDT) Date: Thu, 28 Mar 2019 11:25:09 +0000 From: Catalin Marinas To: Chen Zhou Subject: Re: [PATCH] memblock: replace memblock_alloc_low with memblock_alloc Message-ID: <20190328112508.GB10283@arrakis.emea.arm.com> References: <20190327135116.121595-1-chenzhou10@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190327135116.121595-1-chenzhou10@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_042514_605502_83EAE456 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wangkefeng.wang@huawei.com, steve.capper@arm.com, will.deacon@arm.com, takahiro.akashi@linaro.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 27, 2019 at 09:51:16PM +0800, Chen Zhou wrote: > diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c > index f8482fe..413d566 100644 > --- a/arch/arm64/kernel/setup.c > +++ b/arch/arm64/kernel/setup.c > @@ -217,7 +217,7 @@ static void __init request_standard_resources(void) > > num_standard_resources = memblock.memory.cnt; > res_size = num_standard_resources * sizeof(*standard_resources); > - standard_resources = memblock_alloc_low(res_size, SMP_CACHE_BYTES); > + standard_resources = memblock_alloc(res_size, SMP_CACHE_BYTES); > if (!standard_resources) > panic("%s: Failed to allocate %zu bytes\n", __func__, res_size); > Queued for 5.1-rc3. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel