OSDN Git Service

x86/amd: Fix L1i and L2 cache sharing information for AMD family 15h processors
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Wed, 8 Feb 2012 19:52:29 +0000 (20:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:34:27 +0000 (16:34 -0800)
commit534b465e1cf6e3bbceebbc7866a204107b83eb95
tree8d07aa1c56dca90eeb2736a4ec845907409c7e1b
parent5fa70afe044fc0ede6c5ac99c60533e5867ea346
x86/amd: Fix L1i and L2 cache sharing information for AMD family 15h processors

commit 32c3233885eb10ac9cb9410f2f8cd64b8df2b2a1 upstream.

For L1 instruction cache and L2 cache the shared CPU information
is wrong. On current AMD family 15h CPUs those caches are shared
between both cores of a compute unit.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=42607

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Petkov Borislav <Borislav.Petkov@amd.com>
Cc: Dave Jones <davej@redhat.com>
Link: http://lkml.kernel.org/r/20120208195229.GA17523@alberich.amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/intel_cacheinfo.c