[3.11.y.z extended stable] Patch "powerpc/tm: Disable IRQ in tm_recheckpoint" has been added to staging queue
luis.henriques at canonical.com
Wed May 21 12:48:22 UTC 2014
(Adding Kamal to CC)
On Wed, May 21, 2014 at 09:34:51AM -0300, Mauricio Faria de Oliveira wrote:
> Hi Mikey and Luis,
> On 05/14/2014 11:58 AM, Luis Henriques wrote:
> >This is a note to let you know that I have just added a patch titled
> > powerpc/tm: Disable IRQ in tm_recheckpoint
> >to the linux-3.11.y-queue branch of the 3.11.y.z extended stable tree
> >which can be found at:
> > [...]
> This one seems to break a build with ubuntu-trusty.git's master-next.
> Reverting it made the build to pass fine.
> Maybe there's another commit to pull in?
Thank you for reporting this!
Actually, for the 3.11 stable kernel (that is pulled into Saucy), I've
picked Michael Neuling's backport for 3.10 that includes the
definition of TEXASR_FS from commit e4e38121507a27d2ccc4b28d9e7fc4818a12c44c
(which is what seems to be the cause of this build break.
Kamal, maybe you could pick this for the 3.13 kernel as well?
In the meantime, I'll fix ubuntu-trusty master-next branch.
> >diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c
> >index 7e9dff8..81f929f 100644
> >--- a/arch/powerpc/kernel/signal_32.c
> >+++ b/arch/powerpc/kernel/signal_32.c
> >@@ -863,6 +863,8 @@ static long restore_tm_user_regs(struct pt_regs *regs,
> > * transactional versions should be loaded.
> > */
> > tm_enable();
> >+ /* Make sure the transaction is marked as failed */
> >+ current->thread.tm_texasr |= TEXASR_FS;
> > /* This loads the checkpointed FP/VEC state, if used */
> > tm_recheckpoint(¤t->thread, msr);
> > /* Get the top half of the MSR */
> $ fakeroot debian/rules binary-generic
> CC arch/powerpc/kernel/signal_32.o
> /home/test/hdrs/k/arch/powerpc/kernel/signal_32.c: In function
> /home/test/hdrs/k/arch/powerpc/kernel/signal_32.c:885:37: error:
> ‘TEXASR_FS’ undeclared (first use in this function)
> current->thread.tm_texasr |= TEXASR_FS;
> /home/test/hdrs/k/arch/powerpc/kernel/signal_32.c:885:37: note: each
> undeclared identifier is reported only once for each function it
> appears in
> make: *** [arch/powerpc/kernel/signal_32.o] Error 1
> Mauricio Faria de Oliveira
> IBM Linux Technology Center
More information about the kernel-team