Re: Live patching for powerpc

From: Michael Ellerman
Date: Fri Apr 15 2016 - 06:02:08 EST


On Fri, 2016-04-15 at 10:28 +0200, Miroslav Benes wrote:
> On Thu, 14 Apr 2016, Jessica Yu wrote:
> > For the 32-bit module code, I don't believe we would need to preserve
> > the .init.plt section for livepatch's call to apply_relocate_add(),
> > since relocations to init sections should've been applied during
> > module initialization, and we don't patch those types of functions.
> > Please correct me if my understanding is off.
>
> I think you are right, but I also think we don't have to worry about
> 32-bit powerpc anyway. This patch set supports ppc64le only so we can
> leave it for now.

Yep. Who ever wants to do 32-bit live patch support can cross that bridge when
they come to it.

cheers