]> git.baikalelectronics.ru Git - kernel.git/commit
x86/AMD: Fix last level cache topology for AMD Fam17h systems
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Wed, 4 Nov 2015 11:49:42 +0000 (12:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 7 Nov 2015 09:37:51 +0000 (10:37 +0100)
commit14a865c348881d7190284ea9e8bdb653c1560fb1
tree666860ae6203ecfe07e421db3c32f6f511d0b28c
parent5e8e3de84b2fcc6d181a6014a95ffea98fdd991a
x86/AMD: Fix last level cache topology for AMD Fam17h systems

On AMD Fam17h systems, the last level cache is not resident in the
northbridge. Therefore, we cannot assign cpu_llc_id to the same value as
Node ID as we have been doing until now.

We should rather look at the ApicID bits of the core to provide us the
last level cache ID info.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Huang Rui <ray.huang@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jacob Shin <jacob.w.shin@gmail.com>
Link: http://lkml.kernel.org/r/1446582899-9378-1-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/amd.c