[PATCH] fix "NMI appears to be stuck"