The patch titled Subject: selftests/vm: fix building protection keys test has been added to the -mm tree. Its filename is selftests-vm-fix-building-protection-keys-test.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/selftests-vm-fix-building-protection-keys-test.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/selftests-vm-fix-building-protection-keys-test.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Harish <harish@xxxxxxxxxxxxx> Subject: selftests/vm: fix building protection keys test The previous patch tries to include a arch check for powerpc using findstring, which prevents test from building on powerpc arch. Fix this with filtering using machine type. Link: https://lkml.kernel.org/r/20201214163951.141399-1-harish@xxxxxxxxxxxxx Signed-off-by: Harish <harish@xxxxxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Cc: Sandipan Das <sandipan@xxxxxxxxxxxxx> Cc: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Brian Geffon <bgeffon@xxxxxxxxxx> Cc: Mina Almasry <almasrymina@xxxxxxxxxx> Cc: Xingxing Su <suxingxing@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/vm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/vm/Makefile~selftests-vm-fix-building-protection-keys-test +++ a/tools/testing/selftests/vm/Makefile @@ -64,7 +64,7 @@ TEST_GEN_FILES += $(BINARIES_64) endif else -ifneq (,$(findstring $(ARCH),powerpc)) +ifneq (,$(filter $(MACHINE),ppc64 ppc64le)) TEST_GEN_FILES += protection_keys endif _ Patches currently in -mm which might be from harish@xxxxxxxxxxxxx are selftests-vm-fix-building-protection-keys-test.patch