Revision 08b259631b5a1d912af4832847b5642f377d9101 authored by Yazen Ghannam on 05 February 2017, 10:50:22 UTC, committed by Ingo Molnar on 05 February 2017, 11:18:45 UTC
After:

  a33d331761bc ("x86/CPU/AMD: Fix Bulldozer topology")

our  SMT scheduling topology for Fam17h systems is broken, because
the ThreadId is included in the ApicId when SMT is enabled.

So, without further decoding cpu_core_id is unique for each thread
rather than the same for threads on the same core. This didn't affect
systems with SMT disabled. Make cpu_core_id be what it is defined to be.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org> # 4.9
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170205105022.8705-2-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 79a8b9a
History
File Mode Size
.gitignore -rw-r--r-- 8 bytes
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 872 bytes
ap.c -rw-r--r-- 1.1 KB
chan.c -rw-r--r-- 23.8 KB
core.c -rw-r--r-- 34.0 KB
core.h -rw-r--r-- 15.9 KB
db.txt -rw-r--r-- 759 bytes
debugfs.c -rw-r--r-- 3.0 KB
debugfs.h -rw-r--r-- 300 bytes
ethtool.c -rw-r--r-- 697 bytes
genregdb.awk -rw-r--r-- 4.0 KB
ibss.c -rw-r--r-- 12.3 KB
lib80211.c -rw-r--r-- 6.5 KB
lib80211_crypt_ccmp.c -rw-r--r-- 11.6 KB
lib80211_crypt_tkip.c -rw-r--r-- 20.7 KB
lib80211_crypt_wep.c -rw-r--r-- 7.3 KB
mesh.c -rw-r--r-- 7.5 KB
mlme.c -rw-r--r-- 21.6 KB
nl80211.c -rw-r--r-- 386.2 KB
nl80211.h -rw-r--r-- 3.9 KB
ocb.c -rw-r--r-- 2.0 KB
radiotap.c -rw-r--r-- 11.8 KB
rdev-ops.h -rw-r--r-- 33.3 KB
reg.c -rw-r--r-- 83.2 KB
reg.h -rw-r--r-- 5.8 KB
regdb.h -rw-r--r-- 948 bytes
scan.c -rw-r--r-- 44.9 KB
sme.c -rw-r--r-- 28.6 KB
sysfs.c -rw-r--r-- 4.0 KB
sysfs.h -rw-r--r-- 183 bytes
trace.c -rw-r--r-- 102 bytes
trace.h -rw-r--r-- 83.7 KB
util.c -rw-r--r-- 43.7 KB
wext-compat.c -rw-r--r-- 38.6 KB
wext-compat.h -rw-r--r-- 2.3 KB
wext-core.c -rw-r--r-- 29.8 KB
wext-priv.c -rw-r--r-- 6.9 KB
wext-proc.c -rw-r--r-- 4.0 KB
wext-sme.c -rw-r--r-- 9.2 KB
wext-spy.c -rw-r--r-- 6.6 KB

back to top