From: Suresh Siddha Date: Thu, 22 Dec 2011 01:45:19 +0000 (-0800) Subject: x86: Skip cpus with apic-ids >= 255 in !x2apic_mode X-Git-Tag: v3.3-rc1~189^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c284b42abadbb22083bfde24d308899c08d44ffa;p=pandora-kernel.git x86: Skip cpus with apic-ids >= 255 in !x2apic_mode If the x2apic mode is disabled for reasons like interrupt-remapping not available etc, then we need to skip the logical cpu bringup of apic-id's >= 255. Otherwise as the platform is in xapic mode, init/startup IPI's will consider only the low 8-bits and there is a possibility of re-sending init/startup IPI's to the logical cpu that is already online. This will avoid potential reboots/unpredictable behavior etc. Signed-off-by: Suresh Siddha Link: http://lkml.kernel.org/r/20111222014632.702932458@sbsiddha-desk.sc.intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed