lkml.org 
[lkml]   [2010]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/4] x86: clear XD_DISABLED flag on Intel to regain NX
On Sat, 19 Jun 2010 10:21:29 +0200
Andi Kleen <andi@firstfloor.org> wrote:

> Kees Cook <kees.cook@canonical.com> writes:
>
> > This will clear the MSR_IA32_MISC_ENABLE_XD_DISABLE bit so that NX
> > cannot be inappropriately controlled by the BIOS on Intel CPUs. If
> > NX actually needs to be disabled, "noexec=off" can be used.
>
> The patch still seems like a bad idea to me. What happens if
> the NX bit is broken for some reason and the BIOS is right
> to disable it?


overriding the bios like this is almost always a bad idea.
(you're doing a blanket override, not a specific, verified override)

you have no idea if the SMM code can deal with NX, etc etc.

the real answer is "fix your bios setting".
Don't as owner of the machine turn something off in the bios that you
actually want.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2010-06-19 17:19    [W:0.091 / U:0.140 seconds]
©2003-2011 Jasper Spaans