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
busses
chips
dev-interface -rw-r--r-- 6.2 KB
fault-codes -rw-r--r-- 5.0 KB
functionality -rw-r--r-- 5.9 KB
i2c-protocol -rw-r--r-- 2.4 KB
i2c-stub -rw-r--r-- 1.6 KB
porting-clients -rw-r--r-- 7.2 KB
smbus-protocol -rw-r--r-- 7.4 KB
summary -rw-r--r-- 2.1 KB
ten-bit-addresses -rw-r--r-- 1.1 KB
upgrading-clients -rw-r--r-- 6.9 KB
writing-clients -rw-r--r-- 24.4 KB

back to top