lkml.org 
[lkml]   [2022]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 4/5] arm64: mm: Only remove nomap flag for initrd
    On Tue, Jun 14, 2022 at 05:21:55PM +0800, Wupeng Ma wrote:
    > From: Ma Wupeng <mawupeng1@huawei.com>
    >
    > Commit 177e15f0c144 ("arm64: add the initrd region to the linear mapping explicitly")
    > remove all the flags of the memory used by initrd. This is fine since
    > MEMBLOCK_MIRROR is not used in arm64.
    >
    > However with mirrored feature introduced to arm64, this will clear the mirrored
    > flag used by initrd, which will lead to error log printed by
    > find_zone_movable_pfns_for_nodes() if the lower 4G range has some non-mirrored
    > memory.
    >
    > To solve this problem, only MEMBLOCK_NOMAP flag will be removed via
    > memblock_clear_nomap().
    >
    > Signed-off-by: Ma Wupeng <mawupeng1@huawei.com>
    > Reviewed-by: Ard Biesheuvel <ardb@kernel.org>

    Acked-by: Catalin Marinas <catalin.marinas@arm.com>

    \
     
     \ /
      Last update: 2022-06-15 12:05    [W:2.911 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site