RE: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-10-04 Thread Tirumala Marri
> > > > You definitely need to be able to resolve "used but not defined" and > > "defined but not used" warnings before tackling a driver conversion > > like this. In light of this comment I wonder if it would be > > appropriate to submit your original driver, that just duplicated > > routines fro

Re: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-10-02 Thread Greg KH
On Thu, Sep 30, 2010 at 05:57:10PM -0700, Dan Williams wrote: > [ adding Greg ] > > On Thu, Sep 30, 2010 at 5:16 PM, Tirumala Marri wrote: > >> Where ?iop_adma_alloc_slots() is implemented differently between > >> iop13xx and iop3xx. ?In this case why does ppc440spe-adma.h exist? ?If > >> it has

RE: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-10-01 Thread Tirumala Marri
> You definitely need to be able to resolve "used but not defined" and > "defined but not used" warnings before tackling a driver conversion > like this. In light of this comment I wonder if it would be > appropriate to submit your original driver, that just duplicated > routines from the ppc440sp

Re: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-09-30 Thread Dan Williams
[ adding Greg ] On Thu, Sep 30, 2010 at 5:16 PM, Tirumala Marri wrote: >> Where  iop_adma_alloc_slots() is implemented differently between >> iop13xx and iop3xx.  In this case why does ppc440spe-adma.h exist?  If >> it has code specific to ppe440spe it should just live in the ppe440spe >> C file.

RE: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-09-30 Thread Tirumala Marri
> On Thu, Sep 30, 2010 at 12:08 PM, Wolfgang Denk wrote: > [snip other valid review comments] > > > > This is a header file, yet you add here literally thousands of lines > of > > code. > > Yes, these functions are entirely too large to be inlined. It looks > like you are trying to borrow too hea

RE: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-09-30 Thread Tirumala Marri
> > When reposting a patch, please always indicate that this is new > version by using something like "[PATCH v2]" in the Subject line. [Marri] I know, but this patch is not modification of previous patch. It is complete brand new from scratch again. In that case isn't this will be first version ?

Re: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-09-30 Thread Dan Williams
On Thu, Sep 30, 2010 at 12:08 PM, Wolfgang Denk wrote: [snip other valid review comments] > > This is a header file, yet you add here literally thousands of lines of > code. Yes, these functions are entirely too large to be inlined. It looks like you are trying to borrow too heavily from the iop

Re: [PATCH] PPC4xx: ADMA separating SoC specific functions

2010-09-30 Thread Wolfgang Denk
Dear tma...@apm.com, In message <1285865736-32074-1-git-send-email-tma...@apm.com> you wrote: > From: Tirumala Marri > > This patch separates the SoC specific functions and moved > to different files. > > The reason for ppc440spe-adma.h is to define in-line functions which > are called by both