diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2017-03-20 21:26:51 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-07-17 07:01:08 +0200 |
commit | fbe63acf62f57f8e51adae602c5ce1025002d5ee (patch) | |
tree | c4216c4f282031c5170821cb6df35d7008cff7b0 /drivers/edac/edac_mc_sysfs.c | |
parent | Linux v4.13-rc1 (diff) | |
download | linux-fbe63acf62f57f8e51adae602c5ce1025002d5ee.tar.xz 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/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions