Commit 36dd9086 authored by Vladimir Murzin's avatar Vladimir Murzin Committed by Linus Torvalds

arm64: add support for memtest

Add support for memtest command line option.
Signed-off-by: default avatarVladimir Murzin <>
Acked-by: default avatarWill Deacon <>
Tested-by: default avatarMark Rutland <>
Cc: Catalin Marinas <>
Cc: Russell King <>
Cc: "H. Peter Anvin" <>
Cc: Ingo Molnar <>
Cc: Thomas Gleixner <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 7f70baee
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment