[PATCH 2/2] boot: add early NMI counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/08/2012 01:50 PM, Eric W. Biederman wrote:
> Fernando Luis V?zquez Cao<fernando at oss.ntt.co.jp>  writes:
>
>> Subject: [PATCH] boot: add early NMI counter
>>
>> From: Fernando Luis Vazquez Cao<fernando at oss.ntt.co.jp>
>>
>> We currently ignore early NMIs but it would be nice to be able to
>> know whether they actually occurred.
>>
>> This patch adds an early NMI counter and exports it trough
>> /proc/interrupts with the name of ENM (Early NMI).
> For a userspace interface I suspect we just want to dump the count
> into the NMI counter.
>
> It probably makes sense to have a separate variable in early boot like
> you do, but then about the time we setup the normal NMI handler move the
> NMI count over and possibly do something like reboot if that is our
> policy.

I am fine with either approach. I guess that is the x86 maintainers'
call. Ingo, Thomas, Peter, what do you think? Should I add a new
entry to /proc/interrupts or move over the early NMI count to the
existing per-cpu NMI counter?

Thanks,
Fernando



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux