x86/topology: Provide topology_smt_supported()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 08:37:20 +0000 (10:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:14:45 +0000 (18:14 +0200)
commit16fd33cd353be2cb71f2431788e5b2ae02891a77
tree012923e5ddfb1330902f973b38d6a6c55aabaab9
parent7b69a96e5a328f17fe33f3826d7e8349ab59015d
x86/topology: Provide topology_smt_supported()

commit f048c399e0f7490ab7296bc2c255d37eb14a9675 upstream

Provide information whether SMT is supoorted by the CPUs. Preparatory patch
for SMT control mechanism.

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c