lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@kernel.org>
    > Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
    > Tested-by: Dave Kleikamp <dave.kleikamp@oracle.com>
    > ---
    > drivers/of/fdt.c | 15 +++++++++++----
    > 1 file changed, 11 insertions(+), 4 deletions(-)
    >

    Reviewed-by: Rob Herring <robh@kernel.org>

    \
     
     \ /
      Last update: 2021-12-10 17:41    [W:2.545 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site