x86: cacheinfo: use L3 cache index disable feature only for CPUs that support it
commitbda869c614c937c318547c3ee1d65a316b693c21
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Thu, 9 Apr 2009 13:05:10 +0000 (9 15:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 12:21:40 +0000 (10 14:21 +0200)
tree7c18363d0a77018e0ad690a9ad020d7d0f63427f
parenta0d22f485af1553060b4094ee0154537a8f6a8a6
x86: cacheinfo: use L3 cache index disable feature only for CPUs that support it

AMD family 0x11 CPU doesn't support the feature.

Some AMD family 0x10 CPUs do not support it or have an erratum, see
erratum #382 in "Revision Guide for AMD Family 10h Processors, 41322
Rev. 3.40 February 2009".

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
CC: Mark Langsdorf <mark.langsdorf@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20090409130510.GG31527@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c