]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
EDAC, ghes: Model a single, logical memory controller
authorBorislav Petkov <bp@suse.de>
Wed, 16 Aug 2017 08:33:44 +0000 (10:33 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 25 Sep 2017 10:35:28 +0000 (12:35 +0200)
commit0fe5f281f749f1d4e462a282ef8ba76407a11fd1
treee8ee56247c706be3aba79d7f9cf8e47f596e2a5e
parentc9c8b4d6d0259ac914309f8fbcef022792c99a89
EDAC, ghes: Model a single, logical memory controller

We're enumerating the DIMMs through a DMI walk and since we can't get
any more detailed topological information about which DIMMs belong to
which memory controller, convert it to a single, logical controller
which contains all the DIMMs.

The error reporting path from GHES ghes_edac_report_mem_error() doesn't
get called in NMI context but add a warning about it to catch any
changes in the future as if so, our locking scheme will be insufficient
then.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/ghes_edac.c