public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Omkar Anand Kulkarni" <omkar.kulkarni@arm.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Leif Lindholm <leif@nuviainc.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	Jiewen Yao <jiewen.yao@intel.com>
Subject: [edk2-platforms][PATCH 0/6] Platform/ARM/Sgi: Add DMC620 1-bit ECC error handling
Date: Fri, 30 Oct 2020 14:11:50 +0530	[thread overview]
Message-ID: <20201030084156.8291-1-omkar.kulkarni@arm.com> (raw)

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


             reply	other threads:[~2020-10-30  8:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-30  8:41 Omkar Anand Kulkarni [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201030084156.8291-1-omkar.kulkarni@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox