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
..
2008-04-02 15:28:19 -07:00
2008-04-17 01:14:32 +02:00
2008-02-23 17:12:16 -08:00
2008-02-09 10:46:40 +01:00
2008-04-04 14:42:30 -07:00
2008-03-07 16:56:54 -06:00
2008-04-16 02:21:47 +09:00
2008-02-09 10:46:40 +01:00