[edk2-devel] [edk2-platforms][PATCH 0/6] Platform/ARM/Sgi: Add DMC620 1-bit ECC error handling

Omkar Anand Kulkarni posted 6 patches 3 years, 6 months ago
Failed in applying to current master (apply log)
Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.dec    |  28 ++
Platform/ARM/SgiPkg/SgiPlatform.dec           |   3 +
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  34 ++
Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc  |  25 ++
Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc         |   7 +
Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf  |   6 +
Platform/ARM/SgiPkg/SgiPlatform.fdf           |  12 +
Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.inf    |  59 +++
.../Drivers/PlatformDxe/PlatformDxe.inf       |   3 +
.../{PlatformDxe.inf => PlatformDxeMm.inf}    |  11 +-
.../Library/PlatformLib/PlatformLib.inf       |   5 +
Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.h      | 209 ++++++++++
Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.c      | 379 ++++++++++++++++++
.../Dmc620Mm/Dmc620MmErrorSourceInfo.c        | 191 +++++++++
.../SgiPkg/Drivers/PlatformDxe/PlatformDxe.c  | 131 ++++++
.../Library/PlatformLib/PlatformLibMem.c      |  11 +-
16 files changed, 1111 insertions(+), 3 deletions(-)
create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.dec
create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.inf
copy Platform/ARM/SgiPkg/Drivers/PlatformDxe/{PlatformDxe.inf => PlatformDxeMm.inf} (74%)
create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.h
create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.c
create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620MmErrorSourceInfo.c
[edk2-devel] [edk2-platforms][PATCH 0/6] Platform/ARM/Sgi: Add DMC620 1-bit ECC error handling
Posted by Omkar Anand Kulkarni 3 years, 6 months ago
This patchset adds support for DMC-620 memory controller's 1-bit DRAM
ECC error reporting and handling.

The first patch implements the handling of the DMC's DRAM errors. The
driver installs a handle that implements the Get HEST rrror source
descriptors protocol. At boot time the handle gets queried and DMC's
error source information is collected from the driver. The driver
supports 1-bit ECC DRAM RAS errors for multiple DMC instances. At
runtime, on RAS interrupt the DRAM handler reads the corresponding
error record syndrome registers and builds Error Status Block which
the OS uses to take appropriate actions.

The rest of the patches in the series enable support HEST and SDEI
table generation and enables firmware-first handling of DMC-620
memory controller's 1-bit DRAM ECC error.

Omkar Anand Kulkarni (6):
  Platform/ARM: Add DMC-620 RAS error handling driver
  Platform/ARM/Sgi: Install SDEI ACPI table
  Platform/Arm/Sgi: Install HEST ACPI table
  Platform/Arm/Sgi: define memory region for GHES error status block
  Platform/Arm/Sgi: dmc-620 firmware-first error handling
  Platform/Arm/Sgi575: Define values for ACPI table header

 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.dec    |  28 ++
 Platform/ARM/SgiPkg/SgiPlatform.dec           |   3 +
 Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  34 ++
 Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc  |  25 ++
 Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc         |   7 +
 Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf  |   6 +
 Platform/ARM/SgiPkg/SgiPlatform.fdf           |  12 +
 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.inf    |  59 +++
 .../Drivers/PlatformDxe/PlatformDxe.inf       |   3 +
 .../{PlatformDxe.inf => PlatformDxeMm.inf}    |  11 +-
 .../Library/PlatformLib/PlatformLib.inf       |   5 +
 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.h      | 209 ++++++++++
 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.c      | 379 ++++++++++++++++++
 .../Dmc620Mm/Dmc620MmErrorSourceInfo.c        | 191 +++++++++
 .../SgiPkg/Drivers/PlatformDxe/PlatformDxe.c  | 131 ++++++
 .../Library/PlatformLib/PlatformLibMem.c      |  11 +-
 16 files changed, 1111 insertions(+), 3 deletions(-)
 create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.dec
 create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.inf
 copy Platform/ARM/SgiPkg/Drivers/PlatformDxe/{PlatformDxe.inf => PlatformDxeMm.inf} (74%)
 create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.h
 create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620Mm.c
 create mode 100644 Platform/ARM/Drivers/Dmc620Mm/Dmc620MmErrorSourceInfo.c

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66826): https://edk2.groups.io/g/devel/message/66826
Mute This Topic: https://groups.io/mt/77913844/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-