Re: [PATCH] arm64: use memblocks_present

2019-02-11 Thread Logan Gunthorpe
On 2019-02-10 2:28 a.m., 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. I've already sent patches for this[1]. The arm64 one was already queued up by Catalin. Tha

RE: [PATCH] arm64: use memblocks_present

2019-02-11 Thread Peng Fan
...@arm.com; james.mo...@arm.com; ghackm...@android.com; > ste...@agner.ch; han...@cmpxchg.org; log...@deltatee.com; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > van.free...@gmail.com > Subject: Re: [PATCH] arm64: use memblocks_present > > On Sun, Feb 10, 2

Re: [PATCH] arm64: use memblocks_present

2019-02-11 Thread Catalin Marinas
On Sun, Feb 10, 2019 at 09:28:43AM +, 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 I already merged a similar one (see commit a2c8

Re: [PATCH] arm64: use memblocks_present

2019-02-11 Thread Will Deacon
On Sun, Feb 10, 2019 at 09:28:43AM +, 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 > --- > arch/arm64/mm/init.c | 20 +

Re: [PATCH] arm64: use memblocks_present

2019-02-10 Thread Mike Rapoport
On Sun, Feb 10, 2019 at 09:28:43AM +, 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 Acked-by: Mike Rapoport > --- > arch/arm64/m

[PATCH] arm64: use memblocks_present

2019-02-10 Thread Peng Fan
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 --- arch/arm64/mm/init.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/a