Subject: Re: [PATCH v2 2/2] lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation

From: Ritesh Harjani (IBM) <[email-masked]>
Date: Tue, 19 May 2026 08:19:13 +0530

Sayali Patil <[email-masked]> writes:

> 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.
>

yes, ISA states that RIC=2 and IS=0 is an invalid form of tlbiel causing
machine check.

It's good to have this test case which can test MCE handling while in
radix mmu mode for an invalid TLBIE[L] encoding.

Looks good to me. Feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <[email-masked]>