lkdtm/powerpc: Add SLB multihit test
authorGanesh Goudar <ganeshgr@linux.ibm.com>
Mon, 30 Nov 2020 08:30:57 +0000 (14:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:34 +0000 (01:01 +1100)
commit3ba150fb21207e4a7f4b600eb2dbbe83f94571fe
treed0cdb16eb2be1dc27ef6f470005f1133e872c512
parent6c58b1b41b19c00099e4771ee55e21eb9aa245c1
lkdtm/powerpc: Add SLB multihit test

To check machine check handling, add support to inject slb
multihit errors.

Co-developed-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
[mpe: Use CONFIG_PPC_BOOK3S_64 to fix compile errors reported by lkp@intel.com]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201130083057.135610-1-ganeshgr@linux.ibm.com
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/mm/book3s64/slb.c
drivers/misc/lkdtm/Makefile
drivers/misc/lkdtm/core.c
drivers/misc/lkdtm/lkdtm.h
drivers/misc/lkdtm/powerpc.c [new file with mode: 0644]
tools/testing/selftests/lkdtm/tests.txt