x86/topology: Fix Intel HT disable
authorPeter Zijlstra <peterz@infradead.org>
Fri, 18 Mar 2016 15:03:48 +0000 (16:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Mar 2016 09:26:40 +0000 (10:26 +0100)
commit63d1e995be455ae9196270eb4b789de21afd42ed
tree209f75e65c7d6959b590e146bc9bde88e05c5aa4
parentb5d5f27d938fb6fc8d3202704e699d2694a02da6
x86/topology: Fix Intel HT disable

As per the comment in the code; due to BIOS it is sometimes impossible to know
if there actually are smp siblings until the machine is fully enumerated. So
we rather overestimate the number of possible packages.

Fixes: 1f12e32f4cd5 ("x86/topology: Create logical package id")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: aherrmann@suse.com
Cc: jencce.kernel@gmail.com
Cc: bp@alien8.de
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Link: http://lkml.kernel.org/r/20160318150538.611014173@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/smpboot.c