Re: [tip:x86/urgent] x86/mce: Fix CMCI preemption bugs

From: Borislav Petkov
Date: Thu Apr 17 2014 - 17:30:28 EST


On Thu, Apr 17, 2014 at 02:21:41PM -0700, Owen Kibel wrote:
> The patch tested was from Chen, Gong
>
> https://lkml.org/lkml/2014/4/15/838
>
> It worked, apart from the warning on boot described previously - the
> possible boot message was extracted from /var/log/kern.log
>
> The above patch on mainline: 3.15-rc1 2014-04-13 [tar.xz]
>
> seems to have cured the problem

Ok, good. So this is straightened out.

@Ingo: just pick up Gong's fix without the raw_spin_lock* stuff.

> - the kernel appears fine after announcing something like
>
> kernel: [ 7.341085] BUG: using __this_cpu_write() in preemptible
> [00000000] code: modprobe/546
>
> in the boot process.

This is most likely unrelated and is caused by the preemption checks
added to __this_cpu_* in 188a81409ff7. If you'd like to debug this
further, please send a full dmesg:

dmesg > dmesg.log

Privately is fine too.

Thanks.

--
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/