From: Vladimir Murzin <vladimir.murzin@arm.com> 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 Subject: [RFC PATCH 4/4] arm: add support for memtest Date: Mon, 2 Mar 2015 14:55:45 +0000 [thread overview] Message-ID: <1425308145-20769-5-git-send-email-vladimir.murzin@arm.com> (raw) In-Reply-To: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> Add support for memtest command line option. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> --- arch/arm/mm/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 1609b02..3d0e9ae 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -335,6 +335,9 @@ void __init bootmem_init(void) find_limits(&min, &max_low, &max_high); + early_memtest((phys_addr_t)min << PAGE_SHIFT, + (phys_addr_t)max_low << PAGE_SHIFT); + /* * Sparsemem tries to allocate bootmem in memory_present(), * so must be done after the fixed reservations -- 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Vladimir Murzin <vladimir.murzin@arm.com> 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 Subject: [RFC PATCH 4/4] arm: add support for memtest Date: Mon, 2 Mar 2015 14:55:45 +0000 [thread overview] Message-ID: <1425308145-20769-5-git-send-email-vladimir.murzin@arm.com> (raw) Message-ID: <20150302145545.LP_HbJ3m9lE9qPzf06rrHxrnJAoBqgU_MRSfJp0q4S8@z> (raw) In-Reply-To: <1425308145-20769-1-git-send-email-vladimir.murzin@arm.com> Add support for memtest command line option. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> --- arch/arm/mm/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 1609b02..3d0e9ae 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -335,6 +335,9 @@ void __init bootmem_init(void) find_limits(&min, &max_low, &max_high); + early_memtest((phys_addr_t)min << PAGE_SHIFT, + (phys_addr_t)max_low << PAGE_SHIFT); + /* * Sparsemem tries to allocate bootmem in memory_present(), * so must be done after the fixed reservations -- 1.7.9.5
next prev parent reply other threads:[~2015-03-02 14:55 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-02 14:55 [RFC PATCH 0/4] make memtest a generic kernel feature Vladimir Murzin 2015-03-02 14:55 ` [RFC PATCH 1/4] mm: move memtest under /mm Vladimir Murzin 2015-03-02 14:55 ` Vladimir Murzin 2015-03-03 1:52 ` Randy Dunlap 2015-03-03 9:22 ` Vladimir Murzin 2015-03-03 17:46 ` Randy Dunlap 2015-03-03 17:46 ` Randy Dunlap 2015-03-02 14:55 ` [RFC PATCH 2/4] memtest: use phys_addr_t for physical addresses Vladimir Murzin 2015-03-02 14:55 ` Vladimir Murzin 2015-03-02 14:55 ` [RFC PATCH 3/4] arm64: add support for memtest Vladimir Murzin 2015-03-02 14:55 ` Vladimir Murzin 2015-03-02 18:56 ` Will Deacon 2015-03-03 9:26 ` Vladimir Murzin 2015-03-03 9:26 ` Vladimir Murzin 2015-03-03 14:14 ` Catalin Marinas 2015-03-02 14:55 ` Vladimir Murzin [this message] 2015-03-02 14:55 ` [RFC PATCH 4/4] arm: " Vladimir Murzin 2015-03-02 15:14 ` [RFC PATCH 0/4] make memtest a generic kernel feature Baruch Siach 2015-03-03 9:28 ` Vladimir Murzin 2015-03-03 16:37 ` Mark Rutland 2015-03-03 16:37 ` Mark Rutland
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1425308145-20769-5-git-send-email-vladimir.murzin@arm.com \ --to=vladimir.murzin@arm.com \ --cc=akpm@linux-foundation.org \ --cc=ard.biesheuvel@linaro.org \ --cc=arnd@arndb.de \ --cc=catalin.marinas@arm.com \ --cc=hpa@zytor.com \ --cc=lauraa@codeaurora.org \ --cc=linux-arch@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=linux@arm.linux.org.uk \ --cc=mark.rutland@arm.com \ --cc=mingo@redhat.com \ --cc=tglx@linutronix.de \ --cc=will.deacon@arm.com \ --cc=x86@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).