Skip to content

Persist FRU memory poisons

Muralidhara M K linux-edac lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI/APEI: Add erst_get_size() APIdrivers/acpi/apei/erst.c include/acpi/apei.h+10 -00 replies
2/4RAS/fmp: Add FRU memory poison CPER support for Error persistenceMAINTAINERS drivers/ras/Kconfig drivers/ras/Makefile +5 more+599 -00 replies
3/4EDAC/amd64: Add sysfs entry to read FRU poison datadrivers/edac/amd64_edac.c drivers/ras/fmp/fru_mem_poison.c include/linux/fru_mem_poison.h+102 -20 replies
4/4RAS/fmp: Add Documentation on Persistence of FRU memory poisonsDocumentation/RAS/ras.rst+122 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Persist FRU memory poisons

From: Muralidhara M K <[email protected]>

This patch set is based on the patches submitted
https://lore.kernel.org/linux-edac/[email protected]/T/#t

MI300A has on-die HBMv3 memory embedded on to socket. Upon reaching threshold of memory errors socket has to be replaced. Define the criteria to identify the Field Replicable Unit(FRU) based on number of poisoned pages in the socket by persisting them in a non-volatile storage.

Notifier is registered to handle the FRU memory poisons and poison count incremented based on injected MCE errors until it reaches maximum number of fru poison entries.
Sysfs entry per FRU will ease the use to look into the poison details.

During boot, Read the ERST records for identifying the poison address and retire all system physical addresses in that HBM row.

Patch 1:
Add an API to get the maximum CPER record size to be stored in NV storage

Patch 2:
Add FRU memory poison module

Patch 3:
Add sysfs entry to print the required error information from poison records

Patch 4:
Add documentation on FRU memory poisons.

Muralidhara M K (4):
ACPI/APEI: Add erst_get_size() API
RAS/fmp: Add FRU memory poison CPER support for Error persistence EDAC/amd64: Add sysfs entry to read FRU poison data RAS/fmp: Add Documentation on Persistence of FRU memory poisons

 Documentation/RAS/ras.rst        | 122 +++++++
 MAINTAINERS                      |   8 +
 drivers/acpi/apei/erst.c         |   9 +
 drivers/edac/amd64_edac.c        |  25 ++
 drivers/ras/Kconfig              |   1 +
 drivers/ras/Makefile             |   1 +
 drivers/ras/fmp/Kconfig          |  18 +
 drivers/ras/fmp/Makefile         |  10 +
 drivers/ras/fmp/fru_mem_poison.c | 595 +++++++++++++++++++++++++++++++
 include/acpi/apei.h              |   1 +
 include/linux/cper.h             |  24 ++
 include/linux/fru_mem_poison.h   |  17 +
 12 files changed, 831 insertions(+)
 create mode 100644 drivers/ras/fmp/Kconfig
 create mode 100644 drivers/ras/fmp/Makefile
 create mode 100644 drivers/ras/fmp/fru_mem_poison.c
 create mode 100644 include/linux/fru_mem_poison.h
Signature · 1 line
2.25.1