From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755553AbZBIPY7 (ORCPT ); Mon, 9 Feb 2009 10:24:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754478AbZBIPYv (ORCPT ); Mon, 9 Feb 2009 10:24:51 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:53184 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752885AbZBIPYu (ORCPT ); Mon, 9 Feb 2009 10:24:50 -0500 Date: Mon, 9 Feb 2009 16:24:24 +0100 From: Ingo Molnar To: Steven Rostedt Cc: LKML , linuxppc-dev@ozlabs.org, Paul Mackerras , Benjamin Herrenschmidt , Arnd Bergmann , Geoff Levand , Remis Lima Baima Subject: Re: [PATCH] ftrace, powerpc64: fix math to calculate offset in TOC Message-ID: <20090209152424.GA9845@elte.hu> References: <20090209094014.GE7930@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steven Rostedt wrote: > > On Mon, 9 Feb 2009, Ingo Molnar wrote: > > > > > * Steven Rostedt wrote: > > > > > > > > Paul, > > > > > > I found the bug that was causing large modules to fail in setting > > > up dynamic ftrace. It wound up being a simple math error. To calculate > > > the offset in the TOC, I had used an OR, but the bottom half was > > > a signed extended short, and it should have been an addition. > > > The fix is in my tree below, as well as posted here. > > > > Looks like a .29 candidate? > > Ingo, > > I think Ben pulled them into their tree. The changes are specific to ppc, > and will probably get better user testing there. Unless you feel that we > have a bit of ppc testers using tip. no, that's fine - just wanted to make sure it goes upstream via some method. Ingo