Re: [PATCH] nmi_watchdog=2 and P4-HT

From: Philippe Elie
Date: Thu Mar 04 2004 - 02:07:40 EST


On Thu, 04 Mar 2004 at 05:42 +0000, Philippe Elie wrote:

> Hi,
>
> Actually with nmi_watchdog=2 and a P4 ht box the nmi is reflected
> only on logical processor 0, it's better to get it on both.

oops a line from a next patch is in the patch "deliver nmi to both thread"
patch, apply this incremental patch please else on UP check_nmi_watchdog()
will use 1hz as rate and boot will wait 10 seconds for complementation
of this test.

Phil


--- linux-2.6/arch/i386/kernel/nmi.c~ 2004-03-04 07:59:22.000000000 +0000
+++ linux-2.6/arch/i386/kernel/nmi.c 2004-03-04 07:59:31.000000000 +0000
@@ -347,7 +347,6 @@ static int setup_p4_watchdog(void)
wrmsr(MSR_P4_IQ_COUNTER0, -(cpu_khz/nmi_hz*1000), -1);
apic_write(APIC_LVTPC, APIC_DM_NMI);
wrmsr(MSR_P4_IQ_CCCR0, nmi_p4_cccr_val, 0);
- nmi_hz = 1;
return 1;
}

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