diff options
Diffstat (limited to 'commands/memtest.c')
-rw-r--r-- | commands/memtest.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c index db9e3dbb01..ccccc9c19e 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -41,7 +41,14 @@ static int __do_memtest(struct list_head *memtest_regions, remap_range((void *)r->r->start, r->r->end - r->r->start + 1, cache_flag); - ret = mem_test(r->r->start, r->r->end, bus_only); + ret = mem_test_bus_integrity(r->r->start, r->r->end); + if (ret < 0) + return ret; + + if (bus_only) + continue; + + ret = mem_test_moving_inversions(r->r->start, r->r->end); if (ret < 0) return ret; printf("done.\n\n"); |