Staging
v0.5.2
https://github.com/torvalds/linux
Revision e85ceae9102f6e3c1d707e7ac88fa48d252e9cfa authored by Jan Kiszka on 06 October 2008, 18:50:59 UTC, committed by Jason Wessel on 06 October 2008, 18:50:59 UTC
Stress-testing KVM's latest NMI support with kgdbts inside an SMP guest,
I came across spurious unhandled NMIs while running the singlestep test.
Looking closer at the code path each NMI takes when KGDB is enabled, I
noticed that kgdb_nmicallback is called twice per event: One time via
DIE_NMI_IPI notification, the second time on DIE_NMI. Removing the first
invocation cures the unhandled NMIs here.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
1 parent fec6ed1
History
Tip revision: e85ceae9102f6e3c1d707e7ac88fa48d252e9cfa authored by Jan Kiszka on 06 October 2008, 18:50:59 UTC
kgdb, x86: Avoid invoking kgdb_nmicallback twice per NMI
Tip revision: e85ceae
File Mode Size
masters
00-INDEX -rw-r--r-- 177 bytes
w1.generic -rw-r--r-- 4.4 KB
w1.netlink -rw-r--r-- 4.0 KB

back to top