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] disabling of X86_CR4_DE

>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 09.01.06 18:13:43 >>>
>
>On 9 Jan 2006, at 16:06, Jan Beulich wrote:
>
>> Is there a particular reason for doing this unconditionally on both
32-
>> and 64-bits in xenolinux? It would seem to me that this feature
should
>> be disabled at most in unprivileged kernels... Thanks, Jan
>
>How do you mean? Looking at xen-unstable, we clear CR4_DE at the same

>point as native linux (i.e., we haven't changed code relating to that

>control flag at all).

I don't mean the cr4 modification; I rather referred to the feature
flag, which gets cleared in setup_arch_post.h's
machine_specific_modify_cpu_capabilities().

>It's not a debug-feature-enable flag anyway -- more a 
>backwards-compatibility flag for accesses to defunct debug registers 
>dr4 and dr5. It's pretty unimportant.

Not really. Its important function is to allow I/O port breakpoints.
(And I think disallowing access to dr4/dr5 isn't a bad thing, too.)

Jan

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

<Prev in Thread] Current Thread [Next in Thread>