[RFC][PATCH] Enable livepatching for powerpc
Kamalesh Babulal
kamalesh at linux.vnet.ibm.com
Fri Feb 26 01:42:49 AEDT 2016
* Balbir Singh <bsingharora at gmail.com> [2016-02-25 23:11:45]:
> This applies on top of the patches posted by Michael today
> Enable livepatching. This takes patch 6/8 and 7/8 of v8 as the base.
> Removes the extra strict check in gcc-profile-kernel-notrace.sh
> and adds logic for checking offsets in livepatch. The patch
> for HAVE_C_RECORDMCOUNT is not required and not used here.
>
> Depending on whether or not a TOC is generated, the offset
> for _mcount can be +16 or +8. The changes are such that the
> offset checks are specific to powerpc.
>
> Comments? Testing? I tested the sample in the livepatch
> directory
>
> References
>
> 1. https://patchwork.ozlabs.org/patch/581521/
> 2. https://patchwork.ozlabs.org/patch/587464/
>
> Signed-off-by: Torsten Duwe <duwe at suse.de>
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>
I was able to test livepatch-sample module with this patch + Michael patch set.
Tested-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>
Regards,
Kamalesh.
More information about the Linuxppc-dev
mailing list