public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH 0/6] Platform/ARM/Sgi: Add DMC620 1-bit ECC error handling
@ 2020-10-30  8:41 Omkar Anand Kulkarni
  2020-10-30  8:41 ` [edk2-platforms][PATCH 1/6] Platform/ARM: Add DMC-620 RAS error handling driver Omkar Anand Kulkarni
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Omkar Anand Kulkarni @ 2020-10-30  8:41 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Sami Mujawar, Jiewen Yao

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-30  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-30  8:41 [edk2-platforms][PATCH 0/6] Platform/ARM/Sgi: Add DMC620 1-bit ECC error handling Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 1/6] Platform/ARM: Add DMC-620 RAS error handling driver Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 2/6] Platform/ARM/Sgi: Install SDEI ACPI table Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 3/6] Platform/Arm/Sgi: Install HEST " Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 4/6] Platform/Arm/Sgi: define memory region for GHES error status block Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 5/6] Platform/Arm/Sgi: dmc-620 firmware-first error handling Omkar Anand Kulkarni
2020-10-30  8:41 ` [edk2-platforms][PATCH 6/6] Platform/Arm/Sgi575: Define values for ACPI table header Omkar Anand Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox