[PATCH v6 3/8] EDAC/amd64: Stop matching Hygon CPUs
From: Lin Wang
Date: Mon Sep 21 2026 - 01:57:03 EST
The Hygon match predates the conversion of the AMD northbridge cache
from PCI-ID discovery to topology-derived node counts and fixed PCI
slots. That conversion removed the Hygon F3 discovery path.
Hygon DF devices do not follow the fixed-slot layout, so the cache is
discarded before amd64_edac can probe a memory controller. Removing
the Hygon match therefore does not disable a working EDAC configuration.
The Family 0x18 case becomes unused and is removed with the match. MCE
decoding in mce_amd.c is independent and remains unchanged. Hygon memory
controller support will use the Hygon node interfaces in a separate
series.
Signed-off-by: Lin Wang <wanglin@xxxxxxxxxxxxxx>
---
drivers/edac/amd64_edac.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 475235c402e8..9e35098d3dd2 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -3840,9 +3840,6 @@ static int per_family_init(struct amd64_pvt *pvt)
}
break;
- case 0x18:
- break;
-
case 0x19:
switch (pvt->model) {
case 0x00 ... 0x0f:
@@ -4120,7 +4117,6 @@ static const struct x86_cpu_id amd64_cpuids[] = {
X86_MATCH_VENDOR_FAM(AMD, 0x15, NULL),
X86_MATCH_VENDOR_FAM(AMD, 0x16, NULL),
X86_MATCH_VENDOR_FAM(AMD, 0x17, NULL),
- X86_MATCH_VENDOR_FAM(HYGON, 0x18, NULL),
X86_MATCH_VENDOR_FAM(AMD, 0x19, NULL),
X86_MATCH_VENDOR_FAM(AMD, 0x1A, NULL),
{ }
--
2.43.0