Jan Beulich 5b0e508415 x86: prevent unconditional writes to DebugCtl MSR
Otherwise, enabling (or better, subsequent disabling) of single
stepping would cause a kernel oops on CPUs not having this MSR.

The patch could have been added a conditional to the MSR write in
user_disable_single_step(), but centralizing the updates seems safer
and (looking forward) better manageable.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Markus Metzger <markus.t.metzger@intel.com>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-17 17:40:58 +02:00
..
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2007-10-11 11:16:56 +02:00
2008-04-17 17:40:51 +02:00
2008-03-04 11:55:34 -08:00
2008-04-17 17:40:45 +02:00
2008-04-17 17:40:49 +02:00