[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3qq1Bm5pBgz9t8m@ozlabs.org>
Date: Tue, 19 Apr 2016 20:16:32 +1000 (AEST)
From: Michael Ellerman <mpe@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>, <linuxppc-dev@...abs.org>
Cc: pmladek@...e.com, jeyu@...hat.com, jikos@...nel.org,
linux-kernel@...r.kernel.org, rostedt@...dmis.org,
kamalesh@...ux.vnet.ibm.com, duwe@....de,
live-patching@...r.kernel.org, mbenes@...e.cz
Subject: Re: [4/5] powerpc/livepatch: Add livepatch stack to struct thread_info
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@...erman.id.au>
> Acked-by: Balbir Singh <bsingharora@...il.com>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/5d31a96e6c0187f2c5d7004e00
cheers
Powered by blists - more mailing lists