[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1224200942.7654.29.camel@pasglop>
Date: Fri, 17 Oct 2008 10:49:02 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: dougthompson@...ssion.com, linux-kernel@...r.kernel.org,
stable@...nel.org
Subject: Re: [PATCH 1/1] edac cell: fix incorrect edac_mode
On Thu, 2008-10-16 at 16:35 -0700, Andrew Morton wrote:
> Well that sounds a bit wrong of it.
>
> > Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> > Signed-off-by: Doug Thompson <dougthompson@...ssion.com>
> > ---
> >
> > drivers/edac/cell_edac.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- linux-work.orig/drivers/edac/cell_edac.c 2008-10-15
> 15:35:21.000000000 +1100
> > +++ linux-work/drivers/edac/cell_edac.c 2008-10-15
> 15:35:29.000000000 +1100
> > @@ -142,7 +142,7 @@ static void __devinit cell_edac_init_csr
> > csrow->nr_pages = (r.end - r.start + 1) >> PAGE_SHIFT;
> > csrow->last_page = csrow->first_page + csrow->nr_pages
> - 1;
> > csrow->mtype = MEM_XDR;
> > - csrow->edac_mode = EDAC_FLAG_EC | EDAC_FLAG_SECDED;
> > + csrow->edac_mode = EDAC_SECDED;
> > dev_dbg(mci->dev,
> > "Initialized on node %d, chanmask=0x%x,"
> > " first_page=0x%lx, nr_pages=0x%x\n",
>
> Seems to be needed in 2.6.27.x? Applies OK to 2.6.26, 2.6.25, etc.
>
> How far back shold we port this?
.25 sounds fine.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists