Re: 2.6.30-git(16 and 17) system hangs after resume from suspend to disk, mce related?

From: Maciej Rutecki
Date: Tue Jun 23 2009 - 10:48:01 EST


2009/6/23 Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>:

>
> Maciej, could you try this patch?

Tested in 2 systems (for 17 and 30 minutes). Works without any
problems. Thanks for patch!

>
> ===
> [PATCH] x86: Fix mce resume on 32bit
>
> Calling mcheck_init() on resume is required only with CONFIG_X86_OLD_MCE=y.
>
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>
> ---
> Âarch/x86/power/cpu.c | Â Â2 +-
> Â1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c
> index d277ef1..b3d20b9 100644
> --- a/arch/x86/power/cpu.c
> +++ b/arch/x86/power/cpu.c
> @@ -244,7 +244,7 @@ static void __restore_processor_state(struct saved_context *ctxt)
> Â Â Â Âdo_fpu_end();
> Â Â Â Âmtrr_ap_init();
>
> -#ifdef CONFIG_X86_32
> +#ifdef CONFIG_X86_OLD_MCE
> Â Â Â Âmcheck_init(&boot_cpu_data);
> Â#endif
> Â}

Tested-by Maciej Rutecki <maciej.rutecki@xxxxxxxxx>


--
Maciej Rutecki
http://www.maciek.unixy.pl
--
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/