x86/smp/boot: Add cmdline "cpu_init_udelay=N" to specify cpu_up() delay
authorLen Brown <len.brown@intel.com>
Mon, 11 May 2015 21:27:09 +0000 (17:27 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 May 2015 06:54:32 +0000 (08:54 +0200)
commitd68921f9bd148359e6d01c84aaa2e32bfbd82970
tree63a26b919eea60a11495bedf34e069b672469e8d
parent191a66353b22fad8ac89404ab4c929cbe7b0afb2
x86/smp/boot: Add cmdline "cpu_init_udelay=N" to specify cpu_up() delay

No change to default behavior.

Replace the hard-coded mdelay(10) in cpu_up() with a variable
udelay, that is set to a defined default -- rather than a magic
number.

Add a boot-time override, "cpu_init_udelay=N"

Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jan H. Schönherr <jschoenh@amazon.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/2fe8e6c798e8def271122f62df9bbf58dc283e2a.1431379433.git.len.brown@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/kernel-parameters.txt
arch/x86/kernel/smpboot.c