Skip to content

Commit d30eae4

Browse files
murzinvtorvalds
authored andcommitted
arm: add support for memtest
Add support for memtest command line option. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 36dd908 commit d30eae4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎arch/arm/mm/init.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,9 @@ void __init bootmem_init(void)
335335

336336
find_limits(&min, &max_low, &max_high);
337337

338+
early_memtest((phys_addr_t)min << PAGE_SHIFT,
339+
(phys_addr_t)max_low << PAGE_SHIFT);
340+
338341
/*
339342
* Sparsemem tries to allocate bootmem in memory_present(),
340343
* so must be done after the fixed reservations

0 commit comments

Comments
 (0)