Re: [PATCH] x86: prevent unconditional writes to DebugCtl MSR
From: Ingo Molnar
Date: Mon Mar 10 2008 - 13:14:56 EST
* Jan Beulich <jbeulich@xxxxxxxxxx> wrote:
> 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.
thanks Jan, applied.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/