All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, UV: Remove UV delay in starting slave cpus
@ 2011-08-05 14:09 Jack Steiner
  2011-08-09 14:29 ` [tip:x86/urgent] " tip-bot for Jack Steiner
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Steiner @ 2011-08-05 14:09 UTC (permalink / raw)
  To: mingo, tglx; +Cc: linux-kernel

Delete the 10 msec delay between the INIT and SIPI when starting slave
cpus. I can find no requirement for this delay. BIOS also has similar code
sequences without the delay.

Removing the delay reduces boot time by 40 sec. Every bit helps.

Signed-off-by: Jack Steiner <steiner@sgi.com>


---
 arch/x86/kernel/apic/x2apic_uv_x.c |    1 -
 1 file changed, 1 deletion(-)

Index: linux/arch/x86/kernel/apic/x2apic_uv_x.c
===================================================================
--- linux.orig/arch/x86/kernel/apic/x2apic_uv_x.c	2011-08-05 08:22:42.511980932 -0500
+++ linux/arch/x86/kernel/apic/x2apic_uv_x.c	2011-08-05 08:23:27.488613896 -0500
@@ -207,7 +207,6 @@ static int __cpuinit uv_wakeup_secondary
 	    ((start_rip << UVH_IPI_INT_VECTOR_SHFT) >> 12) |
 	    APIC_DM_INIT;
 	uv_write_global_mmr64(pnode, UVH_IPI_INT, val);
-	mdelay(10);
 
 	val = (1UL << UVH_IPI_INT_SEND_SHFT) |
 	    (phys_apicid << UVH_IPI_INT_APIC_ID_SHFT) |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-09 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 14:09 [PATCH] x86, UV: Remove UV delay in starting slave cpus Jack Steiner
2011-08-09 14:29 ` [tip:x86/urgent] " tip-bot for Jack Steiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.