Skip to content

LKDTM powerpc enhancements - Part2

Sayali Patil linuxppc-dev lkml 1 version Applied

Status from this message: Applied to for-next/hardening, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesApplied

Changes in v2 from the cover letter

- Split the patch series into two parts.
- Updated "lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation" as per review comments:
Wrapped Hash-MMU specific functions with #ifdef CONFIG_PPC_64S_HASH_MMU. Guarded powerpc_crashtypes registration with #ifdef CONFIG_PPC_BOOK3S_64 Updated comment explaining the MCE trigger condition for radix MMU.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2lkdtm/powerpc: add isync after slbmte to enforce SLB update orderingdrivers/misc/lkdtm/powerpc.c+5 -01 reply
2/2lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validationdrivers/misc/lkdtm/Makefile drivers/misc/lkdtm/core.c drivers/misc/lkdtm/powerpc.c +1 more+47 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael EllermanRitesh Harjani (IBM)
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] LKDTM powerpc enhancements - Part2

Hi all,

This series adds a new LKDTM trigger PPC_RADIX_TLBIEL, to validate machine check handling on radix MMU systems and improves reliability of the PPC_SLB_MULTIHIT test by adding isync instructions after slbmte operations.

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

Thanks,
Sayali

---

v1->v2
- Split the patch series into two parts.
- Updated "lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation" as per review comments:
Wrapped Hash-MMU specific functions with #ifdef CONFIG_PPC_64S_HASH_MMU. Guarded powerpc_crashtypes registration with #ifdef CONFIG_PPC_BOOK3S_64 Updated comment explaining the MCE trigger condition for radix MMU.

v1: https://lore.kernel.org/all/[email protected]/
---

Sayali Patil (2):
lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation

 drivers/misc/lkdtm/Makefile             |  2 +-
 drivers/misc/lkdtm/core.c               |  2 +-
 drivers/misc/lkdtm/powerpc.c            | 49 +++++++++++++++++++++++++
 tools/testing/selftests/lkdtm/tests.txt |  1 +
 4 files changed, 52 insertions(+), 2 deletions(-)
Signature · 1 line
2.52.0