Displaying 10 results from an estimated 10 matches for "kprobe_end".
2007 May 21
2
changing definition of paravirt_ops.iret
...on __ex_table,"a"
- .align 4
- .long 1b,iret_exc
-.previous
CFI_RESTORE_STATE
ldt_ss:
@@ -863,21 +855,22 @@ nmi_espfix_stack:
RESTORE_REGS
lss 12+4(%esp), %esp # back to espfix stack
CFI_ADJUST_CFA_OFFSET -24
-1: INTERRUPT_RETURN
- CFI_ENDPROC
+ INTERRUPT_RETURN
+ CFI_ENDPROC
+KPROBE_END(nmi)
+
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_iret)
+1: popl %fs
+2: iret
+.pushsection .fixup,"ax"
+3: movl $0,(%esp)
+ jmp 1b
.section __ex_table,"a"
.align 4
- .long 1b,iret_exc
-.previous
-KPROBE_END(nmi)
-
-#ifdef CONFIG_PARAVIRT
-ENTRY(native_iret)
-1: iret
-.section __e...
2007 May 21
2
changing definition of paravirt_ops.iret
...on __ex_table,"a"
- .align 4
- .long 1b,iret_exc
-.previous
CFI_RESTORE_STATE
ldt_ss:
@@ -863,21 +855,22 @@ nmi_espfix_stack:
RESTORE_REGS
lss 12+4(%esp), %esp # back to espfix stack
CFI_ADJUST_CFA_OFFSET -24
-1: INTERRUPT_RETURN
- CFI_ENDPROC
+ INTERRUPT_RETURN
+ CFI_ENDPROC
+KPROBE_END(nmi)
+
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_iret)
+1: popl %fs
+2: iret
+.pushsection .fixup,"ax"
+3: movl $0,(%esp)
+ jmp 1b
.section __ex_table,"a"
.align 4
- .long 1b,iret_exc
-.previous
-KPROBE_END(nmi)
-
-#ifdef CONFIG_PARAVIRT
-ENTRY(native_iret)
-1: iret
-.section __e...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 12/17] paravirt_ops - interrupt/exception changes
...@ ENDPROC(load_gs_index)
.section .fixup,"ax"
/* running with kernelgs */
bad_gs:
- swapgs /* switch back to user gs */
+ SWAPGS /* switch back to user gs */
xorl %eax,%eax
movl %eax,%gs
jmp 2b
@@ -1064,6 +1081,13 @@ KPROBE_ENTRY(int3)
CFI_ENDPROC
KPROBE_END(int3)
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_sysret)
+ sysretq
+ENDPROC(native_sysret)
+
+#endif /* CONFIG_PARAVIRT */
+
ENTRY(overflow)
zeroentry do_overflow
END(overflow)
Index: clean-start/arch/x86_64/kernel/i8259.c
===================================================================
--- cle...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 12/17] paravirt_ops - interrupt/exception changes
...@ ENDPROC(load_gs_index)
.section .fixup,"ax"
/* running with kernelgs */
bad_gs:
- swapgs /* switch back to user gs */
+ SWAPGS /* switch back to user gs */
xorl %eax,%eax
movl %eax,%gs
jmp 2b
@@ -1064,6 +1081,13 @@ KPROBE_ENTRY(int3)
CFI_ENDPROC
KPROBE_END(int3)
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_sysret)
+ sysretq
+ENDPROC(native_sysret)
+
+#endif /* CONFIG_PARAVIRT */
+
ENTRY(overflow)
zeroentry do_overflow
END(overflow)
Index: clean-start/arch/x86_64/kernel/i8259.c
===================================================================
--- cle...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...return 0;
}
Index: linux-2.6.19-quilt/arch/x86_64/kernel/entry.S
===================================================================
--- linux-2.6.19-quilt.orig/arch/x86_64/kernel/entry.S
+++ linux-2.6.19-quilt/arch/x86_64/kernel/entry.S
@@ -1064,6 +1064,22 @@ KPROBE_ENTRY(int3)
CFI_ENDPROC
KPROBE_END(int3)
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_iret)
+1: iretq
+.section __ex_table,"a"
+ .align 8
+ .quad 1b, bad_iret
+.previous
+ENDPROC(native_iret)
+
+ENTRY(native_irq_enable_sysexit)
+ sti
+ sysretq
+ENDPROC(native_irq_enable_sysexit)
+
+#endif /* CONFIG_PARAVIRT */
+
ENTRY(overflow...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...return 0;
}
Index: linux-2.6.19-quilt/arch/x86_64/kernel/entry.S
===================================================================
--- linux-2.6.19-quilt.orig/arch/x86_64/kernel/entry.S
+++ linux-2.6.19-quilt/arch/x86_64/kernel/entry.S
@@ -1064,6 +1064,22 @@ KPROBE_ENTRY(int3)
CFI_ENDPROC
KPROBE_END(int3)
+#ifdef CONFIG_PARAVIRT
+ENTRY(native_iret)
+1: iretq
+.section __ex_table,"a"
+ .align 8
+ .quad 1b, bad_iret
+.previous
+ENDPROC(native_iret)
+
+ENTRY(native_irq_enable_sysexit)
+ sti
+ sysretq
+ENDPROC(native_irq_enable_sysexit)
+
+#endif /* CONFIG_PARAVIRT */
+
ENTRY(overflow...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...R_NONE)
TRACE_IRQS_OFF
GET_THREAD_INFO(%rcx)
testl %eax,%eax
@@ -904,7 +899,7 @@ ENTRY(load_gs_index)
CFI_STARTPROC
pushf
CFI_ADJUST_CFA_OFFSET 8
- cli
+ DISABLE_INTERRUPTS(CLBR_NONE)
swapgs
gs_change:
movl %edi,%gs
@@ -1065,18 +1060,32 @@ KPROBE_ENTRY(int3)
KPROBE_END(int3)
#ifdef CONFIG_PARAVIRT
+/* Not yet working. Do not use */
+ENTRY(native_swapgs)
+ swapgs
+ jmp %cs:(paravirt_ops+PARAVIRT_swapgs)
+ENDPROC(native_swapgs)
+
ENTRY(native_iret)
1: iretq
.section __ex_table,"a"
.align 8
.quad 1b, bad_iret
.previous
+.section .fixup,"ax...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...R_NONE)
TRACE_IRQS_OFF
GET_THREAD_INFO(%rcx)
testl %eax,%eax
@@ -904,7 +899,7 @@ ENTRY(load_gs_index)
CFI_STARTPROC
pushf
CFI_ADJUST_CFA_OFFSET 8
- cli
+ DISABLE_INTERRUPTS(CLBR_NONE)
swapgs
gs_change:
movl %edi,%gs
@@ -1065,18 +1060,32 @@ KPROBE_ENTRY(int3)
KPROBE_END(int3)
#ifdef CONFIG_PARAVIRT
+/* Not yet working. Do not use */
+ENTRY(native_swapgs)
+ swapgs
+ jmp %cs:(paravirt_ops+PARAVIRT_swapgs)
+ENDPROC(native_swapgs)
+
ENTRY(native_iret)
1: iretq
.section __ex_table,"a"
.align 8
.quad 1b, bad_iret
.previous
+.section .fixup,"ax...
2007 Apr 18
8
[PATCH 0/7] x86 paravirtualization infrastructure
The following patches introduce the core infrastructure needed to
paravirtualize the 32-bit x86 Linux kernel. This is done by moving
virtualization sensitive insn's or code paths to a function table,
paravirt_ops. This structure can be populated with hypervisor specific
calls or native stubs and currently support running on bare metal, VMI,
Xen, or Lhype. These patches apply to
2007 Apr 18
8
[PATCH 0/7] x86 paravirtualization infrastructure
The following patches introduce the core infrastructure needed to
paravirtualize the 32-bit x86 Linux kernel. This is done by moving
virtualization sensitive insn's or code paths to a function table,
paravirt_ops. This structure can be populated with hypervisor specific
calls or native stubs and currently support running on bare metal, VMI,
Xen, or Lhype. These patches apply to