diff options
author | Hans Rosenfeld <hans.rosenfeld@amd.com> | 2011-02-07 18:10:39 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-02-07 19:16:22 +0100 |
commit | cabb5bd7ff4d6963ec9e67f958fc30e7815425e6 (patch) | |
tree | 99e17e547d537eaa58184dba673e1b0142f2bc48 /arch/x86/pci | |
parent | 41b2610c3443e6c4760e61fc10eef73f96f9f6a5 (diff) |
x86, amd: Support L3 Cache Partitioning on AMD family 0x15 CPUs
L3 Cache Partitioning allows selecting which of the 4 L3 subcaches can be used
for evictions by the L2 cache of each compute unit. By writing a 4-bit
hexadecimal mask into the the sysfs file
/sys/devices/system/cpu/cpuX/cache/index3/subcaches, the user can set the
enabled subcaches for a CPU.
The settings are directly read from and written to the hardware, so there is no
way to have contradicting settings for two CPUs belonging to the same compute
unit. Writing will always overwrite any previous setting for a compute unit.
Signed-off-by: Hans Rosenfeld <hans.rosenfeld@amd.com>
Cc: <Andreas.Herrmann3@amd.com>
LKML-Reference: <1297098639-431383-1-git-send-email-hans.rosenfeld@amd.com>
[ -v3: minor style fixes ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions