On Thu, Sep 13, 2012 at 02:58:25PM +0200, Borislav Petkov wrote: > Here's the script, let me know how it goes: Here's a more correct version. I'm not saying yours won't work based on the rdmsr and setpci output on your box, but here's a version which should pay attention to one other workaround and work on all K8s. HTH. -- #!/bin/bash # assuming a single CPU system nb_cfg=0xc001001f ht_tr_ctl=0x68 val="0x"$(rdmsr $nb_cfg) # revert E131 workaround val=$(( $val & ~(1 << 20) )) val=$(( $val | (1 << 32) )) val=$(printf "0x%08x" $val) wrmsr $nb_cfg $val val="0x"$(setpci -s 18.0 $ht_tr_ctl.l) # clear bits [22:21] val=$(( $val & ~( 0x3 << 21) )) val=$(( $val | (1 << 21) )) val=$(printf "0x%08x" $val) setpci -s 18.0 $ht_tr_ctl.l=$val echo "Erratum 169 workaround applied." -- -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html