From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Murzin Subject: Re: [RFC PATCH 3/4] arm64: add support for memtest Date: Tue, 03 Mar 2015 09:26:58 +0000 Message-ID: <54F57E62.6050206@arm.com> References: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> <1425308145-20769-4-git-send-email-vladimir.murzin@arm.com> <20150302185607.GG7919@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20150302185607.GG7919@arm.com> Sender: owner-linux-mm@kvack.org To: Will Deacon Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "linux-arch@vger.kernel.org" , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "akpm@linux-foundation.org" , "lauraa@codeaurora.org" , Catalin Marinas , "linux@arm.linux.org.uk" , "arnd@arndb.de" , Mark Rutland , "ard.biesheuvel@linaro.org" List-Id: linux-arch.vger.kernel.org On 02/03/15 18:56, Will Deacon wrote: > On Mon, Mar 02, 2015 at 02:55:44PM +0000, Vladimir Murzin wrote: >> Add support for memtest command line option. >> >> Signed-off-by: Vladimir Murzin >> --- >> arch/arm64/mm/init.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c >> index ae85da6..597831b 100644 >> --- a/arch/arm64/mm/init.c >> +++ b/arch/arm64/mm/init.c >> @@ -190,6 +190,8 @@ void __init bootmem_init(void) >> =09min =3D PFN_UP(memblock_start_of_DRAM()); >> =09max =3D PFN_DOWN(memblock_end_of_DRAM()); >> =20 >> +=09early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); >> + >> =09/* >> =09 * Sparsemem tries to allocate bootmem in memory_present(), so must = be >> =09 * done after the fixed reservations. >=20 > This is really neat, thanks for doing this Vladimir! >=20 > Acked-by: Will Deacon >=20 > For the series, modulo Baruch's comments about Documentation updates. >=20 > Will >=20 Thanks Will! I'll wait for awhile for other comments and repost updated version. I wonder which tree it might go? Thanks Vladimir > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org >=20 >=20 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from service87.mimecast.com ([91.220.42.44]:34986 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbbCCJ1E convert rfc822-to-8bit (ORCPT ); Tue, 3 Mar 2015 04:27:04 -0500 Message-ID: <54F57E62.6050206@arm.com> Date: Tue, 03 Mar 2015 09:26:58 +0000 From: Vladimir Murzin MIME-Version: 1.0 Subject: Re: [RFC PATCH 3/4] arm64: add support for memtest References: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> <1425308145-20769-4-git-send-email-vladimir.murzin@arm.com> <20150302185607.GG7919@arm.com> In-Reply-To: <20150302185607.GG7919@arm.com> Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-arch-owner@vger.kernel.org List-ID: To: Will Deacon Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "linux-arch@vger.kernel.org" , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "akpm@linux-foundation.org" , "lauraa@codeaurora.org" , Catalin Marinas , "linux@arm.linux.org.uk" , "arnd@arndb.de" , Mark Rutland , "ard.biesheuvel@linaro.org" Message-ID: <20150303092658.bP6jRQe2i-hkUbQ0zhnXVKT6ZuR0AVOzp_ut1cIs4IU@z> On 02/03/15 18:56, Will Deacon wrote: > On Mon, Mar 02, 2015 at 02:55:44PM +0000, Vladimir Murzin wrote: >> Add support for memtest command line option. >> >> Signed-off-by: Vladimir Murzin >> --- >> arch/arm64/mm/init.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c >> index ae85da6..597831b 100644 >> --- a/arch/arm64/mm/init.c >> +++ b/arch/arm64/mm/init.c >> @@ -190,6 +190,8 @@ void __init bootmem_init(void) >> min = PFN_UP(memblock_start_of_DRAM()); >> max = PFN_DOWN(memblock_end_of_DRAM()); >> >> + early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); >> + >> /* >> * Sparsemem tries to allocate bootmem in memory_present(), so must be >> * done after the fixed reservations. > > This is really neat, thanks for doing this Vladimir! > > Acked-by: Will Deacon > > For the series, modulo Baruch's comments about Documentation updates. > > Will > Thanks Will! I'll wait for awhile for other comments and repost updated version. I wonder which tree it might go? Thanks Vladimir > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org > >