[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9F6FE96B71CF29479FF1CDC8046E150358CDE5@039-SN1MPN1-002.039d.mgd.msft.net>
Date: Fri, 22 Mar 2013 19:17:28 +0000
From: Yoder Stuart-B08248 <B08248@...escale.com>
To: Michael Neuling <mikey@...ling.org>,
Chen Gang F T <chen.gang.flying.transformer@...il.com>,
Kumar Gala <galak@...nel.crashing.org>
CC: Chen Gang <gang.chen@...anux.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
"sfr@...b.auug.org.au" <sfr@...b.auug.org.au>,
"paulus@...ba.org" <paulus@...ba.org>,
"matt@...abs.org" <matt@...abs.org>,
"imunsie@....ibm.com" <imunsie@....ibm.com>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [Suggestion] PowerPC: kernel: cross compiling issue with
allmodconfig
> -----Original Message-----
> From: Michael Neuling [mailto:mikey@...ling.org]
> Sent: Thursday, March 21, 2013 6:21 PM
> To: Chen Gang F T; Yoder Stuart-B08248; Kumar Gala
> Cc: Chen Gang; Benjamin Herrenschmidt; sfr@...b.auug.org.au; paulus@...ba.org; matt@...abs.org;
> imunsie@....ibm.com; linuxppc-dev@...ts.ozlabs.org; linux-kernel@...r.kernel.org
> Subject: Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig
>
> Chen Gang F T <chen.gang.flying.transformer@...il.com> wrote:
>
> >
> > it seems:
> > only move slb_miss_realmode to the end, can fix this issue without negative effect.
>
> So this works but uncovers a new bug.
>
> Stuart: if you apply this patch allmodconfig now gets this build error
> on linux-next.
>
> arch/powerpc/kernel/built-in.o: In function `restore_pblist_ptr':
> ftrace.c:(.toc+0xd78): undefined reference to `epapr_ev_idle_start'
> ftrace.c:(.toc+0xd88): undefined reference to `epapr_ev_idle'
> make[1]: *** [vmlinux] Error 1
>
> Reverting your patch below fixes this:
>
> commit f070986a07e514e3b4fc4aef6551b8dffcb19287
> Author: Stuart Yoder <stuart.yoder@...escale.com>
> Date: Fri Feb 8 13:22:56 2013 -0600
>
> powerpc: Add paravirt idle loop for 64-bit Book-E
>
> Signed-off-by: Stuart Yoder <stuart.yoder@...escale.com>
> Signed-off-by: Kumar Gala <galak@...nel.crashing.org>
>
> Should we revert your patch or can you send a fix? This is currently
> broken in linux-next (at least next-20130321).
Sent a patch that resolves this. Not completely happy with it
because of the added #ifdefs, but not sure how else to resolve
this. allmodconfig is creating config combinations that don't
happen in a normal build (at least currently)-- 64-bit build
that enables EPAPR_PARAVIRT but not PPC_BOOK3E_64.
Stuart
Powered by blists - more mailing lists