x86, perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds
authorAristeu Rozanski <arozansk@redhat.com>
Thu, 14 Aug 2008 20:32:15 +0000 (16:32 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 11:58:33 +0000 (13:58 +0200)
commitdcc984166870150709f0c645b521a47becd9a047
tree6e91d5a84279a5d93aa4ea045170b3b564b929e5
parent975439fe73d1f0f7ce8c235c66783bd34dc459c3
x86, perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds

Currently, setup_p4_watchdog() use CCCR_OVF_PMI1 to enable the counter
overflow interrupts to the second logical core. But this bit doesn't work
on Pentium 4 Ds (model 4, stepping 4) and this patch avoids its use on
these processors. Tested on 4 different machines that have this
specific model with success.

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Cc: jvillalovos@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perfctr-watchdog.c