e820 is very x86 specific - i think the proper interface would be to
move the memtest feature to the bootmem subsystem. I.e. to run it once
all the early reservations have been flushed into bootmem - but before
we free all bootmem pages into the page allocator.
this still leaves a rather large amount of RAM to be tested, and keeps
it all cross-arch as well. Hm?
Ingo
--