From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Fri, 10 Dec 2021 10:39:56 -0600 From: Rob Herring 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> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org 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 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 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec