[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YbOC3NmxXsQb/Te/@robh.at.kernel.org>
Date: Fri, 10 Dec 2021 10:39:56 -0600
From: Rob Herring <robh@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Catalin Marinas <catalin.marinas@....com>,
Thomas Gleixner <tglx@...utronix.de>,
devicetree@...r.kernel.org, Eric Biederman <ebiederm@...ssion.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Borislav Petkov <bp@...en8.de>, linux-kernel@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
Dave Young <dyoung@...hat.com>,
Chen Zhou <dingguo.cz@...group.com>,
Randy Dunlap <rdunlap@...radead.org>,
"H . Peter Anvin" <hpa@...or.com>, Will Deacon <will@...nel.org>,
Ingo Molnar <mingo@...hat.com>, kexec@...ts.infradead.org,
Frank Rowand <frowand.list@...il.com>,
Jonathan Corbet <corbet@....net>, x86@...nel.org,
Baoquan He <bhe@...hat.com>, Vivek Goyal <vgoyal@...hat.com>,
Feng Zhou <zhoufeng.zf@...edance.com>,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v17 08/10] of: fdt: Aggregate the processing of
"linux,usable-memory-range"
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 <robh@...nel.org>
> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
> Tested-by: Dave Kleikamp <dave.kleikamp@...cle.com>
> ---
> drivers/of/fdt.c | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists