summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc-xml-ref
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-02-26 15:22:22 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-30 07:49:03 +0200
commitde9ddf814097c338ad212997d1fec39420eb7708 (patch)
tree92b9b51cf2deb3b59cc6b47c4a2acc4842bd0712 /scripts/kernel-doc-xml-ref
parent8ee1d4d281c8ab2dee7855a45ef2b9380be13e82 (diff)
selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable
[ Upstream commit cd4a6f3ab4d80cb919d15897eb3cbc85c2009d4b ] 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. Additionally the syscall is not available if the kernel is built with 4K pages, or if CONFIG_PPC_SUBPAGE_PROT=n, in which case it returns ENOSYS because the syscall is missing entirely. So check explicitly for ENOENT and ENOSYS and skip if we see either of those. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/kernel-doc-xml-ref')
0 files changed, 0 insertions, 0 deletions