Displaying 5 results from an estimated 5 matches for "emulate_forced_invalid_op".
2007 Feb 01
0
[PATCH] hide RDTSCP feature flag from PV guests
...ll.com>
Index: 2007-01-16/xen/arch/x86/traps.c
===================================================================
--- 2007-01-16.orig/xen/arch/x86/traps.c 2007-01-15 09:10:11.000000000 +0100
+++ 2007-01-16/xen/arch/x86/traps.c 2007-02-01 17:25:28.000000000 +0100
@@ -597,6 +597,11 @@ static int emulate_forced_invalid_op(str
if ( !IS_PRIV(current->domain) )
clear_bit(X86_FEATURE_MTRR, &d);
}
+ else if ( regs->eax == 0x80000001 )
+ {
+ /* Modify Feature Information. */
+ clear_bit(X86_FEATURE_RDTSCP % 32, &d);
+ }
else
{
(void)cpuid_h...
2007 Oct 24
0
Re: [PATCH, fixed] linux/x86: use sysenter/syscall for 32-bit apps on 64-bit Xen
...processes to crash when they SYSENTER.
>
>I intentionally avoided adding syscall stuff to the 32-bit kernel, since that isn''t
>there in the native kernel either (as it''s not really usable on native). Therefore
>I''d suggest clearing SEP for pv32-on-64 guests in emulate_forced_invalid_op()
... on AMD CPUs I meant to say.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Aug 08
2
[PATCH] x86-64: syscall/sysenter support for 32-bit apps
...}
#endif
Index: 2007-08-08/xen/arch/x86/traps.c
===================================================================
--- 2007-08-08.orig/xen/arch/x86/traps.c 2007-07-04 12:13:16.000000000 +0200
+++ 2007-08-08/xen/arch/x86/traps.c 2007-08-08 11:37:08.000000000 +0200
@@ -609,16 +609,21 @@ static int emulate_forced_invalid_op(str
clear_bit(X86_FEATURE_DE, &d);
clear_bit(X86_FEATURE_PSE, &d);
clear_bit(X86_FEATURE_PGE, &d);
+ if ( !cpu_has_sep )
+ clear_bit(X86_FEATURE_SEP, &d);
+#ifdef __i386__
if ( !supervisor_mode_kernel )
clear_bit(X8...
2011 Aug 15
36
expose MWAIT to dom0
...eed to make MWAIT visible.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
diff -r d5589865bfce -r 777f294e3be8 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c Tue May 06 10:19:10 2008 +0100
+++ b/xen/arch/x86/traps.c Tue May 06 10:25:34 2008 +0100
@@ -713,8 +713,7 @@ static int emulate_forced_invalid_op(str
__clear_bit(X86_FEATURE_PBE, &d);
__clear_bit(X86_FEATURE_DTES64 % 32, &c);
- if ( !IS_PRIV(current->domain) )
- __clear_bit(X86_FEATURE_MWAIT % 32, &c);
+ __clear_bit(X86_FEATURE_MWAIT % 32, &c);
__clear_bit(X86_FEATURE_D...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh
Rathor at Oracle. The entirety of the design and development was done
by him; I have only reworked, reorganized, and simplified things in a
way that I think makes more sense. The vast majority of the credit
for this effort therefore goes to him. This version is labelled v13
because it is based on his most recent series, v11.