OSDN Git Service

x86/cpu/intel: Evaluate smp_num_siblings early
authorThomas Gleixner <tglx@linutronix.de>
Tue, 5 Jun 2018 23:00:55 +0000 (01:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 12:20:59 +0000 (14:20 +0200)
commit1910ad5624968f93be48e8e265513c54d66b897c
tree3228681209a8980e4948f9909201d76efeaf8889
parent95f3d39ccf7aaea79d1ffdac1c887c2e100ec1b6
x86/cpu/intel: Evaluate smp_num_siblings early

Make use of the new early detection function to initialize smp_num_siblings
on the boot cpu before the MP-Table or ACPI/MADT scan happens. That's
required for force disabling SMT.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/intel.c