EDAC/amd64: Add support for family 0x19, models 0x90-9f devices
authorMuralidhara M K <muralidhara.mk@amd.com>
Thu, 2 Nov 2023 11:42:25 +0000 (11:42 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 29 Nov 2023 10:21:05 +0000 (11:21 +0100)
commit12f230c07a95d925d6af754485952515e7975127
treed10657dc6780da1eaafc487c9b912123ed6d770b
parent9a5f580c1c71b6aedba696c4898a7a7184cef8ad
EDAC/amd64: Add support for family 0x19, models 0x90-9f devices

AMD Models 90h-9fh are APUs. They have built-in HBM3 memory. ECC support
is enabled by default.

APU models have a single Data Fabric (DF) per Package. Each DF is
visible to the OS in the same way as chiplet-based systems like Zen2
CPUs and later. However, the Unified Memory Controllers (UMCs) are
arranged in the same way as GPU-based MI200 devices rather than
CPU-based systems.

Use the existing gpu_ops for hetergeneous systems to support enumeration
of nodes and memory topology with few fixups.

  [ bp: Massage comments. ]

Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231102114225.2006878-5-muralimk@amd.com
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h