[PATCH 5/8] perf/x86/intel: Use new topology_max_smt_threads() in HT leak workaround

2016-05-19 Thread Andi Kleen
From: Andi Kleen Now that we have topology_max_smt_threads() use it to detect the HT workarounds for older CPUs. v2: Use topology_max_smt_threads() Signed-off-by: Andi Kleen --- arch/x86/events/intel/core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/even

[PATCH 5/8] perf/x86/intel: Use new topology_max_smt_threads() in HT leak workaround

2016-05-13 Thread Andi Kleen
From: Andi Kleen Now that we have topology_max_smt_threads() use it to detect the HT workarounds for older CPUs. v2: Use topology_max_smt_threads() Signed-off-by: Andi Kleen --- arch/x86/events/intel/core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/even