Staging
v0.5.1
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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.5 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top