RE: [PATCH] arm64: use memblocks_present

From: Peng Fan
Date: Mon Feb 11 2019 - 07:27:54 EST




> -----Original Message-----
> From: Catalin Marinas [mailto:catalin.marinas@xxxxxxx]
> Sent: 2019å2æ11æ 20:21
> To: Peng Fan <peng.fan@xxxxxxx>
> Cc: will.deacon@xxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx;
> rppt@xxxxxxxxxxxxxxxxxx; ard.biesheuvel@xxxxxxxxxx; f.fainelli@xxxxxxxxx;
> robin.murphy@xxxxxxx; james.morse@xxxxxxx; ghackmann@xxxxxxxxxxx;
> stefan@xxxxxxxx; hannes@xxxxxxxxxxx; logang@xxxxxxxxxxxx;
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> van.freenix@xxxxxxxxx
> Subject: Re: [PATCH] arm64: use memblocks_present
>
> On Sun, Feb 10, 2019 at 09:28:43AM +0000, Peng Fan wrote:
> > arm64_memory_present is doing same thing as memblocks_present, so
> > let's use common code memblocks_present instead of platform specific
> > arm64_memory_present.
> >
> > Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
>
> I already merged a similar one (see commit
> a2c801c53d1682871fba1e037c9d3b0c9fffee8a in -next).

I should check your tree first before sending patches.

The arm32 code could also use similar logic, need check arm tree :)

Thanks,
Peng.

>
> --
> Catalin