diff options
author | Hans Rosenfeld <hans.rosenfeld@amd.com> | 2011-01-24 10:05:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-26 02:28:23 -0500 |
commit | b453de02b786c63b8928ec822401468131db0a9b (patch) | |
tree | 9cb66105460f44a4a425418de268204da7807578 | |
parent | d518573de63fb119e5e9a3137386544671387681 (diff) |
x86, amd: Enable L3 cache index disable on family 0x15
AMD family 0x15 CPUs support L3 cache index disable, so enable
it on them.
Signed-off-by: Hans Rosenfeld <hans.rosenfeld@amd.com>
Cc: <andreas.herrmann3@amd.com>
LKML-Reference: <1295881543-572552-3-git-send-email-hans.rosenfeld@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/amd_nb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_nb.c b/arch/x86/kernel/amd_nb.c index 0a99f7198bc3..a4f394c8e055 100644 --- a/arch/x86/kernel/amd_nb.c +++ b/arch/x86/kernel/amd_nb.c | |||
@@ -85,6 +85,9 @@ int amd_cache_northbridges(void) | |||
85 | boot_cpu_data.x86_mask >= 0x1)) | 85 | boot_cpu_data.x86_mask >= 0x1)) |
86 | amd_northbridges.flags |= AMD_NB_L3_INDEX_DISABLE; | 86 | amd_northbridges.flags |= AMD_NB_L3_INDEX_DISABLE; |
87 | 87 | ||
88 | if (boot_cpu_data.x86 == 0x15) | ||
89 | amd_northbridges.flags |= AMD_NB_L3_INDEX_DISABLE; | ||
90 | |||
88 | return 0; | 91 | return 0; |
89 | } | 92 | } |
90 | EXPORT_SYMBOL_GPL(amd_cache_northbridges); | 93 | EXPORT_SYMBOL_GPL(amd_cache_northbridges); |