]> git.baikalelectronics.ru Git - kernel.git/commit
cpu/hotplug: Boot HT siblings at least once
authorThomas Gleixner <tglx@linutronix.de>
Fri, 29 Jun 2018 14:05:48 +0000 (16:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 2 Jul 2018 09:25:29 +0000 (11:25 +0200)
commit1448f6e79c84c874302f9d744d36cf6992c99098
treeca7ad7e935411e3c9142e9dedbe3f655be0f8cfb
parent6abfc9a5620ba8336d3837fc8390a7bafb56dbe3
cpu/hotplug: Boot HT siblings at least once

Due to the way Machine Check Exceptions work on X86 hyperthreads it's
required to boot up _all_ logical cores at least once in order to set the
CR4.MCE bit.

So instead of ignoring the sibling threads right away, let them boot up
once so they can configure themselves. After they came out of the initial
boot stage check whether its a "secondary" sibling and cancel the operation
which puts the CPU back into offline state.

Reported-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Tony Luck <tony.luck@intel.com>
kernel/cpu.c