On APs the ClLinesToNbDis was being left enabled from CAR setup.

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
This commit is contained in:
Marc Jones 2008-04-24 19:49:59 +00:00
parent 202625e61f
commit 403b89a14f
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}