Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1368921
| From | Balbir Singh <bsingharora@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info |
| Date | 2016-04-01 03:10 +0200 |
| Message-ID | <riVL5-57m-23@gated-at.bofh.it> (permalink) |
| References | <rgbjk-1Fk-7@gated-at.bofh.it> <rgbjk-1Fk-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 24/03/16 22:04, 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@ellerman.id.au> > --- > arch/powerpc/include/asm/livepatch.h | 8 ++++++++ > arch/powerpc/include/asm/thread_info.h | 4 +++- > arch/powerpc/kernel/irq.c | 3 +++ > arch/powerpc/kernel/process.c | 6 +++++- > arch/powerpc/kernel/setup_64.c | 17 ++++++++++------- > 5 files changed, 29 insertions(+), 9 deletions(-) > > Acked-by: Balbir Singh <bsingharora@gmail.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH HACK 1/6] livepatch-test: Add more cases Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
[PATCH 4/6] powerpc/livepatch: Add livepatch header Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
[PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info Balbir Singh <bsingharora@gmail.com> - 2016-03-29 02:10 +0200
Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info Michael Ellerman <mpe@ellerman.id.au> - 2016-03-29 07:20 +0200
Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info Balbir Singh <bsingharora@gmail.com> - 2016-03-29 07:50 +0200
Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info Balbir Singh <bsingharora@gmail.com> - 2016-04-01 03:10 +0200
[PATCH 6/6] powerpc/livepatch: Add live patching support on ppc64le Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
Re: [PATCH 6/6] powerpc/livepatch: Add live patching support on ppc64le Torsten Duwe <duwe@lst.de> - 2016-03-24 14:50 +0100
Re: [PATCH 6/6] powerpc/livepatch: Add live patching support on ppc64le Michael Ellerman <mpe@ellerman.id.au> - 2016-03-29 07:30 +0200
Re: [PATCH 6/6] powerpc/livepatch: Add live patching support on ppc64le Balbir Singh <bsingharora@gmail.com> - 2016-04-01 03:20 +0200
[PATCH 2/6] ftrace: Make ftrace_location_range() global Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
Re: [PATCH 2/6] ftrace: Make ftrace_location_range() global Steven Rostedt <rostedt@goodmis.org> - 2016-03-24 16:30 +0100
Re: [PATCH 2/6] ftrace: Make ftrace_location_range() global Jiri Kosina <jikos@kernel.org> - 2016-03-24 16:30 +0100
Re: [PATCH 2/6] ftrace: Make ftrace_location_range() global Michael Ellerman <mpe@ellerman.id.au> - 2016-03-25 11:30 +0100
Re: [PATCH HACK 1/6] livepatch-test: Add more cases Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-03-24 17:40 +0100
Re: [PATCH HACK 1/6] livepatch-test: Add more cases Balbir Singh <bsingharora@gmail.com> - 2016-03-26 08:20 +0100
Re: [PATCH HACK 1/6] livepatch-test: Add more cases Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-03-28 07:00 +0200
csiph-web