[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH] nmi watchdog: handle NMI_IO_APIC on nmi_watchdog

* Aristeu Rozanski <> wrote:

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


> +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.


 \ /
  Last update: 2008-03-21 12:51    [W:0.051 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site