Re: [PATCH] x86: prevent unconditional writes to DebugCtl MSR

From: Ingo Molnar
Date: Mon Apr 21 2008 - 11:56:03 EST



* Roland McGrath <roland@xxxxxxxxxx> wrote:

> If TIF_DEBUGCTLMSR is ever set on a machine without the support, that
> is a bug we should diagnose earlier. If you want some paranoia, then
> keep update_debugctlmsr but make it do:
>
> BUG_ON(boot_cpu_data.x86 < 6);
>
> instead.

agreed. Jan, wanna send a fix for this?

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/