EDAC, ghes: Add DDR4 and NVDIMM memory types
authorToshi Kani <toshi.kani@hpe.com>
Wed, 9 May 2018 22:20:30 +0000 (16:20 -0600)
committerBorislav Petkov <bp@suse.de>
Sat, 12 May 2018 12:16:49 +0000 (14:16 +0200)
commitad0d73b324dbc9e5b987fbda08ceb523fbeb0a9f
tree4e5eb9bad28349886b7daad0e784c7c36cbb6e02
parente9918d7fafae2ec5365b193654960f6158751f8c
EDAC, ghes: Add DDR4 and NVDIMM memory types

The ghes_edac driver obtains memory type from SMBIOS type 17, but it
does not recognize DDR4 and NVDIMM types.

Add support of DDR4 and NVDIMM types. NVDIMM type is denoted by memory
type DDR3/4 and non-volatile.

Reported-by: Robert Elliott <elliott@hpe.com>
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180509222030.9299-1-toshi.kani@hpe.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/ghes_edac.c