Re: [RFC][PATCH] nmi watchdog: handle NMI_IO_APIC on nmi_watchdog

From: Ingo Molnar
Date: Fri Mar 21 2008 - 07:48:19 EST



* Aristeu Rozanski <aris@xxxxxxxxx> wrote:

> This patch includes code to handle NMI_IO_APIC enabling/disabling by
> nmi_watchdog proc file.

hm:

> +static void disable_ioapic_nmi_watchdog(void)
> +{
> + on_each_cpu(stop_apic_nmi_watchdog, NULL, 0, 1);
> +}

stop_apic_nmi_watchdog() doesnt currently properly disable the
generation of NMIs when they come from an IO-APIC, so this will need
more fixes i believe. One approach would be to save the IO-APIC id and
pin when the watchdog is set up, and use it later on to poke that
IO-APIC register to disable NMI generation there.

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