From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Arnd Bergmann <arnd@arndb.de>,
Remis Lima Baima <remis.developer@googlemail.com>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH] ftrace, powerpc64: fix math to calculate offset in TOC
Date: Mon, 9 Feb 2009 12:16:20 -0800 [thread overview]
Message-ID: <49908F14.50703@am.sony.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0902080118480.30802@gandalf.stny.rr.com>
Steven Rostedt wrote:
> 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.
> ----
> arch/powerpc/kernel/ftrace.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
I tested this on PS3 with CONFIG_FTRACE_SELFTEST=y and
CONFIG_FTRACE_SELFTEST=y, and all modules now load and
the system seems to work properly. I did not run any
tracer specific tests though.
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
prev parent reply other threads:[~2009-02-09 20:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 6:22 [PATCH] ftrace, powerpc64: fix math to calculate offset in TOC Steven Rostedt
2009-02-09 9:40 ` Ingo Molnar
2009-02-09 13:08 ` Remis Lima Baima
2009-02-09 15:02 ` Steven Rostedt
2009-02-09 15:24 ` Ingo Molnar
2009-02-09 22:21 ` Benjamin Herrenschmidt
2009-02-09 20:16 ` Geoff Levand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49908F14.50703@am.sony.com \
--to=geoffrey.levand@am.sony.com \
--cc=arnd@arndb.de \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=remis.developer@googlemail.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox