Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EDAC/amd64: Tone down messages about missing PCI IDs

Give these messages a debug severity as they are really only useful to
the module developers.

Also, drop the "(broken BIOS?)" phrase, since this can cause churn for
BIOS folks. The PCI IDs needed by the module, at least on modern systems,
are fixed in hardware.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201215170131.8496-1-Yazen.Ghannam@amd.com

authored by

Yazen Ghannam and committed by
Borislav Petkov
6a4afe38 6c13d7ff

+4 -4
+4 -4
drivers/edac/amd64_edac.c
··· 2665 2665 if (pvt->umc) { 2666 2666 pvt->F0 = pci_get_related_function(pvt->F3->vendor, pci_id1, pvt->F3); 2667 2667 if (!pvt->F0) { 2668 - amd64_err("F0 not found, device 0x%x (broken BIOS?)\n", pci_id1); 2668 + edac_dbg(1, "F0 not found, device 0x%x\n", pci_id1); 2669 2669 return -ENODEV; 2670 2670 } 2671 2671 ··· 2674 2674 pci_dev_put(pvt->F0); 2675 2675 pvt->F0 = NULL; 2676 2676 2677 - amd64_err("F6 not found: device 0x%x (broken BIOS?)\n", pci_id2); 2677 + edac_dbg(1, "F6 not found: device 0x%x\n", pci_id2); 2678 2678 return -ENODEV; 2679 2679 } 2680 2680 ··· 2691 2691 /* Reserve the ADDRESS MAP Device */ 2692 2692 pvt->F1 = pci_get_related_function(pvt->F3->vendor, pci_id1, pvt->F3); 2693 2693 if (!pvt->F1) { 2694 - amd64_err("F1 not found: device 0x%x (broken BIOS?)\n", pci_id1); 2694 + edac_dbg(1, "F1 not found: device 0x%x\n", pci_id1); 2695 2695 return -ENODEV; 2696 2696 } 2697 2697 ··· 2701 2701 pci_dev_put(pvt->F1); 2702 2702 pvt->F1 = NULL; 2703 2703 2704 - amd64_err("F2 not found: device 0x%x (broken BIOS?)\n", pci_id2); 2704 + edac_dbg(1, "F2 not found: device 0x%x\n", pci_id2); 2705 2705 return -ENODEV; 2706 2706 } 2707 2707