Received: by 10.223.185.116 with SMTP id b49csp3509114wrg; Tue, 13 Feb 2018 03:32:18 -0800 (PST) X-Google-Smtp-Source: AH8x2256ZdyTR/GiiNWZx1uVS/0HXj72tQb5Is0PC/OecIyp8qSMhmaajuZi8+jANF3kF9icHbN2 X-Received: by 2002:a17:902:2884:: with SMTP id f4-v6mr843449plb.35.1518521538207; Tue, 13 Feb 2018 03:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518521538; cv=none; d=google.com; s=arc-20160816; b=HcNiVMUPuSJcIqaXQzzqyTbUBXWHNT1rxySBCHijlsiG06AdhVVLcdRZ+170rvOxmx x0Y56aS/jliiGFDsbNny3caFyXVngeK7wBS+P2cuOCPPfNHx62LbiMlPiaFLXkMGAYW/ dj1avQkwfuqHpy1K2cpoCIaOmbaTck5KSwvQ85ECDEJ2zmq/wdS3zsFg1Vd+MK4amCIB D5s2wHYDaV8v4+HP0x3QqI+NbMz9OMDReIP6/sVafDQCcqF11kwW3I39BckjL7I268hb 1zhvLqTkdVcNhoLgGiEo54ObF0qO0i14tUiiiuSW7yxEmvt5eAUvfSgs9uYDiMXC53Zt GKUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=dawvpdzBe9SUADO7BC4CDT1G2ZWkW3Lhk7zGYrNz9Qc=; b=RVMYHbEQKCYx8dMJmJtDEnX0iiJbVdmB4bl+lpPxN9ucO1IwRGRFye7jOP6qvTkwgK 9WQn/sAG3nbi1YwdiucO+9saa6EO6nQ9mw6fimfpKJAEBfkadXqbPWFtGwPPOutL3QNw AApRMnzTvIs7LHFZvJ6qe8FEHjzNRzQB68AtqE6CYWLQQUWAalLPJSZ8UULvLH90S1+g 6+geJa7rCuOxQHeDHiB/o2Wr2FpOAXIYJmmtqmmj2uHMti61/l+FdDfrfq+DsNcJn12p 5yhUdg0wuabt8Qqb63Ywlq7tOcKCCK7R4iwsrjfVl5E6zBgAFBTeuRJ2JIvV7RqTpVuv ZouQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si1248235pfi.388.2018.02.13.03.32.03; Tue, 13 Feb 2018 03:32:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934801AbeBMLaw (ORCPT + 99 others); Tue, 13 Feb 2018 06:30:52 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:46260 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933964AbeBMLaq (ORCPT ); Tue, 13 Feb 2018 06:30:46 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1401.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Tue, 13 Feb 2018 11:29:09 +0000 Received: from [10.150.130.83] (10.150.130.83) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 13 Feb 2018 03:22:42 -0800 Subject: Re: [PATCH v2 03/15] MIPS: memblock: Reserve initrd memory in memblock To: Serge Semin , , , , , , , , , CC: , , , , , , , References: <20180117222312.14763-1-fancer.lancer@gmail.com> <20180202035458.30456-1-fancer.lancer@gmail.com> <20180202035458.30456-4-fancer.lancer@gmail.com> From: Matt Redfearn Message-ID: Date: Tue, 13 Feb 2018 11:22:37 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180202035458.30456-4-fancer.lancer@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.150.130.83] X-BESS-ID: 1518521348-321457-26461-23719-7 X-BESS-VER: 2018.1-r1801291959 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.189977 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/02/18 03:54, Serge Semin wrote: > There is no reserve_bootmem() method in the nobootmem interface, > so we need to replace it with memblock-specific one. > > Signed-off-by: Serge Semin Looks good to me :-) Reviewed-by: Matt Redfearn Thanks, Matt > --- > arch/mips/kernel/setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c > index f502cd702fa7..a015cee353be 100644 > --- a/arch/mips/kernel/setup.c > +++ b/arch/mips/kernel/setup.c > @@ -330,7 +330,7 @@ static void __init finalize_initrd(void) > > maybe_bswap_initrd(); > > - reserve_bootmem(__pa(initrd_start), size, BOOTMEM_DEFAULT); > + memblock_reserve(__pa(initrd_start), size); > initrd_below_start_ok = 1; > > pr_info("Initial ramdisk at: 0x%lx (%lu bytes)\n", >