Re: [PATCH 2/4] x86: clear XD_DISABLED flag on Intel to regain NX

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Wednesday, November 10, 2010 - 10:42 am

> Right, which is why in this code it validates the CPU brand and its

If you can even find out. The system will die silently.

Usually the main culprits are simulators. VMs etc. Most do ignore unknown
MSRs, but not all.


On x86-64 there are two kernel mappings: an early one and a final one.
The final one is only set up in C code.

On 32bit there's only a single one, but it could be changed (e.g. 
only add NX later)

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] x86: clear XD_DISABLED flag on Intel to re ..., Andi Kleen, (Wed Nov 10, 10:42 am)