Subject: Re: [RFC][PATCH] Enable livepatching for powerpc

From: Kamalesh Babulal <[email-masked]>
Date: Thu, 25 Feb 2016 20:12:49 +0530

* Balbir Singh <[email-masked]> [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 <[email-masked]>
> Signed-off-by: Balbir Singh <[email-masked]>

I was able to test livepatch-sample module with this patch + Michael patch set.

Tested-by: Kamalesh Babulal <[email-masked]>

Regards,
Kamalesh.