linux/tools/testing/selftests/lkdtm
Sayali Patil 122b52f0ba lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation
Add a new LKDTM trigger (PPC_RADIX_TLBIEL) that executes a process-scoped
radix TLBIEL instruction to exercise the radix MMU behaviour and
associated machine check exception (MCE) handling paths.

This provides a way to validate MCE handling in radix mode. Currently,
there is no dedicated LKDTM test that exercises this path or allows
triggering radix-specific machine check behaviour for validation.

The test is only enabled on ppc64 systems with radix MMU
support and If radix is not active, the trigger is skipped and reported as
XFAIL.

Co-developed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Sayali Patil <sayalip@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Michael Ellerman <mpe@kernel.org>
Link: https://patch.msgid.link/85c9b59217bcecb3c7af52e9d5b175266771d7de.1778975974.git.sayalip@linux.ibm.com
Signed-off-by: Kees Cook <kees@kernel.org>
2026-05-21 03:21:01 -07:00
..
.gitignore lkdtm: Add REPORT_STACK for checking stack offsets 2021-04-08 14:05:20 +02:00
config stackleak: Rename STACKLEAK to KSTACK_ERASE 2025-07-21 21:35:01 -07:00
Makefile lkdtm: Add REPORT_STACK for checking stack offsets 2021-04-08 14:05:20 +02:00
run.sh selftests/lkdtm: Add way to repeat a test 2021-10-25 09:13:46 +02:00
stack-entropy.sh selftest/lkdtm: Skip stack-entropy test if lkdtm is not available 2021-12-16 15:54:38 -08:00
tests.txt lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation 2026-05-21 03:21:01 -07:00