WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Re: [PATCH] supporting non-NX/XD capableprocessors on x8

To: "Jerone Young" <jyoung5@xxxxxxxxxx>, "Andi Kleen" <ak@xxxxxxx>
Subject: RE: [Xen-devel] Re: [PATCH] supporting non-NX/XD capableprocessors on x86_64 xenlinux
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Thu, 18 Aug 2005 09:16:37 -0700
Cc: Jerone Young <jerone@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Aug 2005 16:14:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWkDxik/pD+ytSKR8uuUMUr8ZjyFAAAKAqQ
Thread-topic: [Xen-devel] Re: [PATCH] supporting non-NX/XD capableprocessors on x86_64 xenlinux
Jerone Young wrote:
> On Thu, 2005-08-18 at 17:51 +0200, Andi Kleen wrote:
>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:
>>> 
>>> By the way -- from what I've seen of this NX/XD discussion so far,
>>> it sounds like even if CPUID says that NX/XD is supported, and you
>>> set the EFER.NXE bit, the BIOS can still cause this to be ignored!
>>> Is this true and, if so, what will happen if you try to use NX/XD
>>> anyway? i.e., will the bit be ignored, or will its use cause a page
>>> fault? 
>> 
>> I don't think that can happen. When NX is disabled or not there it
>> doesn't appear in CPUID.
> 
> Ah but it does:
To me this is consistent with what Andi said.

On some early stepping of processors where NX/XD is _not_ supported at
all, the bit 63 is "Reserved" and ignored. But I don't think CPUID
should tell that NX/XD is supported there in the first place.

Jun
---
Intel Open Source Technology Center

> 
> With NX bit cut "on" in bios:
> /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz
> stepping        : 1
> cpu MHz         : 800.028
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 1
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 5
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
> nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr   <--- NX found
> here bogomips        : 6396.31
> clflush size    : 64
> cache_alignment : 128
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
> 
> With NX bit cut "off" in bios:
> cat /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz
> stepping        : 1
> cpu MHz         : 3200.280
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 1
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 5
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
> lm pni monitor ds_cpl cid cmpxchg16b
> bogomips        : 6324.22
> clflush size    : 64
> cache_alignment : 128
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
> 
> Notice no nx in the flags when NX is turned off in the bios.
> 
> 
> 
> 
>> 
>> -Andi
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Re: [PATCH] supporting non-NX/XD capableprocessors on x86_64 xenlinux, Nakajima, Jun <=