projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
On APs the ClLinesToNbDis was being left enabled from CAR setup.
[coreboot.git]
/
src
/
cpu
/
amd
/
model_10xxx
/
init_cpus.c
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();
}