[PATCH 0/3] Add bad pmem bad blocks to bad range

Santosh Sivaraj santosh at fossix.org
Tue Aug 20 12:35:12 AEST 2019


Santosh Sivaraj <santosh at fossix.org> writes:

> This series, which should be based on top of the still un-merged
> "powerpc: implement machine check safe memcpy" series, adds support
> to add the bad blocks which generated an MCE to the NVDIMM bad blocks.
> The next access of the same memory will be blocked by the NVDIMM layer
> itself.

This is the v2 series. Missed to add in the subject.

>
> ---
> Santosh Sivaraj (3):
>   powerpc/mce: Add MCE notification chain
>   of_pmem: Add memory ranges which took a mce to bad range
>   papr/scm: Add bad memory ranges to nvdimm bad ranges
>
>  arch/powerpc/include/asm/mce.h            |   3 +
>  arch/powerpc/kernel/mce.c                 |  15 +++
>  arch/powerpc/platforms/pseries/papr_scm.c |  86 +++++++++++-
>  drivers/nvdimm/of_pmem.c                  | 151 +++++++++++++++++++---
>  4 files changed, 234 insertions(+), 21 deletions(-)
>
> -- 
> 2.21.0


More information about the Linuxppc-dev mailing list