<p dir="ltr"><br>
On 4 Mar 2016 03:52, "Petr Mladek" <<a href="mailto:pmladek@suse.com">pmladek@suse.com</a>> wrote:<br>
><br>
> From: Balbir Singh <<a href="mailto:bsingharora@gmail.com">bsingharora@gmail.com</a>><br>
><br>
> Changelog v4:<br>
>         1. Renamed klp_matchaddr() to klp_get_ftrace_location()<br>
>            and used it just to convert the function address.<br>
>         2. Synced klp_write_module_reloc() with s390(); made it<br>
>            inline, no error message, return -ENOSYS<br>
>         3. Added an error message when including<br>
>            powerpc/include/asm/livepatch.h without HAVE_LIVEPATCH<br>
>         4. Update some comments.<br>
> Changelog v3:<br>
>         1. Moved -ENOSYS to -EINVAL in klp_write_module_reloc<br>
>         2. Moved klp_matchaddr to use ftrace_location_range<br>
> Changelog v2:<br>
>         1. Implement review comments by Michael<br>
>         2. The previous version compared _NIP from the<br>
>            wrong location to check for whether we<br>
>            are going to a patched location<br>
><br>
> This applies on top of the patches posted by Michael<br>
> <a href="https://patchwork.ozlabs.org/patch/589791/">https://patchwork.ozlabs.org/patch/589791/</a><br>
><br>
> It enables livepatching. This takes patch 6/8 and 7/8 of v8 as the base.<br>
> (See the reference [1] below) and adds logic for checking offset ranges<br>
> in livepatch with ftrace_location_range.<br>
><br>
> I tested the sample in the livepatch<br>
><br>
> Signed-off-by: Torsten Duwe <<a href="mailto:duwe@suse.de">duwe@suse.de</a>><br>
> Signed-off-by: Balbir Singh <<a href="mailto:bsingharora@gmail.com">bsingharora@gmail.com</a>><br>
> Signed-off-by: Petr Mladek <<a href="mailto:pmladek@suse.com">pmladek@suse.com</a>><br>
><br>
Like the cleanup and the patch</p>
<p dir="ltr">Balbir<br>
</p>