[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOVJa8F8P-NC-xT3bZ8-kJwH5sS=hG4WGRu7Mw5ZQdcwGT2EZw@mail.gmail.com>
Date: Mon, 18 Mar 2019 11:06:30 +0800
From: pierre kuo <vichy.kuo@...il.com>
To: Steven Price <steven.price@....com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/1] initrd: move initrd_start calculate within linear
mapping range check
Hi Steven, Catalin and Will:
>
> in the previous case, initrd_start and initrd_end can be successfully
> returned either (base < memblock_start_of_DRAM()) or (base + size >
> memblock_start_of_DRAM() + linear_region_size).
>
> That means even linear mapping range check fail for initrd_start and
> initrd_end, it still can get virtual address. Here we put
> initrd_start/initrd_end to be calculated only when linear mapping check
> pass.
>
> Fixes: c756c592e442 ("arm64: Utilize phys_initrd_start/phys_initrd_size")
> Reviewed-by: Steven Price <steven.price@....com>
> Signed-off-by: pierre Kuo <vichy.kuo@...il.com>
> ---
> Changes in v2:
> - add Fixes tag
>
Would you mind to give some comment and suggestion for this v2 patch?
If there is anything that are not noticed, please let me know.
Sincerely appreciate ur kind help.
Powered by blists - more mailing lists