EDAC/amd64: Remove PCI Function 0
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 27 Jan 2023 17:04:01 +0000 (17:04 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 9 Feb 2023 13:41:56 +0000 (14:41 +0100)
commitcf981562e6270397a2b0dc871a1f11ccc2a687e8
tree6bcdc4b19863f1190bd22fda272f5d66b8b38fc8
parent6229235f7c6616c96ac06fd1094520b037410f46
EDAC/amd64: Remove PCI Function 0

PCI Function 0 is used on Family 17h and later only to read the "dhar"
value. This value is printed and provided through a module-specific
debug sysfs file. The value is not used for any Family 17h and later
code, and it does not have any apparent debug value on these systems.

Remove "dhar", Function 0 PCI IDs, and all related code.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230127170419.1824692-5-yazen.ghannam@amd.com
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h