Patchwork patch for errata#169

login
register
about
Submitter Josef Kellermann
Date 2011-02-14 15:17:43
Message ID <4D594797.80003@arcor.de>
Download mbox | patch
Permalink /patch/2638/
State Accepted
Commit r6355
Headers show

Comments

Josef Kellermann - 2011-02-14 15:17:43
this patch should be applied to k8_f0 (NODE_HT(x)), not k8_f3 (NODE_MC(x)).
see patch for details.

Signed-off-by: Josef Kellermann <seppk@arcor.de> <mailto://seppk@arcor.de>
Alexandru Gagniuc - 2011-02-14 16:07:10
On 02/14/2011 05:17 PM, Josef Kellermann wrote:
> this patch should be applied to k8_f0 (NODE_HT(x)), not k8_f3 (NODE_MC(x)).
> see patch for details.
> 
> Signed-off-by: Josef Kellermann <seppk@arcor.de> <mailto://seppk@arcor.de>
> 
You are correct. This is what happens when writing patches at 2AM.
I'm glad you caught that :) .

Acked-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>

Patch

diff --git a/src/northbridge/amd/amdk8/coherent_ht.c b/src/northbridge/amd/amdk8/coherent_ht.c
index 12c125c..f66e2cf 100644
--- a/src/northbridge/amd/amdk8/coherent_ht.c
+++ b/src/northbridge/amd/amdk8/coherent_ht.c
@@ -1717,6 +1717,7 @@  static int apply_cpu_errata_fixes(unsigned nodes)
 		{
 			/* Errata 169 */
 			/* We also need to set some bits in NB_CFG_MSR, which is handled in src/cpu/amd/model_fxx/ */
+			dev = NODE_HT(node);
 			cmd = pci_read_config32(dev, 0x68);
 			cmd &= ~(1 << 22);
 			cmd |= (1 << 21);