Re: [PATCH] selftests/powerpc: Skip the subpage_prot tests if the syscall is disabled

2018-02-25 Thread Aneesh Kumar K.V
Michael Ellerman writes: > The subpage_prot syscall is only functional when the system is using > the Hash MMU. Since commit 5b2b80714796 ("powerpc/mm: Invalidate > subpage_prot() system call on radix platforms") it returns ENOENT when > the Radix MMU is active. Currently this just makes the test

[PATCH] selftests/powerpc: Skip the subpage_prot tests if the syscall is disabled

2018-02-25 Thread Michael Ellerman
The subpage_prot syscall is only functional when the system is using the Hash MMU. Since commit 5b2b80714796 ("powerpc/mm: Invalidate subpage_prot() system call on radix platforms") it returns ENOENT when the Radix MMU is active. Currently this just makes the test fail. Instead check explicitly fo