From: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
To: Sayali Patil <sayalip@linux.ibm.com>,
linuxppc-dev@lists.ozlabs.org, maddy@linux.ibm.com
Cc: linux-kernel@vger.kernel.org, Mahesh Salgaonkar <mahesh@linux.ibm.com>
Subject: Re: [PATCH v2 2/2] lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation
Date: Tue, 19 May 2026 08:19:13 +0530 [thread overview]
Message-ID: <lddgqfkm.ritesh.list@gmail.com> (raw)
In-Reply-To: <85c9b59217bcecb3c7af52e9d5b175266771d7de.1778975974.git.sayalip@linux.ibm.com>
Sayali Patil <sayalip@linux.ibm.com> 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) <ritesh.list@gmail.com>
next prev parent reply other threads:[~2026-05-20 5:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 6:56 [PATCH v2 0/2] LKDTM powerpc enhancements - Part2 Sayali Patil
2026-05-18 6:56 ` [PATCH v2 1/2] lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering Sayali Patil
2026-05-19 2:24 ` Ritesh Harjani
2026-05-18 6:56 ` [PATCH v2 2/2] lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation Sayali Patil
2026-05-19 2:49 ` Ritesh Harjani [this message]
2026-05-18 11:58 ` [PATCH v2 0/2] LKDTM powerpc enhancements - Part2 Michael Ellerman
2026-05-20 6:29 ` Sayali Patil
2026-05-21 10:21 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lddgqfkm.ritesh.list@gmail.com \
--to=ritesh.list@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mahesh@linux.ibm.com \
--cc=sayalip@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox