]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, ghes: Use CPER module handles to locate DIMMs
authorFan Wu <wufan@codeaurora.org>
Wed, 19 Sep 2018 01:59:00 +0000 (01:59 +0000)
committerBorislav Petkov <bp@suse.de>
Sat, 22 Sep 2018 16:35:40 +0000 (18:35 +0200)
commitde0f3343d7046b9e5a787fcccf4d840723d8eab3
tree4aab832133eed66ddd1d0e729b2f31e9d309b269
parentc1c6db4c078383f862eb81b1e3055df07d5c356a
EDAC, ghes: Use CPER module handles to locate DIMMs

Use SMBIOS module handle type 17, on platforms which provide valid
ones, to locate the corresponding DIMM and thus have per-DIMM error
counter updates.

Signed-off-by: Fan Wu <wufan@codeaurora.org>
[ Massage commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tyler Baicar <baicar.tyler@gmail.com>
Reviewed-by: James Morse <james.morse@arm.com>
Tested-by: Toshi Kani <toshi.kani@hpe.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: baicar.tyler@gmail.com
Cc: john.garry@huawei.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: shiju.jose@huawei.com
Cc: tanxiaofei@huawei.com
Cc: wanghuiqiang@huawei.com
Link: http://lkml.kernel.org/r/1537322340-1860-1-git-send-email-wufan@codeaurora.org
drivers/edac/ghes_edac.c
include/linux/edac.h