From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f51.google.com (mail-qg0-f51.google.com [209.85.192.51]) by kanga.kvack.org (Postfix) with ESMTP id 82F516B0072 for ; Mon, 2 Mar 2015 09:56:01 -0500 (EST) Received: by mail-qg0-f51.google.com with SMTP id e89so11171094qgf.10 for ; Mon, 02 Mar 2015 06:56:01 -0800 (PST) Received: from service87.mimecast.com (service87.mimecast.com. [91.220.42.44]) by mx.google.com with ESMTP id 128si11862450qhs.5.2015.03.02.06.55.57 for ; Mon, 02 Mar 2015 06:55:58 -0800 (PST) From: Vladimir Murzin Subject: [RFC PATCH 3/4] arm64: add support for memtest Date: Mon, 2 Mar 2015 14:55:44 +0000 Message-Id: <1425308145-20769-4-git-send-email-vladimir.murzin@arm.com> In-Reply-To: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> References: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, akpm@linux-foundation.org, lauraa@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, linux@arm.linux.org.uk, arnd@arndb.de, mark.rutland@arm.com, ard.biesheuvel@linaro.org 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 1.7.9.5 -- 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