diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-15 05:21:08 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 09:06:37 -0500 |
| commit | c66b5a79a9348ccd6d1cd81416027d0e12da965d (patch) | |
| tree | c6a25cbd329ebb6cd7edadb9bcd5f94796d94e97 /include/linux | |
| parent | 4ab19b06acffd2278cd37995927c85a9acfd00db (diff) | |
edac: add a new memory layer type
There are some cases where the memory controller layout is
completely hidden. This is the case of firmware-driven error
code, like the one provided by GHES. Add a new layer to be
used on such memory error report mechanisms.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/edac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h index 4784213c819d..1b7744c219b8 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h | |||
| @@ -375,6 +375,9 @@ enum scrub_type { | |||
| 375 | * @EDAC_MC_LAYER_CHANNEL: memory layer is named "channel" | 375 | * @EDAC_MC_LAYER_CHANNEL: memory layer is named "channel" |
| 376 | * @EDAC_MC_LAYER_SLOT: memory layer is named "slot" | 376 | * @EDAC_MC_LAYER_SLOT: memory layer is named "slot" |
| 377 | * @EDAC_MC_LAYER_CHIP_SELECT: memory layer is named "chip select" | 377 | * @EDAC_MC_LAYER_CHIP_SELECT: memory layer is named "chip select" |
| 378 | * @EDAC_MC_LAYER_ALL_MEM: memory layout is unknown. All memory is mapped | ||
| 379 | * as a single memory area. This is used when | ||
| 380 | * retrieving errors from a firmware driven driver. | ||
| 378 | * | 381 | * |
| 379 | * This enum is used by the drivers to tell edac_mc_sysfs what name should | 382 | * This enum is used by the drivers to tell edac_mc_sysfs what name should |
| 380 | * be used when describing a memory stick location. | 383 | * be used when describing a memory stick location. |
| @@ -384,6 +387,7 @@ enum edac_mc_layer_type { | |||
| 384 | EDAC_MC_LAYER_CHANNEL, | 387 | EDAC_MC_LAYER_CHANNEL, |
| 385 | EDAC_MC_LAYER_SLOT, | 388 | EDAC_MC_LAYER_SLOT, |
| 386 | EDAC_MC_LAYER_CHIP_SELECT, | 389 | EDAC_MC_LAYER_CHIP_SELECT, |
| 390 | EDAC_MC_LAYER_ALL_MEM, | ||
| 387 | }; | 391 | }; |
| 388 | 392 | ||
| 389 | /** | 393 | /** |
