Re: [tip:perf/urgent] perf, x86: Fix accidentally ack'ing a secondevent on intel perf counter

From: Don Zickus
Date: Mon Oct 11 2010 - 16:25:51 EST


On Mon, Oct 04, 2010 at 04:24:14PM -0700, Yinghai Lu wrote:
> > printk(KERN_EMERG "Do you have a strange power saving mode enabled?\n");
> > +#if defined(CONFIG_SYSCTL) && defined(CONFIG_X86_LOCAL_APIC)
> > + if (unknown_nmi_panic)
> > + die_nmi("", regs, 1);
> > +#endif
> > if (panic_on_unrecovered_nmi)
> > panic("NMI: Not continuing");
>
> please consider to move
> printk(KERN_EMERG "Do you have a strange power saving mode enabled?\n");
> down.
>
> test it, and it works on my test setups.
>
> please submit complete patch to Ingo.

I think Huang Ying from Intel has a patchset with similar changes. I'll
have him make the changes.

Cheers,
Don
--
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/