search for: uregs_cs

Displaying 5 results from an estimated 5 matches for "uregs_cs".

2012 Jul 26
2
[PATCH] x86-64: drop updating of UREGS_rip when converting sysenter to #GP
This was set to zero immediately before the #GP injection code, since SYSENTER doesn''t really have a return address. Reported-by: Ian Campbell <Ian.Campbell@citrix.com> Furthermore, UREGS_cs and UREGS_rip don''t need to be written a second time, as the PUSHes above already can/do take care of putting in place the intended values. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -275,15 +275,13 @@ ENTRY...
2012 Nov 22
41
[PATCH V3] vmx/nmi: Do not use self_nmi() in VMEXIT handler
The self_nmi() code cause''s an NMI to be triggered by sending an APIC message to the local processor. However, NMIs are blocked by the VMEXIT, until the next iret or VMENTER. Volume 3 Chapter 27 Section 1 of the Intel SDM states: An NMI causes subsequent NMIs to be blocked, but only after the VM exit completes. As a result, as soon as the VMENTER happens, an immediate VMEXIT happens
2007 Aug 08
2
[PATCH] x86-64: syscall/sysenter support for 32-bit apps
...rig/xen/arch/x86/x86_64/entry.S 2007-07-04 12:13:16.000000000 +0200 +++ 2007-08-08/xen/arch/x86/x86_64/entry.S 2007-08-08 11:37:08.000000000 +0200 @@ -26,15 +26,19 @@ ALIGN /* %rbx: struct vcpu */ switch_to_kernel: - leaq VCPU_trap_bounce(%rbx),%rdx + cmpw $FLAT_USER_CS32,UREGS_cs(%rsp) movq VCPU_syscall_addr(%rbx),%rax + leaq VCPU_trap_bounce(%rbx),%rdx + cmoveq VCPU_syscall32_addr(%rbx),%rax + btl $_VGCF_syscall_disables_events,VCPU_guest_context_flags(%rbx) movq %rax,TRAPBOUNCE_eip(%rdx) - movb $0,TRAPBOUNCE_flags(%rdx)...
2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...INTERRUPT,%cl setnz %ch # TBF_INTERRUPT -> set upcall mask - orb %ch,VCPUINFO_upcall_mask(%rax) + orb %ch,COMPAT_VCPUINFO_upcall_mask(%rax) popq %rax shll $16,%eax # Bits 16-23: saved_upcall_mask movw UREGS_cs+8(%rsp),%ax # Bits 0-15: CS Index: 2006-10-04/xen/arch/x86/x86_64/compat/traps.c =================================================================== --- 2006-10-04.orig/xen/arch/x86/x86_64/compat/traps.c 2006-10-04 15:09:52.000000000 +0200 +++ 2006-10-04/xen/arch/x86/x86_64/compat/traps.c 200...
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...@@ -396,7 +396,7 @@ ENTRY(handle_exception) movl UREGS_entry_vector(%rsp),%eax leaq exception_table(%rip),%rdx GET_CURRENT(%rbx) - PERFC_INCR(PERFC_exceptions, %rax) + PERFC_INCR(PERFC_exceptions, %rax, %rbx) callq *(%rdx,%rax,8) testb $3,UREGS_cs(%rsp) jz restore_all_xen Index: 2007-03-19/xen/common/multicall.c =================================================================== --- 2007-03-19.orig/xen/common/multicall.c 2007-03-27 10:31:15.000000000 +0200 +++ 2007-03-19/xen/common/multicall.c 2007-03-27 10:32:56.000000000 +0200...