Re: [PATCH -v3 2/4] RAS: Add a Corrected Errors Collector

From: Borislav Petkov
Date: Sat Jul 05 2014 - 06:55:27 EST


On Tue, Jul 01, 2014 at 09:23:41PM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> A simple data structure for collecting correctable errors along with
> accessors. Larger description in the code itself.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> ---
> drivers/ras/Kconfig | 11 ++
> drivers/ras/Makefile | 3 +-
> drivers/ras/ce.c | 296 +++++++++++++++++++++++++++++++++++++++++++++++++++
> include/linux/ras.h | 2 +
> 4 files changed, 311 insertions(+), 1 deletion(-)
> create mode 100644 drivers/ras/ce.c
>
> diff --git a/drivers/ras/Kconfig b/drivers/ras/Kconfig
> index f9da613052c2..c6977b943506 100644
> --- a/drivers/ras/Kconfig
> +++ b/drivers/ras/Kconfig
> @@ -1,2 +1,13 @@
> config RAS
> bool
> +
> +config RAS_CE
> + bool "Correctable Errors Collector"
> + default y if X86_MCE
> + select MEMORY_FAILURE

This has an unmet Kconfig dependency on 32-bit due to MEMORY_FAILURE not
enabled there. I readded the RAS menuconfig stuff along with Gong's nice
RAS description. Will be in the next version.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/