Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271549
b: refs/heads/master
c: 295d8cd
h: refs/heads/master
i:
  271547: 0f4bac9
v: v3
  • Loading branch information
Borislav Petkov committed Oct 6, 2011
1 parent 9cd78ff commit 6b32b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 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: 086be786ca10af7a9783ab06a9b5594c2c6facbf
refs/heads/master: 295d8cda2689a74ae88bcece7b4cfe0bf8bf9a91
20 changes: 1 addition & 19 deletions trunk/drivers/edac/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,26 +597,8 @@ void amd_decode_nb_mce(int node_id, struct mce *m, u32 nbcfg)
struct cpuinfo_x86 *c = &boot_cpu_data;
u16 ec = EC(m->status);
u8 xec = XEC(m->status, 0x1f);
u32 nbsh = (u32)(m->status >> 32);
int core = -1;

pr_emerg(HW_ERR "Northbridge Error (node %d", node_id);

/* F10h, revD can disable ErrCpu[3:0] through ErrCpuVal */
if (c->x86 == 0x10 && c->x86_model > 7) {
if (nbsh & NBSH_ERR_CPU_VAL)
core = nbsh & nb_err_cpumask;
} else {
u8 assoc_cpus = nbsh & nb_err_cpumask;

if (assoc_cpus > 0)
core = fls(assoc_cpus) - 1;
}

if (core >= 0)
pr_cont(", core %d): ", core);
else
pr_cont("): ");
pr_emerg(HW_ERR "Northbridge Error (node %d): ", node_id);

switch (xec) {
case 0x2:
Expand Down

0 comments on commit 6b32b53

Please sign in to comment.