Commit 4871a10b authored by Michael Ellerman's avatar Michael Ellerman

selftests/powerpc: Skip L3 bank test on older CPUs

This is a test of specific piece of logic in isa207-common.c, which is
only used on Power8 or later. So skip it on older CPUs.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-7-mpe@ellerman.id.au
parent 3a31518a
......@@ -20,6 +20,9 @@ static int l3_bank_test(void)
char *p;
int i;
// The L3 bank logic is only used on Power8 or later
SKIP_IF(!have_hwcap2(PPC_FEATURE2_ARCH_2_07));
p = malloc(MALLOC_SIZE);
FAIL_IF(!p);
......
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