[PATCH 0/3] MCE robustness fixes and LKDTM powerpc enhancements

Sayali Patil posted 3 patches 1 month, 1 week ago
arch/powerpc/kernel/time.c              |  2 --
drivers/misc/lkdtm/Makefile             |  2 +-
drivers/misc/lkdtm/powerpc.c            | 44 +++++++++++++++++++++++++
tools/testing/selftests/lkdtm/tests.txt |  1 +
4 files changed, 46 insertions(+), 3 deletions(-)
[PATCH 0/3] MCE robustness fixes and LKDTM powerpc enhancements
Posted by Sayali Patil 1 month, 1 week ago
Hi all,

This series fixes a panic observed while handling machine check exceptions
(MCEs) from real mode. It also improves the reliability of the
PPC_SLB_MULTIHIT test by adding isync instructions after slbmte operations,
and introduces a new LKDTM trigger (PPC_RADIX_TLBIEL) to validate MCE
behavior on radix MMU.

Please review the patches and provide any feedback or suggestions
for improvement.

Thanks,
Sayali

Sayali Patil (3):
  powerpc/time: remove preempt_disable/enable from arch_irq_work_raise()
  lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering
  lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation

 arch/powerpc/kernel/time.c              |  2 --
 drivers/misc/lkdtm/Makefile             |  2 +-
 drivers/misc/lkdtm/powerpc.c            | 44 +++++++++++++++++++++++++
 tools/testing/selftests/lkdtm/tests.txt |  1 +
 4 files changed, 46 insertions(+), 3 deletions(-)

-- 
2.52.0
Re: [PATCH 0/3] MCE robustness fixes and LKDTM powerpc enhancements
Posted by Sayali Patil 1 month ago

On 06/05/26 14:36, Sayali Patil wrote:
> Hi all,
> 
> This series fixes a panic observed while handling machine check exceptions
> (MCEs) from real mode. It also improves the reliability of the
> PPC_SLB_MULTIHIT test by adding isync instructions after slbmte operations,
> and introduces a new LKDTM trigger (PPC_RADIX_TLBIEL) to validate MCE
> behavior on radix MMU.
> 
> Please review the patches and provide any feedback or suggestions
> for improvement.
> 
> Thanks,
> Sayali
> 
> Sayali Patil (3):
>    powerpc/time: remove preempt_disable/enable from arch_irq_work_raise()
>    lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering
>    lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation
> 
>   arch/powerpc/kernel/time.c              |  2 --
>   drivers/misc/lkdtm/Makefile             |  2 +-
>   drivers/misc/lkdtm/powerpc.c            | 44 +++++++++++++++++++++++++
>   tools/testing/selftests/lkdtm/tests.txt |  1 +
>   4 files changed, 46 insertions(+), 3 deletions(-)
> 


Sashiko has provided some comments 
(https://sashiko.dev/#/patchset/cover.1778057685.git.sayalip%40linux.ibm.com), 
so I am planning to split this into two patch series. I will send v2 
part 1 today with the proposed change for "powerpc/time: Remove 
preempt_disable/enable from arch_irq_work_raise()", and v2 part 2 with 
the remaining two patches later.

Thanks for the review, Ritesh and Shrikanth.

Regards,
Sayali