RE: [PATCH 0/4] ras-tools: hardware validation for arm64 MC-safe memory error recovery
From: Luck, Tony
Date: Wed Jun 17 2026 - 13:09:02 EST
Ruidong,
Thanks for sending this series. It looks like a very useful addition to test
cases for ras-tools.
> This series adds tooling to ras-tools for end-to-end validation of the
> arm64 "MC-safe" memory error recovery work on real hardware.
>
> Recent arm64 patches teach the kernel to survive an uncorrectable
> (poison) memory error consumed during a kernel copy, instead of taking
> the whole machine down. Two broad families of copy paths are covered:
>
> - kernel-side page copies (copy_mc_highpage / copy_mc_user_highpage /
> folio_mc_copy) used by COW, khugepaged, page migration and hugetlb;
> - user-access copies (copy_from_user / copyin) driven by syscalls.
Does x86 also handle all those cases?
> This series adds validation test cases and observability tooling for these
> recovery scenarios.
I didn't look closely at how this series works, but I did notice it provides
code to disassemble binary code ... is that the ARM specific part of this
series? What would need to be changed to support x86 too?
Please add a patch to update the README file with step by step
instructions or examples of using this new capability.
-Tony