Trying to freeze and failing ...

Andrew Ip aip at cwlinux.com
Tue Jun 24 00:44:01 CEST 2003


Hi,

> Can anyone who has built a k7sem recently verify that the 'FIXED MTRR set 
> to UC' code is not fouling up the K7sem? 
The problem is confirmed, and it is related to enabling ecc in msr.
If you comment the code, you should be fine.  I guess we need better
mechanism to enable or disable in config file.

--- freebios/src/cpu/k7/cpufixup.c.bak      2003-04-09 08:01:08.000000000 +0800
+++ freebios/src/cpu/k7/cpufixup.c  2003-06-24 12:41:43.000000000 +0800
@@ -51,7 +51,7 @@
        rdmsr(SYSCFG_MSR, lo, hi);
        printk_spew("SYSCFG was 0x%x:0x%x\n", hi, lo);
        lo |= SYSCFG_MSR_MtrrVarDramEn;
-       lo |= SYSCFG_MSR_SysEccEn;
+//     lo |= SYSCFG_MSR_SysEccEn;
        wrmsr(SYSCFG_MSR, lo, hi);
        rdmsr(SYSCFG_MSR, lo, hi);
        printk_spew("SYSCFG IS NOW 0x%x:0x%x\n", hi, lo);


-Andrew


-- 
Andrew Ip
Email:  aip at cwlinux.com
Tel:    (852) 2542 2046
Fax:    (852) 2542 2036
Mobile: (852) 9201 9866

Cwlinux Limited
Unit 202B 2/F Lai Cheong Factory Building,
479-479A Castle Peak Road,
Lai Chi Kok, Kowloon,
Hong Kong.

Tel: (852)2542 2046
Fax: (852)2542 2036

For public pgp key, please obtain it from http://www.keyserver.net/en.



More information about the coreboot mailing list