[PATCH v12 4/6] QE/CPM: move muram management functions to qe_common
Scott Wood
scottwood at freescale.com
Tue Oct 27 18:36:12 AEDT 2015
On Tue, 2015-10-27 at 02:34 -0500, Zhao Qiang-B45475 wrote:
> On Tue, Oct 27, 2015 at 2:50 PM, Wood Scott-B07421 wrote:
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Tuesday, October 27, 2015 2:50 PM
> > To: Zhao Qiang-B45475 <qiang.zhao at freescale.com>
> > Cc: linux-kernel at vger.kernel.org; linuxppc-dev at lists.ozlabs.org;
> > lauraa at codeaurora.org; Xie Xiaobo-R63061 <X.Xie at freescale.com>;
> > benh at kernel.crashing.org; Li Yang-Leo-R58472 <LeoLi at freescale.com>;
> > paulus at samba.org
> > Subject: Re: [PATCH v12 4/6] QE/CPM: move muram management functions to
> > qe_common
> >
> > On Tue, 2015-10-27 at 01:24 -0500, Zhao Qiang-B45475 wrote:
> > > On Tue, Oct 27, 2015 at 12:48 PM, Wood Scott-B07421 wrote:
> > > > -----Original Message-----
> > > > From: Wood Scott-B07421
> > > > Sent: Tuesday, October 27, 2015 12:48 PM
> > > > To: Zhao Qiang-B45475 <qiang.zhao at freescale.com>
> > > > Cc: linux-kernel at vger.kernel.org; linuxppc-dev at lists.ozlabs.org;
> > > > lauraa at codeaurora.org; Xie Xiaobo-R63061 <X.Xie at freescale.com>;
> > > > benh at kernel.crashing.org; Li Yang-Leo-R58472 <LeoLi at freescale.com>;
> > > > paulus at samba.org
> > > > Subject: Re: [PATCH v12 4/6] QE/CPM: move muram management
> > functions
> > > > to qe_common
> > > >
> > > > On Sun, 2015-10-25 at 21:42 -0500, Zhao Qiang-B45475 wrote:
> > > > > On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote:
> > > > > > -----Original Message-----
> > > > > > From: Wood Scott-B07421
> > > > > > Sent: Saturday, October 24, 2015 4:56 AM
> > > > > > To: Zhao Qiang-B45475 <qiang.zhao at freescale.com>
> > > > > > Cc: linux-kernel at vger.kernel.org; linuxppc-dev at lists.ozlabs.org;
> > > > > > lauraa at codeaurora.org; Xie Xiaobo-R63061 <X.Xie at freescale.com>;
> > > > > > benh at kernel.crashing.org; Li Yang-Leo-R58472
> > > > > > <LeoLi at freescale.com>; paulus at samba.org
> > > > > > Subject: Re: [PATCH v12 4/6] QE/CPM: move muram management
> > > > functions
> > > > > > to qe_common
> > > > > >
> > > > > > On Fri, 2015-10-23 at 02:45 -0500, Zhao Qiang-B45475 wrote:
> > > > > > > On Fri, 2015-10-23 at 11:10 AM, Wood Scott-B07421
> > > > > > > <scottwood at freescale.com>
> > > > > > > wrote:
> > > > > > > > -----Original Message-----
> > > > > > > > From: Wood Scott-B07421
> > > > > > > > Sent: Friday, October 23, 2015 11:10 AM
> > > > > > > > To: Zhao Qiang-B45475 <qiang.zhao at freescale.com>
> > > > > > > > Cc: linux-kernel at vger.kernel.org;
> > > > > > > > linuxppc-dev at lists.ozlabs.org; lauraa at codeaurora.org; Xie
> > > > > > > > Xiaobo-R63061 <X.Xie at freescale.com>;
> > > > > > > > benh at kernel.crashing.org; Li Yang-Leo-R58472
> > > > > > > > <LeoLi at freescale.com>; paulus at samba.org
> > > > > > > > Subject: Re: [PATCH v12 4/6] QE/CPM: move muram management
> > > > > > functions
> > > > > > > > to qe_common
> > > > > > > >
> > > > > > So then why are you selecting QUICC_ENGINE? And again, what
> > > > > > does it have to do with this patch?
> > > > >
> > > > > Cpm-spi is dependent on qe_muram, if not select it, Cpm-spi will
> > > > > failed to build.
> > > >
> > > > Why QUICC_ENGINE and not CPM?
> > >
> > > QE and CPM use the same muram, and it has been moved to qe_muram
> > from
> > > cpm_muram.
> >
> > Fix the makefiles so that the muram code continues to be built for both
> > QUICC_ENGINE and CPM. It's not acceptable to have to bring in the entire
> > QE
> > code just for the muram.
> >
> How about to define and CONFIG_QE_MURAM in Kconfig for muram?
That's fine.
-Scott
More information about the Linuxppc-dev
mailing list