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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1C6ECC433EF for ; Fri, 10 Dec 2021 16:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=//x1VL7vQLV+l9tdJkUCQGKCAYQdGRatYodrR1F2yog=; b=3GxTZbNHiuMjSQ Q52yJFgdVRGSVBeXmOHwyvmZes37PZe6yr9Xmj20FeAYG0oxGbQrbs5hoj/VhRRArztZsemp90UXc V2B/KgsnCnCnTnnfRRkcV+2T291FCoipU9PaaZxXh/dpEZbYk98Yoi+WraUc4nRv+lidkeMwBJ4pu HEvX2gXeFudhPrkK/sOV6btQxWFYPZwPMMb5jnO+AigbfKjSYHlm8yfWNkg14mhS/HdTiMpI285YB 4XOD3eXdXdOW00MnV9sELYHehVlrdXh59R6zSquOvEEX6SrsqycI/l2vIb8Xvfe/hKavLlVVgiRzJ fqAKexou1EWkpgFSl4yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mviwJ-002cW8-Is; Fri, 10 Dec 2021 16:40:07 +0000 Received: from mail-ot1-f42.google.com ([209.85.210.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mviwE-002cTk-V8; Fri, 10 Dec 2021 16:40:05 +0000 Received: by mail-ot1-f42.google.com with SMTP id i5-20020a05683033e500b0057a369ac614so10128294otu.10; Fri, 10 Dec 2021 08:39:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=U8AzNdkQs1VFeOH+BSfiPv2cItiIyXIcpLga5ITOTUg=; b=jXGIAi04mu7pzSbPHDiv1a0UPyFFXcHqFBVCAhx0pIOoTqor5aXZ8cCJkWsYOEyu+V xNUS0cfpcHZYOUJEFqt5gwoGuAodvMDcYcVpupIRM2FUp/oDC1KnqJYeu94gNSGFApMc GEk01bb5fXp0ycarcepmKzcu1HrJtT6zOw28e30qYCO93D4k3JoYFav5dgs/Ug+Wsb+S ZD6vW46JdmFJ8nb0r3QO1OZ5Rb/ySbNIY5CrSc1SNtb4+GYTxVqrz+OKvPUUlwv3TaIa 7Okcx57xlQ8PZkc7zlx5Qo3TTswiKt2xpuSEOtBd7PrEYPl3OyUAALmOgbebP385rODH dYqg== X-Gm-Message-State: AOAM530jm1rGvQD+v5yJ3tk85hfUFk81EYzFfNpngkNImABX4zShi4Rs 9SCDW2gIF/EC+0xE9Cx7Nw== X-Google-Smtp-Source: ABdhPJymSnAwtWRFNniWT4nkI6ZJg0484AHzkAllwJwxXceIA97LSLGuBuaFZadbFlvA0zXECbbnHA== X-Received: by 2002:a05:6830:3155:: with SMTP id c21mr11900196ots.183.1639154398721; Fri, 10 Dec 2021 08:39:58 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id w71sm732337oiw.6.2021.12.10.08.39.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 08:39:58 -0800 (PST) Received: (nullmailer pid 1492155 invoked by uid 1000); Fri, 10 Dec 2021 16:39:56 -0000 Date: Fri, 10 Dec 2021 10:39:56 -0600 From: Rob Herring To: Zhen Lei Cc: Catalin Marinas , Thomas Gleixner , devicetree@vger.kernel.org, Eric Biederman , Kefeng Wang , Borislav Petkov , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Dave Young , Chen Zhou , Randy Dunlap , "H . Peter Anvin" , Will Deacon , Ingo Molnar , kexec@lists.infradead.org, Frank Rowand , Jonathan Corbet , x86@kernel.org, Baoquan He , Vivek Goyal , Feng Zhou , linux-doc@vger.kernel.org Subject: Re: [PATCH v17 08/10] of: fdt: Aggregate the processing of "linux,usable-memory-range" Message-ID: References: <20211210065533.2023-1-thunder.leizhen@huawei.com> <20211210065533.2023-9-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211210065533.2023-9-thunder.leizhen@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211210_084003_032369_3DD4A4D6 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 10 Dec 2021 14:55:31 +0800, Zhen Lei wrote: > Currently, we parse the "linux,usable-memory-range" property in > early_init_dt_scan_chosen(), to obtain the specified memory range of the > crash kernel. We then reserve the required memory after > early_init_dt_scan_memory() has identified all available physical memory. > Because the two pieces of code are separated far, the readability and > maintainability are reduced. So bring them together. > > Suggested-by: Rob Herring > Signed-off-by: Zhen Lei > Tested-by: Dave Kleikamp > --- > drivers/of/fdt.c | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel