EDAC/amd64: Do not load on family 0x15, model 0x13
authorBorislav Petkov <bp@suse.de>
Sat, 12 Dec 2020 14:20:28 +0000 (15:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Mar 2021 11:34:08 +0000 (12:34 +0100)
commita03583775a5f3e0171e15692159cdbf7816ddf6f
tree813e3487213573b86c22707a098257361a7366e4
parentef690e3f622b1ee785a6bf6f987ee5a4e3056525
EDAC/amd64: Do not load on family 0x15, model 0x13

[ Upstream commit 6c13d7ff81e6d2f01f62ccbfa49d1b8d87f274d0 ]

Those were only laptops and are very very unlikely to have ECC memory.
Currently, when the driver attempts to load, it issues:

  EDAC amd64: Error: F1 not found: device 0x1601 (broken BIOS?)

because the PCI device is the wrong one (it uses the F15h default one).

So do not load the driver on them as that is pointless.

Reported-by: Don Curtis <bugrprt21882@online.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Don Curtis <bugrprt21882@online.de>
Link: http://bugzilla.opensuse.org/show_bug.cgi?id=1179763
Link: https://lkml.kernel.org/r/20201218160622.20146-1-bp@alien8.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/edac/amd64_edac.c