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