]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: L3 cache index disable for 2.6.26
authorMark Langsdorf <mark.langsdorf@amd.com>
Fri, 18 Jul 2008 21:03:52 +0000 (16:03 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Jul 2008 14:17:43 +0000 (16:17 +0200)
commit8cb22bcb1f3ef70d4d48092e9b057175ad9ec78d
tree9f878b4eac616d505dc03e13598f52e0fe9054c5
parent026e2c05ef58ef413e2d52696f125d5ea1aa8bce
x86: L3 cache index disable for 2.6.26

New versions of AMD processors have support to disable parts
of their L3 caches if too many MCEs are generated by the
L3 cache.

This patch provides a /sysfs interface under the cache
hierarchy to display which caches indices are disabled
(if any) and to monitoring applications to disable a
cache index.

This patch does not set an automatic policy to disable
the L3 cache.  Policy decisions would need to be made
by a RAS handler.  This patch merely makes it easier to
see what indices are currently disabled.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c