Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-28 Thread Torsten Duwe
On Thu, Jan 28, 2016 at 02:31:58PM +1100, Michael Ellerman wrote: > > Looking at GCC history it looks like the fix is in 4.9.0 and anything later. Good. But 4.8.5 has a buggy -mprofile-kernel, and there will be no 4.8.6, Bad. > But a version check doesn't work with patched distro/vendor

Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-27 Thread Balbir Singh
On Wed, 27 Jan 2016 13:19:04 +0100 Torsten Duwe wrote: > Thanks! Make sure you use a compiler that can disable -mprofile-kernel with > "notrace". gcc-6? I have gcc-5.2.1 Balbir Singh. ___ Linuxppc-dev mailing list

Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-27 Thread Michael Ellerman
On Thu, 2016-01-28 at 13:41 +1100, Balbir Singh wrote: > On Wed, 27 Jan 2016 13:19:04 +0100 > Torsten Duwe wrote: > > > Thanks! Make sure you use a compiler that can disable -mprofile-kernel with > > "notrace". > > gcc-6? I have gcc-5.2.1 That should work. But that's a good

Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-27 Thread Torsten Duwe
On Wed, Jan 27, 2016 at 09:51:12PM +1100, Balbir Singh wrote: > On Mon, 25 Jan 2016 16:38:48 +0100 > Torsten Duwe wrote: > > > Changes since v5: > > * extra "std r0,LRSAVE(r1)" for gcc-6 > > This makes the code compiler-agnostic. > > * Follow Petr Mladek's suggestion to

Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-27 Thread Balbir Singh
On Mon, 25 Jan 2016 16:38:48 +0100 Torsten Duwe wrote: > Changes since v5: > * extra "std r0,LRSAVE(r1)" for gcc-6 > This makes the code compiler-agnostic. > * Follow Petr Mladek's suggestion to avoid > redefinition of HAVE_LIVEPATCH I looked at the patches - well

[PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-25 Thread Torsten Duwe
Changes since v5: * extra "std r0,LRSAVE(r1)" for gcc-6 This makes the code compiler-agnostic. * Follow Petr Mladek's suggestion to avoid redefinition of HAVE_LIVEPATCH Changes since v4: * change comment style in entry_64.S to C89 (nobody is using assembler syntax comments