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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 150 bytes |
hsr_device.c | -rw-r--r-- | 12.2 KB |
hsr_device.h | -rw-r--r-- | 836 bytes |
hsr_forward.c | -rw-r--r-- | 10.4 KB |
hsr_forward.h | -rw-r--r-- | 577 bytes |
hsr_framereg.c | -rw-r--r-- | 13.2 KB |
hsr_framereg.h | -rw-r--r-- | 1.7 KB |
hsr_main.c | -rw-r--r-- | 3.2 KB |
hsr_main.h | -rw-r--r-- | 5.2 KB |
hsr_netlink.c | -rw-r--r-- | 11.3 KB |
hsr_netlink.h | -rw-r--r-- | 923 bytes |
hsr_slave.c | -rw-r--r-- | 4.4 KB |
hsr_slave.h | -rw-r--r-- | 1.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...