* Re: [PATCH] powerpc: Add jump label support [not found] <45fbc3cd7f6ce404d1e25bf01695fb629d86189d.1289189560.git.michael@ellerman.id.au> @ 2010-11-08 14:18 ` Steven Rostedt 2010-11-09 3:33 ` Michael Ellerman 2010-11-09 2:35 ` Stephen Rothwell 1 sibling, 1 reply; 6+ messages in thread From: Steven Rostedt @ 2010-11-08 14:18 UTC (permalink / raw) To: Michael Ellerman Cc: linuxppc-dev, Kumar Gala, David S.Miller, jbaron, linux-kernel, Anton Blanchard On Mon, 2010-11-08 at 15:12 +1100, Michael Ellerman wrote: > This patch adds support for the new "jump label" feature. Darn it! I wanted to port this!!! ;-) > > Built for 64 & 32 bit, tested on 64 bit. Survives a kernel build under > perf with all tracepoints enabled, and manual inspection of the patched > code looks right. But still, lightly tested, YMMV. > > Unlike x86 and sparc we just merrily patch the code with no locks etc, > as far as I know this is safe, but I'm not really sure what the x86/sparc > code is protecting against so maybe it's not. Thanks, I'll give it a test on my electra as soon as I get a gcc 4.5.1 cross compiler working. -- Steve ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] powerpc: Add jump label support 2010-11-08 14:18 ` [PATCH] powerpc: Add jump label support Steven Rostedt @ 2010-11-09 3:33 ` Michael Ellerman 0 siblings, 0 replies; 6+ messages in thread From: Michael Ellerman @ 2010-11-09 3:33 UTC (permalink / raw) To: Steven Rostedt Cc: linuxppc-dev, Kumar Gala, David S.Miller, jbaron, linux-kernel, Anton Blanchard [-- Attachment #1: Type: text/plain, Size: 913 bytes --] On Mon, 2010-11-08 at 09:18 -0500, Steven Rostedt wrote: > On Mon, 2010-11-08 at 15:12 +1100, Michael Ellerman wrote: > > This patch adds support for the new "jump label" feature. > > Darn it! I wanted to port this!!! > > ;-) Sorry! I've been locked in a dark room for ages and this was a nice chance to work on some upstream code for a change :) > > Built for 64 & 32 bit, tested on 64 bit. Survives a kernel build under > > perf with all tracepoints enabled, and manual inspection of the patched > > code looks right. But still, lightly tested, YMMV. > > > > Unlike x86 and sparc we just merrily patch the code with no locks etc, > > as far as I know this is safe, but I'm not really sure what the x86/sparc > > code is protecting against so maybe it's not. > > Thanks, I'll give it a test on my electra as soon as I get a gcc 4.5.1 > cross compiler working. Thanks. cheers [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] powerpc: Add jump label support [not found] <45fbc3cd7f6ce404d1e25bf01695fb629d86189d.1289189560.git.michael@ellerman.id.au> 2010-11-08 14:18 ` [PATCH] powerpc: Add jump label support Steven Rostedt @ 2010-11-09 2:35 ` Stephen Rothwell 2010-11-09 3:33 ` Michael Ellerman 1 sibling, 1 reply; 6+ messages in thread From: Stephen Rothwell @ 2010-11-09 2:35 UTC (permalink / raw) To: Michael Ellerman Cc: linuxppc-dev, jbaron, linux-kernel, rostedt, David S. Miller, Anton Blanchard, Kumar Gala [-- Attachment #1: Type: text/plain, Size: 1002 bytes --] Hi Michael, Just a trivial note ... On Mon, 8 Nov 2010 15:12:46 +1100 (EST) Michael Ellerman <michael@ellerman.id.au> wrote: > > diff --git a/arch/powerpc/include/asm/jump_label.h b/arch/powerpc/include/asm/jump_label.h > new file mode 100644 > index 0000000..feffb86 > --- /dev/null > +++ b/arch/powerpc/include/asm/jump_label.h > @@ -0,0 +1,46 @@ > +#ifndef _ASM_POWERPC_JUMP_LABEL_H > +#define _ASM_POWERPC_JUMP_LABEL_H > + > +/* > + * Copyright 2010 Michael Ellerman, IBM Corp. > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version > + * 2 of the License, or (at your option) any later version. > + */ > + > +#ifdef __KERNEL__ You don't need this protection in a file that is not exported to user space. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] powerpc: Add jump label support 2010-11-09 2:35 ` Stephen Rothwell @ 2010-11-09 3:33 ` Michael Ellerman 2010-11-09 3:41 ` Steven Rostedt 0 siblings, 1 reply; 6+ messages in thread From: Michael Ellerman @ 2010-11-09 3:33 UTC (permalink / raw) To: Stephen Rothwell Cc: linuxppc-dev, jbaron, linux-kernel, rostedt, David S. Miller, Anton Blanchard, Kumar Gala [-- Attachment #1: Type: text/plain, Size: 1091 bytes --] On Tue, 2010-11-09 at 13:35 +1100, Stephen Rothwell wrote: > Hi Michael, > > Just a trivial note ... > > On Mon, 8 Nov 2010 15:12:46 +1100 (EST) Michael Ellerman <michael@ellerman.id.au> wrote: > > > > diff --git a/arch/powerpc/include/asm/jump_label.h b/arch/powerpc/include/asm/jump_label.h > > new file mode 100644 > > index 0000000..feffb86 > > --- /dev/null > > +++ b/arch/powerpc/include/asm/jump_label.h > > @@ -0,0 +1,46 @@ > > +#ifndef _ASM_POWERPC_JUMP_LABEL_H > > +#define _ASM_POWERPC_JUMP_LABEL_H > > + > > +/* > > + * Copyright 2010 Michael Ellerman, IBM Corp. > > + * > > + * This program is free software; you can redistribute it and/or > > + * modify it under the terms of the GNU General Public License > > + * as published by the Free Software Foundation; either version > > + * 2 of the License, or (at your option) any later version. > > + */ > > + > > +#ifdef __KERNEL__ > > You don't need this protection in a file that is not exported to user > space. Ah true. I'll respin after I've heard if anyone has tested it :) cheers [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] powerpc: Add jump label support 2010-11-09 3:33 ` Michael Ellerman @ 2010-11-09 3:41 ` Steven Rostedt 2010-11-09 4:02 ` Michael Ellerman 0 siblings, 1 reply; 6+ messages in thread From: Steven Rostedt @ 2010-11-09 3:41 UTC (permalink / raw) To: michael Cc: Stephen Rothwell, linuxppc-dev, jbaron, linux-kernel, David S. Miller, Anton Blanchard, Kumar Gala On Tue, 2010-11-09 at 14:33 +1100, Michael Ellerman wrote: > > You don't need this protection in a file that is not exported to user > > space. > > Ah true. I'll respin after I've heard if anyone has tested it :) Don't wait for me. I'm stuck debugging some other crap. Getting a 4.5 PPC compiler working is very low on my priority list, unfortunately. :-( -- Steve ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] powerpc: Add jump label support 2010-11-09 3:41 ` Steven Rostedt @ 2010-11-09 4:02 ` Michael Ellerman 0 siblings, 0 replies; 6+ messages in thread From: Michael Ellerman @ 2010-11-09 4:02 UTC (permalink / raw) To: Steven Rostedt Cc: Stephen Rothwell, linuxppc-dev, jbaron, linux-kernel, David S. Miller, Anton Blanchard, Kumar Gala [-- Attachment #1: Type: text/plain, Size: 698 bytes --] On Mon, 2010-11-08 at 22:41 -0500, Steven Rostedt wrote: > On Tue, 2010-11-09 at 14:33 +1100, Michael Ellerman wrote: > > > > You don't need this protection in a file that is not exported to user > > > space. > > > > Ah true. I'll respin after I've heard if anyone has tested it :) > > Don't wait for me. I'm stuck debugging some other crap. Getting a 4.5 > PPC compiler working is very low on my priority list, unfortunately. :-( No worries, testing is for sissies anyway. There are 4.5.0 crosses on kernel.org, I think they're the same as the ones I'm using, which seem to work on powerpc at least. http://kernel.org/pub/tools/crosstool/files/bin/x86_64/4.5.0/ cheers [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-09 4:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <45fbc3cd7f6ce404d1e25bf01695fb629d86189d.1289189560.git.michael@ellerman.id.au>
2010-11-08 14:18 ` [PATCH] powerpc: Add jump label support Steven Rostedt
2010-11-09 3:33 ` Michael Ellerman
2010-11-09 2:35 ` Stephen Rothwell
2010-11-09 3:33 ` Michael Ellerman
2010-11-09 3:41 ` Steven Rostedt
2010-11-09 4:02 ` Michael Ellerman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox