]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/amd: Re-enable CPU topology extensions in case BIOS has disabled it
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Tue, 3 Apr 2012 10:13:07 +0000 (12:13 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 15 Jun 2012 20:38:37 +0000 (00:38 +0400)
commit18f7f882648c17680d91152eee46cd3637436cec
tree86b618f8d2f4f0849b892f30c2a42c7c4be4b9f0
parente79ac7d544c9d9b7bb5257f478f97e280f38bf47
x86/amd: Re-enable CPU topology extensions in case BIOS has disabled it

BIOS will switch off the corresponding feature flag on family
15h models 10h-1fh non-desktop CPUs.

The topology extension CPUID leafs are required to detect which
cores belong to the same compute unit. (thread siblings mask is
set accordingly and also correct information about L1i and L2
cache sharing depends on this).

W/o this patch we wouldn't see which cores belong to the same
compute unit and also cache sharing information for L1i and L2
would be incorrect on such systems.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/amd.c