Staging
v0.7.0
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
eeprom -rw-r--r-- 4.1 KB
max6875 -rw-r--r-- 3.0 KB
pca9539 -rw-r--r-- 1.5 KB
pcf8574 -rw-r--r-- 2.2 KB
pcf8575 -rw-r--r-- 2.7 KB
pcf8591 -rw-r--r-- 3.2 KB

back to top