Conform L3 Cache Index Disable to Linux standards
PATCH 1/1 Conform L3 Cache Index Disable to Linux standards
Add ABI Documentation entry and fix some /sys directory formating issues with the L3 Cache Index Disable feature for future AMD processors. Add a check to disable it for family 0x10 models that do not support it yet.
diffed against 2.6.29-rc5-git3
-Mark Langsdorf
Operating System Research Center
AMD
Signed-off-by Mark Langsdorf <[email protected]>
Documentation/ABI/testing/sysfs-devices-cache_disable new file +18 -0
@@ -0,0 +1,18 @@ +What: /sys/devices/system/cpu/cpu*/cache/index*/cache_disable_X +Date: August 2008 +KernelVersion: 2.6.27 +Contact: [email protected] +Description: These files exist in every cpu's cache index directories. + There are currently 2 cache_disable_# files in each + directory. Reading from these files on a supported + processor will return that cache disable index value + for that processor and node. Writing to one of these + files will cause the specificed cache index to be disabled. + + Currently, only AMD Family 10h Processors support cache index + disable, and only for their L3 caches. See the BIOS and + Kernel Developer's Guide at + http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_do... + for formatting information and other details on the + cache index disable. +Users: [email protected]
arch/x86/kernel/cpu/intel_cacheinfo.c +74 -100
216 lines not on this page · raw message
Documentation/ABI/testing/sysfs-devices-cache_disable line 16
Quoted 7 lines · Mark Langsdorf
+++ b/Documentation/ABI/testing/sysfs-devices-cache_disable Thu Feb 19 13:36:25 2009 -0600
Documentation/ABI/testing/sysfs-devices-cache_disable new file +5
-0+ Currently, only AMD Family 10h Processors support cache index + disable, and only for their L3 caches. See the BIOS and + Kernel Developer's Guide at + http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_do... + for formatting information and other details on the
that url doesn't work very well...
Eric