diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2017-03-20 15:26:51 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-07-17 07:01:08 +0200 |
commit | fbe63acf62f57f8e51adae602c5ce1025002d5ee (patch) | |
tree | c4216c4f282031c5170821cb6df35d7008cff7b0 /drivers/edac/amd8111_edac.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | blackbird-obmc-linux-fbe63acf62f57f8e51adae602c5ce1025002d5ee.tar.gz blackbird-obmc-linux-fbe63acf62f57f8e51adae602c5ce1025002d5ee.zip |
EDAC, mce_amd: Use cpu_to_node() to find the node ID
Using the homegrown amd_get_nb_id() to find a node ID on AMD was fine
while the L3 to node mapping was 1:1. And Zen topology broke this. So
let's start slowly moving away from it and use the topology interfaces
instead.
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1490041614-90057-2-git-send-email-Yazen.Ghannam@amd.com
[ Massage commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd8111_edac.c')
0 files changed, 0 insertions, 0 deletions