Thread (25 messages) 25 messages, 6 authors, 2021-12-13

Re: [PATCH v16 09/11] of: fdt: Aggregate the processing of "linux,usable-memory-range"

From: Rob Herring <robh@kernel.org>
Date: 2021-11-30 22:05:31
Also in: kexec, linux-arm-kernel, linux-devicetree, lkml

On Tue, 23 Nov 2021 20:46:44 +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@kernel.org>
Signed-off-by: Zhen Lei <redacted>
---
 drivers/of/fdt.c | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
Reviewed-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help