Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104837
b: refs/heads/master
c: c134fd8
h: refs/heads/master
i:
  104835: 4c12e37
v: v3
  • Loading branch information
Maxim Shchetynin authored and Benjamin Herrenschmidt committed Jul 22, 2008
1 parent 3ee8af0 commit 97413f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 1ed6af73440c5ec920884bb800685a8cab4ce847
refs/heads/master: c134fd868fb5137984ce1b7a58f3f6dd4171615e
5 changes: 3 additions & 2 deletions trunk/drivers/edac/cell_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar)
{
struct cell_edac_priv *priv = mci->pvt_info;
struct csrow_info *csrow = &mci->csrows[0];
unsigned long address, pfn, offset;
unsigned long address, pfn, offset, syndrome;

dev_dbg(mci->dev, "ECC CE err on node %d, channel %d, ar = 0x%016lx\n",
priv->node, chan, ar);
Expand All @@ -44,10 +44,11 @@ static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar)
address = (address << 1) | chan;
pfn = address >> PAGE_SHIFT;
offset = address & ~PAGE_MASK;
syndrome = (ar & 0x000000001fe00000ul) >> 21;

/* TODO: Decoding of the error addresss */
edac_mc_handle_ce(mci, csrow->first_page + pfn, offset,
0, 0, chan, "");
syndrome, 0, chan, "");
}

static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar)
Expand Down

0 comments on commit 97413f2

Please sign in to comment.