search for: stack_start

Displaying 20 results from an estimated 24 matches for "stack_start".

2007 Apr 28
3
huh startup_ipi_hook?
...e frankly ridiculous. In the middle of wake_up_secondary_cpu: We have: /* * 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); As far as I can tell from reading this there is a completely different mechanism in place to start for a secondary processor. Which seems sane. What doesn't seem sane is bothering to run the rest of the code for sending an INIT message to a secondary processor. It certainly does not fe...
2007 Apr 28
3
huh startup_ipi_hook?
...e frankly ridiculous. In the middle of wake_up_secondary_cpu: We have: /* * 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); As far as I can tell from reading this there is a completely different mechanism in place to start for a secondary processor. Which seems sane. What doesn't seem sane is bothering to run the rest of the code for sending an INIT message to a secondary processor. It certainly does not fe...
2013 Aug 26
5
[RFC PATCH 0/2] GLOBAL() macro for asm code.
Hello, This series has been split into two patches, one for arm and one for x86. I figured that this was easier than doing it as a single combined patch, especially as the changes are functionally independent. x86 has been boot tested, but arm has not even been compile tested as I lack a suitable cross compiler. However, the changes are just text replacement, so I dont expect any issues. The
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...86/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. =================================================================== --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h @@ -148,6 +148,8 @@ struct paravirt_ops /* These two are jmp to, not actually called. */ void (fastcall *irq_en...
2007 Apr 18
0
[PATCH 3/5] Paravirt smp.patch
...86/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. =================================================================== --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h @@ -148,6 +148,8 @@ struct paravirt_ops /* These two are jmp to, not actually called. */ void (fastcall *irq_en...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...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. */ Dprintk("#startup loops: %d.\n", num_starts); diff -r acfb7a15715f include/asm-i386/paravirt.h --- a/include/asm-i386/paravirt.h Thu Dec 14 16:22:03 2006 -0800 +++ b/include/asm-i386/paravirt.h Thu Dec 14 16:51:48 2006 -0800 @@ -151,6 +151,8...
2007 Apr 18
0
[PATCH 4/6] SMP boot hook for paravirt
...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. */ Dprintk("#startup loops: %d.\n", num_starts); diff -r acfb7a15715f include/asm-i386/paravirt.h --- a/include/asm-i386/paravirt.h Thu Dec 14 16:22:03 2006 -0800 +++ b/include/asm-i386/paravirt.h Thu Dec 14 16:51:48 2006 -0800 @@ -151,6 +151,8...
2015 Nov 17
1
[PATCH] paravirt: remove unused pv_apic_ops structure
...l/smpboot.c @@ -629,13 +629,6 @@ wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long start_eip) 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, - stack_start); - - /* * Run STARTUP IPI loop. */ pr_debug("#startup loops: %d\n", num_starts); diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 5774800..4334e511 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1265,12 +1265,6 @@ static const struc...
2015 Nov 17
1
[PATCH] paravirt: remove unused pv_apic_ops structure
...l/smpboot.c @@ -629,13 +629,6 @@ wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long start_eip) 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, - stack_start); - - /* * Run STARTUP IPI loop. */ pr_debug("#startup loops: %d\n", num_starts); diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 5774800..4334e511 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1265,12 +1265,6 @@ static const struc...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...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 =================================================================== --- linux-2.6.16-rc5.orig/include/asm-i386/mach-default/smpboot_hooks.h 2006-03-08 10:53:46.000000000 -0800 +++ l...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...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 =================================================================== --- linux-2.6.16-rc5.orig/include/asm-i386/mach-default/smpboot_hooks.h 2006-03-08 10:53:46.000000000 -0800 +++ l...
2007 Apr 18
5
[patch 0/5] i386-gdt-pda i386 gdt and pda updates
Hi Andrew, This patch series adds to the end of the existing i386-gdt-cleanups patches: allow-per-cpu-variables-to-be-page-aligned.patch i386-gdt-cleanups-use-per-cpu-variables-for-gdt-pda.patch i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot.patch i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot-fix.patch i386-gdt-cleanups-clean-up-cpu_init.patch
2007 Apr 18
5
[patch 0/5] i386-gdt-pda i386 gdt and pda updates
Hi Andrew, This patch series adds to the end of the existing i386-gdt-cleanups patches: allow-per-cpu-variables-to-be-page-aligned.patch i386-gdt-cleanups-use-per-cpu-variables-for-gdt-pda.patch i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot.patch i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot-fix.patch i386-gdt-cleanups-clean-up-cpu_init.patch
2007 Apr 28
3
[PATCH] i386: introduce voyager smp_ops, fix voyager build
...ed) /* external functions not defined in the headers */ extern void calibrate_delay(void); - secondary_cpu_init(); + cpu_init(); /* OK, we're in the routine */ ack_CPI(VIC_CPU_BOOT_CPI); @@ -580,7 +579,7 @@ do_boot_cpu(__u8 cpu) /* init_tasks (in sched.c) is indexed logically */ stack_start.esp = (void *) idle->thread.esp; - init_gdt(cpu, idle); + init_gdt(cpu); irq_ctx_init(cpu); /* Note: Don't modify initial ss override */ @@ -884,8 +883,8 @@ smp_invalidate_interrupt(void) /* This routine is called with a physical cpu mask */ static void -flush_tlb_others (unsigne...
2007 Apr 28
3
[PATCH] i386: introduce voyager smp_ops, fix voyager build
...ed) /* external functions not defined in the headers */ extern void calibrate_delay(void); - secondary_cpu_init(); + cpu_init(); /* OK, we're in the routine */ ack_CPI(VIC_CPU_BOOT_CPI); @@ -580,7 +579,7 @@ do_boot_cpu(__u8 cpu) /* init_tasks (in sched.c) is indexed logically */ stack_start.esp = (void *) idle->thread.esp; - init_gdt(cpu, idle); + init_gdt(cpu); irq_ctx_init(cpu); /* Note: Don't modify initial ss override */ @@ -884,8 +883,8 @@ smp_invalidate_interrupt(void) /* This routine is called with a physical cpu mask */ static void -flush_tlb_others (unsigne...
2007 Apr 18
8
[patch 0/6] i386 gdt and percpu cleanups
Hi Andi, This is a series of patches based on your latest queue (as of the other day, at least). It includes: - the most recent patch to compute the appropriate amount of percpu space to allocate, using a separate reservation for modules where needed. - make the percpu sections page-aligned, so that percpu variables can be page aligned if needed (which is used by gdt_page) -
2007 Apr 18
8
[patch 0/6] i386 gdt and percpu cleanups
Hi Andi, This is a series of patches based on your latest queue (as of the other day, at least). It includes: - the most recent patch to compute the appropriate amount of percpu space to allocate, using a separate reservation for modules where needed. - make the percpu sections page-aligned, so that percpu variables can be page aligned if needed (which is used by gdt_page) -
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2012 Nov 26
13
[PATCH 0 of 4] Minios improvements for app development
This patch series contains a set of patches making minios rather easier to use, from an application development point of view. Overview of patches: 1 Command line argument parsing support, from Xen. 2 Weak console handler function. 3 Build system tweaks for application directories. 4 Trailing whitespace cleanup. (because it is very messy) Patch 4 is likely to be more controversial than