Fernando Luis VÃzquez Cao<fernando@xxxxxxxxxxxxx> writes:
Subject: [PATCH] boot: add early NMI counterFor a userspace interface I suspect we just want to dump the count
From: Fernando Luis Vazquez Cao<fernando@xxxxxxxxxxxxx>
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).
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.