On 24/03/16 22:04, Michael Ellerman wrote:
> Add the kconfig logic & assembly support for handling live patched
> functions. This depends on DYNAMIC_FTRACE_WITH_REGS, which in turn
> depends on the new -mprofile-kernel ftrace ABI, which is only supported
> currently on ppc64le.
>
> Live patching
On Thu, 2016-03-24 at 14:42 +0100, Torsten Duwe wrote:
> On Thu, Mar 24, 2016 at 10:04:05PM +1100, Michael Ellerman wrote:
> > +livepatch_handler:
> > + CURRENT_THREAD_INFO(r12, r1)
> [...]
> > + /* Put ctr in r12 for global entry and branch there */
> > + mfctr r12
> > + bctrl
>
On Thu, Mar 24, 2016 at 10:04:05PM +1100, Michael Ellerman wrote:
> +livepatch_handler:
> + CURRENT_THREAD_INFO(r12, r1)
[...]
> + /* Put ctr in r12 for global entry and branch there */
> + mfctr r12
> + bctrl
^
I like this piece. No need to fiddle out the return helpe
Add the kconfig logic & assembly support for handling live patched
functions. This depends on DYNAMIC_FTRACE_WITH_REGS, which in turn
depends on the new -mprofile-kernel ftrace ABI, which is only supported
currently on ppc64le.
Live patching is handled by a special ftrace handler. This means it ru
4 matches
Mail list logo