Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47951
b: refs/heads/master
c: 84db003
h: refs/heads/master
i:
  47949: fd05745
  47947: 12661a9
  47943: 0454c12
  47935: 7536661
v: v3
  • Loading branch information
Mike Chan authored and Linus Torvalds committed Feb 12, 2007
1 parent ea867b8 commit 4eaf522
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 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: 9962fd017becf944d671da498ccaaea570452206
refs/heads/master: 84db003f249ddbcde1666376b4e3bbe9ee2c7c0c
17 changes: 11 additions & 6 deletions trunk/drivers/edac/e752x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,9 @@ static void do_process_ce(struct mem_ctl_info *mci, u16 error_one,
if (!pvt->map_type)
row = 7 - row;

edac_mc_handle_ce(mci, page, 0, sec1_syndrome, row, channel,
"e752x CE");
/* e752x mc reads 34:6 of the DRAM linear address */
edac_mc_handle_ce(mci, page, offset_in_page(sec1_add << 4),
sec1_syndrome, row, channel, "e752x CE");
}

static inline void process_ce(struct mem_ctl_info *mci, u16 error_one,
Expand Down Expand Up @@ -319,8 +320,10 @@ static void do_process_ue(struct mem_ctl_info *mci, u16 error_one,
((block_page >> 1) & 3) :
edac_mc_find_csrow_by_page(mci, block_page);

edac_mc_handle_ue(mci, block_page, 0, row,
"e752x UE from Read");
/* e752x mc reads 34:6 of the DRAM linear address */
edac_mc_handle_ue(mci, block_page,
offset_in_page(error_2b << 4),
row, "e752x UE from Read");
}
if (error_one & 0x0404) {
error_2b = scrb_add;
Expand All @@ -333,8 +336,10 @@ static void do_process_ue(struct mem_ctl_info *mci, u16 error_one,
((block_page >> 1) & 3) :
edac_mc_find_csrow_by_page(mci, block_page);

edac_mc_handle_ue(mci, block_page, 0, row,
"e752x UE from Scruber");
/* e752x mc reads 34:6 of the DRAM linear address */
edac_mc_handle_ue(mci, block_page,
offset_in_page(error_2b << 4),
row, "e752x UE from Scruber");
}
}

Expand Down

0 comments on commit 4eaf522

Please sign in to comment.