Skip to content

Commit

Permalink
selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
Browse files Browse the repository at this point in the history
commit 93cad5f upstream.

Cc: stable@vger.kernel.org # v4.14
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
[mpe: Some minor fixes to make it build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190924035254.24612-4-aneesh.kumar@linux.ibm.com
[sandipan: Backported to v4.14]
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Aneesh Kumar K.V authored and Greg Kroah-Hartman committed Nov 10, 2019
1 parent ae11e9f commit 5fda11b
Showing 2 changed files with 736 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/testing/selftests/powerpc/mm/Makefile
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ noarg:
$(MAKE) -C ../

TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
TEST_GEN_PROGS_EXTENDED := tlbie_test
TEST_GEN_FILES := tempfile

include ../../lib.mk
@@ -14,3 +15,4 @@ $(OUTPUT)/prot_sao: ../utils.c
$(OUTPUT)/tempfile:
dd if=/dev/zero of=$@ bs=64k count=1

$(OUTPUT)/tlbie_test: LDLIBS += -lpthread
Loading

0 comments on commit 5fda11b

Please sign in to comment.