Skip to content

x86/edac/amd64: Add support for GPU nodes

Naveen Krishna Chatradhi linux-edac lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest12 patches 9 repliesIn review
  2. v65 patches 20 repliesSuperseded
  3. v55 patches 4 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/24 patches7 repliesSuperseded
v4 posting 1/24 patches0 repliesSuperseded
v33 patches13 repliesSuperseded
v23 patches5 repliesSuperseded
v17 patches15 repliesApplied

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12EDAC/amd64: Document heterogeneous enumerationDocumentation/driver-api/edac.rst drivers/edac/amd64_edac.h+110 -01 reply
2/12x86/amd_nb: Add support for northbridges on Aldebaranarch/x86/include/asm/amd_nb.h arch/x86/kernel/amd_nb.c include/linux/pci_ids.h+155 -41 reply
3/12EDAC/mce_amd: Extract node id from MCA_IPIDdrivers/edac/mce_amd.c+21 -22 replies
4/12EDAC/amd64: Move struct fam_type variables into amd64_pvt structuredrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+153 -2951 reply
5/12EDAC/amd64: Define dynamic family ops routinesdrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+297 -1581 reply
6/12EDAC/amd64: Add AMD heterogeneous family 19h Model 30h-3fhdrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+16 -01 reply
7/12EDAC/amd64: Enumerate Aldebaran GPU nodes by adding family opsdrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+273 -331 reply
8/12EDAC/amd64: Add Family ops to update GPU csrow and channel infodrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+60 -21 reply
9/12EDAC/amd64: Add check for when to add DRAM base and holedrivers/edac/amd64_edac.c+7 -10 replies
10/12EDAC/amd64: Save the number of block instancesdrivers/edac/amd64_edac.c+17 -00 replies
11/12EDAC/amd64: Add address translation support for DF3.5drivers/edac/amd64_edac.c+209 -70 replies
12/12EDAC/amd64: Add fixed UMC to CS mappingdrivers/edac/amd64_edac.c+30 -00 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchYazen Ghannam
1/12R-b
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 00/12] x86/edac/amd64: Add support for GPU nodes

From: Muralidhara M K <[email protected]>

On heterogeneous systems made up of AMD CPUs and GPUs, where the data fabrics of CPUs and GPUs are connected directly via custom links. UMC MCA banks on GPUs can be viewed similar to the UMCs banks on the CPUs. Hence, memory errors on GPU UMCs can be reported via edac framework.

This patchset applies on top of the following series [v4,00/24] AMD MCA Address Translation Updates
https://patchwork.kernel.org/project/linux-edac/cover/[email protected]/

Each patch was build tested individually. The entire set was tested for address translation and error counts on GPU memory.

This patchset does the following
1. edac.rst:
a. Add Documentation support for heterogeneous systems

2. amd_nb.c:
a. Add support for northbridges on Aldebaran GPU nodes b. export AMD node map details to be used by edac and mce modules

3. mce_amd module:
a. Identify the node ID where the error is and map the node id
to linux enumerated node id.

4. Modifies the amd64_edac module
a. Refactor the code, define new family op routines and use
struct amd64_pvt. Making struct fam_type obsolete.
b. Enumerate UMCs and HBMs on the GPU nodes

5. DF3.5 Address translation support
a. Support Data Fabric 3.5 Address translation
b. Fixed UMC to CS mapping for errors

Muralidhara M K (6):
EDAC/amd64: edac.rst: Add Doc support for heterogeneous systems x86/amd_nb: Add support for northbridges on Aldebaran EDAC/amd64: Move struct fam_type variables into amd64_pvt structure EDAC/amd64: Define dynamic family ops routines EDAC/amd64: Add AMD heterogeneous family 19h Model 30h-3fh EDAC/amd64: Add address translation support for DF3.5

Naveen Krishna Chatradhi (3):
EDAC/mce_amd: Extract node id from MCA_IPID EDAC/amd64: Enumerate Aldebaran GPU nodes by adding family ops EDAC/amd64: Add Family ops to update GPU csrow and channel info

Yazen Ghannam (3):
EDAC/amd64: Add check for when to add DRAM base and hole EDAC/amd64: Save the number of block instances EDAC/amd64: Add fixed UMC to CS mapping

 Documentation/driver-api/edac.rst |    9 +
 arch/x86/include/asm/amd_nb.h     |    9 +
 arch/x86/kernel/amd_nb.c          |  149 ++-
 drivers/edac/amd64_edac.c         | 1450 ++++++++++++++++++++---------
 drivers/edac/amd64_edac.h         |  203 +++-
 drivers/edac/mce_amd.c            |   23 +-
 include/linux/pci_ids.h           |    1 +
 7 files changed, 1345 insertions(+), 499 deletions(-)
Signature · 1 line
2.25.1