Displaying 6 results from an estimated 6 matches for "wakeup_secondary_cpu".
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...enable_sysexit = native_irq_enable_sysexit,
.iret = native_iret,
+
+ .startup_ipi_hook = (void *)native_nop,
};
EXPORT_SYMBOL(paravirt_ops);
===================================================================
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -820,6 +823,11 @@ wakeup_secondary_cpu(int phys_apicid, un
num_starts = 2;
else
num_starts = 0;
+
+#ifdef CONFIG_PARAVIRT
+ paravirt_ops.startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+#endif
/*
* Run STARTUP IPI loop.
==================================...
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...enable_sysexit = native_irq_enable_sysexit,
.iret = native_iret,
+
+ .startup_ipi_hook = (void *)native_nop,
};
EXPORT_SYMBOL(paravirt_ops);
===================================================================
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -820,6 +823,11 @@ wakeup_secondary_cpu(int phys_apicid, un
num_starts = 2;
else
num_starts = 0;
+
+#ifdef CONFIG_PARAVIRT
+ paravirt_ops.startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+#endif
/*
* Run STARTUP IPI loop.
==================================...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...,
.iret = native_iret,
+
+ .startup_ipi_hook = (void *)native_nop,
};
EXPORT_SYMBOL(paravirt_ops);
diff -r acfb7a15715f arch/i386/kernel/smpboot.c
--- a/arch/i386/kernel/smpboot.c Thu Dec 14 16:22:03 2006 -0800
+++ b/arch/i386/kernel/smpboot.c Thu Dec 14 16:51:52 2006 -0800
@@ -831,6 +831,13 @@ wakeup_secondary_cpu(int phys_apicid, un
num_starts = 0;
/*
+ * Paravirt / VMI wants a startup IPI hook here to set up the
+ * target processor state.
+ */
+ startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+
+ /*
* Run STARTUP IPI loop.
*/
D...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...,
.iret = native_iret,
+
+ .startup_ipi_hook = (void *)native_nop,
};
EXPORT_SYMBOL(paravirt_ops);
diff -r acfb7a15715f arch/i386/kernel/smpboot.c
--- a/arch/i386/kernel/smpboot.c Thu Dec 14 16:22:03 2006 -0800
+++ b/arch/i386/kernel/smpboot.c Thu Dec 14 16:51:52 2006 -0800
@@ -831,6 +831,13 @@ wakeup_secondary_cpu(int phys_apicid, un
num_starts = 0;
/*
+ * Paravirt / VMI wants a startup IPI hook here to set up the
+ * target processor state.
+ */
+ startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+
+ /*
* Run STARTUP IPI loop.
*/
D...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...al_apicid(void);
@@ -507,6 +507,7 @@ static void __devinit start_secondary(vo
* booting is too fragile that we want to limit the
* things done here to the most necessary things.
*/
+ smpboot_pre_start_secondary_hook();
cpu_init();
preempt_disable();
smp_callin();
@@ -782,6 +783,10 @@ wakeup_secondary_cpu(int phys_apicid, un
else
num_starts = 0;
+ smpboot_startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+
+
/*
* Run STARTUP IPI loop.
*/
Index: linux-2.6.16-rc5/include/asm-i386/mach-default/smpboot_hooks.h
=============================...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...al_apicid(void);
@@ -507,6 +507,7 @@ static void __devinit start_secondary(vo
* booting is too fragile that we want to limit the
* things done here to the most necessary things.
*/
+ smpboot_pre_start_secondary_hook();
cpu_init();
preempt_disable();
smp_callin();
@@ -782,6 +783,10 @@ wakeup_secondary_cpu(int phys_apicid, un
else
num_starts = 0;
+ smpboot_startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) stack_start.esp);
+
+
/*
* Run STARTUP IPI loop.
*/
Index: linux-2.6.16-rc5/include/asm-i386/mach-default/smpboot_hooks.h
=============================...