Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1313007
| From | Torsten Duwe <duwe@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) |
| Date | 2016-01-20 10:10 +0100 |
| Message-ID | <qSWW6-4hT-9@gated-at.bofh.it> (permalink) |
| References | <qC0t3-4sT-5@gated-at.bofh.it> <qNX6q-2fc-7@gated-at.bofh.it> <qSU7T-2tK-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jan 20, 2016 at 05:03:23PM +1100, Michael Ellerman wrote: > On Wed, 2016-01-06 at 15:17 +0100, Petr Mladek wrote: > > On Fri 2015-12-04 15:45:29, Torsten Duwe wrote: > > > Changes since v4: > > > * change comment style in entry_64.S to C89 > > > (nobody is using assembler syntax comments there). > > > * the bool function restore_r2 shouldn't return 2, > > > that's a little confusing. > > > * Test whether the compiler supports -mprofile-kernel > > > and only then define CC_USING_MPROFILE_KERNEL > > > * also make the return value of klp_check_compiler_support > > > depend on that. > > > > Note that there is still needed the extra patch from > > http://thread.gmane.org/gmane.linux.kernel/2093867/focus=2099603 > > to get the livepatching working. > > Sorry which extra patch? Message-ID: <20151203160004.GE8047@pathway.suse.cz> By Petr Mladek, "Re: [PATCH v4 0/9] ftrace with regs + live patching..." 2015-12-03. It is further up in the function call hierarchy and basically tells the arch-independent KLP to call the normal entry point on ppc64le, and that the _mcount call site is 16 bytes further. > > Both ftrace with regs and live patching works for me with this patch > > set and the extra patch. So. for the whole patchset: > > > > Tested-by: Petr Mladek <pmladek@suse.com> > > Can you give me some more info on how you're testing it? What config options, > toolchain etc.? > > For me the series doesn't even boot, even with livepatching disabled. May indeed be a toolchain issue. I had to fix gcc-4.8.5 to get "notrace" working for -mprofile-kernel. That's a gcc bug. What are you using? The config in the v5 patch series should be waterproof, especially with KLP disabled ftrace with regs must work (all self-tests succeeded). If you send me your config (via PM I suggest, spare the lists) I can verify it with the toolchain here. Petr made a suggestion to reshuffle the config options to have it cleaner; I suggest to patch that separately. Torsten
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Michael Ellerman <mpe@ellerman.id.au> - 2016-01-20 07:10 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Torsten Duwe <duwe@lst.de> - 2016-01-20 10:10 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Petr Mladek <pmladek@suse.com> - 2016-01-20 10:50 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Petr Mladek <pmladek@suse.com> - 2016-01-21 12:40 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Jiri Kosina <jikos@kernel.org> - 2016-01-21 10:40 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Michael Ellerman <mpe@ellerman.id.au> - 2016-01-21 14:00 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Torsten Duwe <duwe@lst.de> - 2016-01-21 16:10 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Torsten Duwe <duwe@lst.de> - 2016-01-21 16:20 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Jiri Kosina <jikos@kernel.org> - 2016-01-21 22:30 +0100
Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2) Torsten Duwe <duwe@lst.de> - 2016-01-21 23:00 +0100
csiph-web