diff options
author | Naveen Krishna Chatradhi <nchatrad@amd.com> | 2021-06-30 17:28:24 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2021-07-20 18:20:49 +0200 |
commit | e1ca90b7cc5cb5d3a38321cbb65ad36a59fcb574 (patch) | |
tree | dc1c3962e0aec6cc32e522dc3608a1636bfe1b66 /drivers/edac | |
parent | EDAC/amd64: Use DEVICE_ATTR helper macros (diff) | |
download | linux-e1ca90b7cc5cb5d3a38321cbb65ad36a59fcb574.tar.xz linux-e1ca90b7cc5cb5d3a38321cbb65ad36a59fcb574.zip |
EDAC/mc: Add new HBM2 memory type
Add a new entry to 'enum mem_type' and a new string to 'edac_mem_types[]'
for HBM2 (High Bandwidth Memory Gen 2) new memory type.
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Muralidhara M K <muralimk@amd.com>
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20210630152828.162659-4-nchatrad@amd.com
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/edac_mc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index f6d462d0be2d..2c5975674723 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -166,6 +166,7 @@ const char * const edac_mem_types[] = { [MEM_DDR5] = "Unbuffered-DDR5", [MEM_NVDIMM] = "Non-volatile-RAM", [MEM_WIO2] = "Wide-IO-2", + [MEM_HBM2] = "High-bandwidth-memory-Gen2", }; EXPORT_SYMBOL_GPL(edac_mem_types); |