summaryrefslogtreecommitdiff
path: root/include/linux/edac.h
diff options
context:
space:
mode:
authorFan Wu <wufan@codeaurora.org>2018-09-19 01:59:00 +0000
committerBorislav Petkov <bp@suse.de>2018-09-22 18:35:40 +0200
commitc798c88f3962ddff89c7aa818986caeecd46ab4c (patch)
tree4aab832133eed66ddd1d0e729b2f31e9d309b269 /include/linux/edac.h
parent6f6da136046294a1e8d2944336eb97412751f653 (diff)
downloadlwn-c798c88f3962ddff89c7aa818986caeecd46ab4c.tar.gz
lwn-c798c88f3962ddff89c7aa818986caeecd46ab4c.zip
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
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index bffb97828ed6..a45ce1f84bfc 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -451,6 +451,8 @@ struct dimm_info {
u32 nr_pages; /* number of pages on this dimm */
unsigned csrow, cschannel; /* Points to the old API data */
+
+ u16 smbios_handle; /* Handle for SMBIOS type 17 */
};
/**