selftests/powerpc: Skip 4PB test on 4K PAGE_SIZE systems
Michael Ellerman
reviewerPATCH 1/1 selftests/powerpc: Skip 4PB test on 4K PAGE_SIZE systems
Systems using the hash MMU with a 4K page size don't support 4PB address space, so skip the test because the bug it tests for can't be triggered.
Signed-off-by Michael Ellerman <[email protected]>
--- tools/testing/selftests/powerpc/mm/large_vm_gpr_corruption.c | 2 ++ 1 file changed, 2 insertions(+)
tools/testing/selftests/powerpc/mm/large_vm_gpr_corruption.c +2 -0
@@ -112,6 +112,8 @@ static int test(void)// This tests a hash MMU specific bug. FAIL_IF (using_hash_mmu (&hash_mmu));SKIP_IF (!hash_mmu); +// 4K kernels don't support 4PB address space +SKIP_IF (sysconf (_SC_PAGESIZE) <65536 ); page_size =sysconf (_SC_PAGESIZE);
Signature · 1 line
2.37.2
Michael Ellerman
AppliedQuoted 4 lines · Michael Ellerman
Systems using the hash MMU with a 4K page size don't support 4PB address space, so skip the test because the bug it tests for can't be triggered.
Applied to powerpc/next.
[1/1] selftests/powerpc: Skip 4PB test on 4K PAGE_SIZE systems
https://git.kernel.org/powerpc/c/501fe299826ead2cfa2046b5c244e36de254ec6a
cheers