diff options
| author | Matt Turner <mattst88@gmail.com> | 2026-09-05 15:29:37 -0400 |
|---|---|---|
| committer | Magnus Lindholm <linmag7@gmail.com> | 2026-10-18 00:44:42 +0200 |
| commit | 4630bd788534290a7cbab26902fad7fe2d100ad8 (patch) | |
| tree | c64340bc0fad6a12f69d943ba0b3dd6c889b73f1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4f0a9027b9fd7da2704ee863d8c7dc743cdeaf68 (diff) | |
| download | linux-4630bd788534290a7cbab26902fad7fe2d100ad8.tar.gz linux-4630bd788534290a7cbab26902fad7fe2d100ad8.zip | |
alpha: select ARCH_USE_MEMTEST
Wire up the generic early memtest from arch_mm_preinit(), which runs
after parse_early_param() has picked up the memtest= command line option
and before memblock_free_all() hands the memory to the buddy allocator.
paging_init() would be the natural place, but Alpha calls it from
setup_arch(), before the option is parsed, so the test would never run.
The test range starts at the first DRAM address rather than physical zero
because low memory on Alpha is owned by the console and PALcode.
Tested under QEMU with memtest=4: all four patterns pass over the free
memblock ranges, with no bad memory reserved.
Also add ALPHA to the memtest= parameter's architecture list.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Matt Turner <mattst88@gmail.com>
Tested-by: Magnus Lindholm <linmag7@gmail.com>
Reviewed-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://lore.kernel.org/r/20260905-arch-kconfig-options-v2-v2-16-83e8245761a2@gmail.com
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
