projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202625e
)
On APs the ClLinesToNbDis was being left enabled from CAR setup.
author
Marc Jones
<marc.jones@amd.com>
Thu, 24 Apr 2008 19:49:59 +0000
(19:49 +0000)
committer
Marc Jones
<marc.jones@amd.com>
Thu, 24 Apr 2008 19:49:59 +0000
(19:49 +0000)
Disabling it should help performance.
Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3262
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/cpu/amd/model_10xxx/init_cpus.c
patch
|
blob
|
history
diff --git
a/src/cpu/amd/model_10xxx/init_cpus.c
b/src/cpu/amd/model_10xxx/init_cpus.c
index 16b5a3d928b3e2036060254a804e6886d8ad6f91..2de1ad6bdbb14e51f56179403f15271f94429bb6 100644
(file)
--- a/
src/cpu/amd/model_10xxx/init_cpus.c
+++ b/
src/cpu/amd/model_10xxx/init_cpus.c
@@
-295,6
+295,13
@@
static void enable_apic_ext_id(u32 node)
static void STOP_CAR_AND_CPU()
{
+ msr_t msr;
+
+ /* Disable L2 IC to L3 connection (Only for CAR) */
+ msr = rdmsr(BU_CFG2);
+ msr.lo &= ~(1 << ClLinesToNbDis);
+ wrmsr(BU_CFG2, msr);
+
disable_cache_as_ram(); // inline
stop_this_cpu();
}