[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DA732D8.9040602@openvz.org>
Date: Thu, 14 Apr 2011 21:46:00 +0400
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: Ingo Molnar <mingo@...e.hu>
CC: Lin Ming <ming.m.lin@...el.com>, Don Zickus <dzickus@...hat.com>,
Shaun Ruffell <sruffell@...ium.com>,
Maciej Rutecki <maciej.rutecki@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Stephane Eranian <eranian@...gle.com>,
Robert Richter <robert.richter@....com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -tip] perf, x86: fix unknown NMIs on a Pentium4 box
On 04/14/2011 09:43 PM, Ingo Molnar wrote:
...
>>
>> handled = x86_pmu.handle_irq(args->regs);
>> +
>> + /*
>> + * Note the unmasking of LVTPC entry must be
>> + * done *after* counter oveflow flag is cleared
>> + * otherwise it might lead to double NMIs generation.
>> + */
>> + apic_write(APIC_LVTPC, APIC_DM_NMI);
>> +
>> if (!handled)
>> return NOTIFY_DONE;
>>
>
> This breaks 'perf top' on Intel Nehalem and probably other CPUs. The NMI gets
> stuck fast on all CPUs:
>
> NMI: 16 6 3 3 3 3 3 3 3 3 3 3 3 3 4 5 Non-maskable interrupts
>
> Thanks,
>
> Ingo
Hmm. Thanks for info. Investigating...
--
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists