[3.13.y.z extended stable] Patch "perf/x86/intel: ignore CondChgd bit to avoid false NMI handling" has been added to staging queue

2014-08-06 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled perf/x86/intel: ignore CondChgd bit to avoid false NMI handling to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=re

[3.11.y.z extended stable] Patch "perf/x86/intel: ignore CondChgd bit to avoid false NMI handling" has been added to staging queue

2014-07-30 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled perf/x86/intel: ignore CondChgd bit to avoid false NMI handling to the linux-3.11.y-queue branch of the 3.11.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=re

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-16 Thread Don Zickus
On Thu, Jun 12, 2014 at 09:37:16AM +0200, Peter Zijlstra wrote: > On Thu, Jun 12, 2014 at 04:00:11PM +0900, HATAYAMA Daisuke wrote: > > Also, I checked cpuid on the system with Neharlem processor where I > > have never seen CondChg bit is set. > > > > [root@localhost ~]# ./cpuid -r > > CPU 0: > >

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-16 Thread Don Zickus
On Thu, Jun 12, 2014 at 09:37:16AM +0200, Peter Zijlstra wrote: > On Thu, Jun 12, 2014 at 04:00:11PM +0900, HATAYAMA Daisuke wrote: > > Also, I checked cpuid on the system with Neharlem processor where I > > have never seen CondChg bit is set. > > > > [root@localhost ~]# ./cpuid -r > > CPU 0: > >

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-12 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 04:00:11PM +0900, HATAYAMA Daisuke wrote: > Also, I checked cpuid on the system with Neharlem processor where I > have never seen CondChg bit is set. > > [root@localhost ~]# ./cpuid -r > CPU 0: >0x 0x00: eax=0x000b ebx=0x756e6547 ecx=0x6c65746e > edx=0x4965

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-12 Thread HATAYAMA Daisuke
From: Peter Zijlstra Subject: Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling Date: Wed, 11 Jun 2014 13:54:13 +0200 > On Wed, Jun 11, 2014 at 10:54:48AM +0200, Peter Zijlstra wrote: >> > I'm not sure about exact behavior of CondChgd bit, in particul

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread HATAYAMA Daisuke
From: Peter Zijlstra Subject: Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling Date: Wed, 11 Jun 2014 10:54:48 +0200 > On Wed, Jun 11, 2014 at 04:30:28PM +0900, HATAYAMA Daisuke wrote: >> Currently, a NMI handler for NMI watchdog may falsely handle any NMI &g

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread Matt Fleming
On Wed, 11 Jun, at 01:54:13PM, Peter Zijlstra wrote: > > Matt found in the MSR listing for GLOBAL_STATUS: > > 63 CondChg: status bits of this register has changed. If CPUID.0AH: EAX[7:0] > > 0 > > Which brings us to a grand total of 3 different names for this bit. Right, I'm flinging emails a

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 10:54:48AM +0200, Peter Zijlstra wrote: > > I'm not sure about exact behavior of CondChgd bit, in particular when > > this bit is set. Although I read Intel System Programmer's Manual to > > figure out but I have yet completed that. At least, I think ignoring > > CondChgd bi

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 04:30:28PM +0900, HATAYAMA Daisuke wrote: > Currently, a NMI handler for NMI watchdog may falsely handle any NMI > signaled for different purpose if CondChgd bit in > MSR_CORE_PERF_GLOBAL_STATUS MSR is set. > > This commit deals with the issue simply by ignoring CondChgd bi

[PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread HATAYAMA Daisuke
Currently, a NMI handler for NMI watchdog may falsely handle any NMI signaled for different purpose if CondChgd bit in MSR_CORE_PERF_GLOBAL_STATUS MSR is set. This commit deals with the issue simply by ignoring CondChgd bit. Here is explanation in detail. On x86 NMI watchdog uses performance mon