linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [v2 PATCH 0/3] Add CPC925 Memory Controller EDAC drivers
@ 2009-04-13  6:05 Harry Ciao
  2009-04-13  6:05 ` [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver Harry Ciao
  2009-04-15 22:26 ` [v2 PATCH 0/3] Add CPC925 Memory Controller EDAC drivers Andrew Morton
  0 siblings, 2 replies; 9+ messages in thread
From: Harry Ciao @ 2009-04-13  6:05 UTC (permalink / raw)
  To: norsk5, michael, bluesmoke-devel, linuxppc-dev; +Cc: linux-kernel


Hi Doug and Michael,

This is the latest v2 patches, the 1/3 of CPC925 MC EDAC driver remains
the same as before, the 2/3 has been pushed to Andrew already, and the 
3/3 has integrated Michael's suggestions to add a fixup routine for the 
memory controller on Maple that has incorrect number of cells, and create
related platform_device for CPC925 on Motorola ATCA-6101 target by far.

All patches have been tested, please give me your further concerns or 
suggestions, thanks!

Best regards,

Harry

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [v2 PATCH 2/3] EDAC: Add edac_device_alloc_index()
@ 2009-04-17 21:42 Doug Thompson
  0 siblings, 0 replies; 9+ messages in thread
From: Doug Thompson @ 2009-04-17 21:42 UTC (permalink / raw)
  To: Harry Ciao, Andrew Morton; +Cc: linuxppc-dev, bluesmoke-devel, linux-kernel


--- On Wed, 4/15/09, Andrew Morton <akpm@linux-foundation.org> wrote:=0A=0A=
> From: Andrew Morton <akpm@linux-foundation.org>=0A> Subject: Re: [v2 PATC=
H 2/3] EDAC: Add edac_device_alloc_index()=0A> To: "Harry Ciao" <qingtao.ca=
o@windriver.com>=0A> Cc: norsk5@yahoo.com, michael@ellerman.id.au, bluesmok=
e-devel@lists.sourceforge.net, linuxppc-dev@ozlabs.org, linux-kernel@vger.k=
ernel.org=0A> Date: Wednesday, April 15, 2009, 4:27 PM=0A> On Mon, 13 Apr 2=
009 14:05:15 +0800=0A> Harry Ciao <qingtao.cao@windriver.com>=0A> wrote:=0A=
> =0A> > Add edac_device_alloc_index(), because for MAPLE=0A> platform ther=
e may=0A> > exist several EDAC driver modules that could make use=0A> of=0A=
> > edac_device_ctl_info structure at the same time. The=0A> index allocati=
on=0A> > for these structures should be taken care of by EDAC=0A> core.=0A>=
 > =0A> =0A> From: Andrew Morton <akpm@linux-foundation.org>=0A> =0A> keep =
things neat.=A0 Also avoids having global=0A> identifier device_index=0A> s=
hadowed by local identifier device_index.=0A> =0A> Cc: Benjamin Herrenschmi=
dt <benh@kernel.crashing.org>=0A=0AAcked-by: Doug Thompson <dougthompson@xm=
ission.com>=0A=0A> Cc: Harry Ciao <qingtao.cao@windriver.com>=0A> Cc: Kumar=
 Gala <galak@gate.crashing.org>=0A> Cc: Michael Ellerman <michael@ellerman.=
id.au>=0A> Cc: Paul Mackerras <paulus@samba.org>=0A> Signed-off-by: Andrew =
Morton <akpm@linux-foundation.org>=0A> ---=0A> =0A>  drivers/edac/edac_devi=
ce.c |=A0 =A0 3 ++-=0A>  1 file changed, 2 insertions(+), 1 deletion(-)=0A>=
 =0A> diff -puN=0A> drivers/edac/amd8111_edac.c~edac-add-edac_device_alloc_=
index-cleanup=0A> drivers/edac/amd8111_edac.c=0A> diff -puN=0A> drivers/eda=
c/edac_core.h~edac-add-edac_device_alloc_index-cleanup=0A> drivers/edac/eda=
c_core.h=0A> diff -puN=0A> drivers/edac/edac_device.c~edac-add-edac_device_=
alloc_index-cleanup=0A> drivers/edac/edac_device.c=0A> ---=0A> a/drivers/ed=
ac/edac_device.c~edac-add-edac_device_alloc_index-cleanup=0A> +++ a/drivers=
/edac/edac_device.c=0A> @@ -37,7 +37,6 @@=0A> =A0 */=0A>  static DEFINE_MUT=
EX(device_ctls_mutex);=0A>  static LIST_HEAD(edac_device_list);=0A> -static=
 atomic_t device_indexes =3D ATOMIC_INIT(0);=0A>  =0A>  #ifdef CONFIG_EDAC_=
DEBUG=0A>  static void edac_device_dump_device(struct=0A> edac_device_ctl_i=
nfo *edac_dev)=0A> @@ -499,6 +498,8 @@ void=0A> edac_device_reset_delay_per=
iod(stru=0A> =A0 */=0A>  int edac_device_alloc_index(void)=0A>  {=0A> +=A0=
=A0=A0 static atomic_t device_indexes =3D=0A> ATOMIC_INIT(0);=0A> +=0A>  =
=A0=A0=A0 return=0A> atomic_inc_return(&device_indexes) - 1;=0A>  }=0A>  EX=
PORT_SYMBOL_GPL(edac_device_alloc_index);=0A> _=0A> =0A> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-30  3:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13  6:05 [v2 PATCH 0/3] Add CPC925 Memory Controller EDAC drivers Harry Ciao
2009-04-13  6:05 ` [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver Harry Ciao
2009-04-13  6:05   ` [v2 PATCH 2/3] EDAC: Add edac_device_alloc_index() Harry Ciao
2009-04-13  6:05     ` [v2 PATCH 3/3] EDAC: CPC925 MC platform device setup Harry Ciao
2009-04-15 22:27     ` [v2 PATCH 2/3] EDAC: Add edac_device_alloc_index() Andrew Morton
2009-04-15 22:27   ` [v2 PATCH 1/3] EDAC: Add CPC925 Memory Controller driver Andrew Morton
2009-04-30  3:08   ` Benjamin Herrenschmidt
2009-04-15 22:26 ` [v2 PATCH 0/3] Add CPC925 Memory Controller EDAC drivers Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2009-04-17 21:42 [v2 PATCH 2/3] EDAC: Add edac_device_alloc_index() Doug Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).