Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174463
b: refs/heads/master
c: 8de1d91
h: refs/heads/master
i:
  174461: 9a56800
  174459: b4c9791
  174455: b39f8f2
  174447: 09261e4
  174431: a30ade1
  174399: 2e77924
  174335: 5270c65
v: v3
  • Loading branch information
Borislav Petkov committed Dec 7, 2009
1 parent 0ef9354 commit 9aae02c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68798e176012750fe8487bcfa0aa66fee21eae3c
refs/heads/master: 8de1d91e628c19c1154ca15b1ea1fcc0a098b793
33 changes: 12 additions & 21 deletions trunk/drivers/edac/amd64_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,32 +862,23 @@ static void amd64_dump_misc_regs(struct amd64_pvt *pvt)

amd64_dump_dramcfg_low(pvt->dclr0, 0);

debugf1(" online-spare: 0x%8.08x\n", pvt->online_spare);
debugf1("F3xB0 (Online Spare): 0x%08x\n", pvt->online_spare);

if (boot_cpu_data.x86 == 0xf) {
debugf1(" dhar: 0x%8.08x Base=0x%08x Offset=0x%08x\n",
pvt->dhar, dhar_base(pvt->dhar),
k8_dhar_offset(pvt->dhar));
debugf1(" DramHoleValid=%s\n",
(pvt->dhar & DHAR_VALID) ? "True" : "False");
debugf1("F1xF0 (DRAM Hole Address): 0x%08x, base: 0x%08x, "
"offset: 0x%08x\n",
pvt->dhar,
dhar_base(pvt->dhar),
(boot_cpu_data.x86 == 0xf) ? k8_dhar_offset(pvt->dhar)
: f10_dhar_offset(pvt->dhar));

debugf1(" dbam-dkt: 0x%8.08x\n", pvt->dbam0);
debugf1(" DramHoleValid: %s\n",
(pvt->dhar & DHAR_VALID) ? "yes" : "no");

/* everything below this point is Fam10h and above */
/* everything below this point is Fam10h and above */
if (boot_cpu_data.x86 == 0xf)
return;

} else {
debugf1(" dhar: 0x%8.08x Base=0x%08x Offset=0x%08x\n",
pvt->dhar, dhar_base(pvt->dhar),
f10_dhar_offset(pvt->dhar));
debugf1(" DramMemHoistValid=%s DramHoleValid=%s\n",
(pvt->dhar & F10_DRAM_MEM_HOIST_VALID) ?
"True" : "False",
(pvt->dhar & DHAR_VALID) ?
"True" : "False");
}

/* Only if NOT ganged does dcl1 have valid info */
/* Only if NOT ganged does dclr1 have valid info */
if (!dct_ganging_enabled(pvt))
amd64_dump_dramcfg_low(pvt->dclr1, 1);

Expand Down

0 comments on commit 9aae02c

Please sign in to comment.