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

Borislav Petkov
2014-07-05T10:55:13Z

On Tue, Jul 01, 2014 at 09:23:41PM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> A simple data structure for collecting correctable errors along with
> accessors. Larger description in the code itself.
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> ---
> 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.
--