[4/5] powerpc/livepatch: Add livepatch stack to struct thread_info

Michael Ellerman mpe at ellerman.id.au
Tue Apr 19 20:16:32 AEST 2016


On Wed, 2016-13-04 at 12:53:22 UTC, Michael Ellerman wrote:
> In order to support live patching we need to maintain an alternate
> stack of TOC & LR values. We use the base of the stack for this, and
> store the "live patch stack pointer" in struct thread_info.
> 
> Unlike the other fields of thread_info, we can not statically initialise
> that value, so it must be done at run time.
> 
> This patch just adds the code to support that, it is not enabled until
> the next patch which actually adds live patch support.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> Acked-by: Balbir Singh <bsingharora at gmail.com>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/5d31a96e6c0187f2c5d7004e00

cheers


More information about the Linuxppc-dev mailing list