Re: [PATCH v2 2/2] arm64: implement live patching

2016-08-11 Thread Torsten Duwe
On Mon, Jul 11, 2016 at 04:03:08PM +0200, Miroslav Benes wrote: > On Mon, 27 Jun 2016, Torsten Duwe wrote: > > + > > +#ifdef CONFIG_LIVEPATCH > > A nit but we removed such guards in the other header files. I just notice this has fallen between the cracks :-/ Torsten

Re: [PATCH v2 2/2] arm64: implement live patching

2016-08-11 Thread Torsten Duwe
On Mon, Jul 11, 2016 at 04:03:08PM +0200, Miroslav Benes wrote: > On Mon, 27 Jun 2016, Torsten Duwe wrote: > > + > > +#ifdef CONFIG_LIVEPATCH > > A nit but we removed such guards in the other header files. I just notice this has fallen between the cracks :-/ Torsten

Re: [PATCH v2 2/2] arm64: implement live patching

2016-07-15 Thread Paul Gortmaker
On Mon, Jun 27, 2016 at 11:17 AM, Torsten Duwe wrote: > On top of FTRACE_WITH_REGS and the klp changes that go into v4.7 > this is straightforward. > > Signed-off-by: Torsten Duwe > --- > arch/arm64/Kconfig | 3 +++ >

Re: [PATCH v2 2/2] arm64: implement live patching

2016-07-15 Thread Paul Gortmaker
On Mon, Jun 27, 2016 at 11:17 AM, Torsten Duwe wrote: > On top of FTRACE_WITH_REGS and the klp changes that go into v4.7 > this is straightforward. > > Signed-off-by: Torsten Duwe > --- > arch/arm64/Kconfig | 3 +++ > arch/arm64/include/asm/livepatch.h | 37

Re: [PATCH v2 2/2] arm64: implement live patching

2016-07-11 Thread Miroslav Benes
On Mon, 27 Jun 2016, Torsten Duwe wrote: > diff --git a/arch/arm64/include/asm/livepatch.h > b/arch/arm64/include/asm/livepatch.h > new file mode 100644 > index 000..6b9a3d1 > --- /dev/null > +++ b/arch/arm64/include/asm/livepatch.h > @@ -0,0 +1,37 @@ > +/* > + * livepatch.h - arm64-specific

Re: [PATCH v2 2/2] arm64: implement live patching

2016-07-11 Thread Miroslav Benes
On Mon, 27 Jun 2016, Torsten Duwe wrote: > diff --git a/arch/arm64/include/asm/livepatch.h > b/arch/arm64/include/asm/livepatch.h > new file mode 100644 > index 000..6b9a3d1 > --- /dev/null > +++ b/arch/arm64/include/asm/livepatch.h > @@ -0,0 +1,37 @@ > +/* > + * livepatch.h - arm64-specific

[PATCH v2 2/2] arm64: implement live patching

2016-06-27 Thread Torsten Duwe
On top of FTRACE_WITH_REGS and the klp changes that go into v4.7 this is straightforward. Signed-off-by: Torsten Duwe --- arch/arm64/Kconfig | 3 +++ arch/arm64/include/asm/livepatch.h | 37 + arch/arm64/kernel/entry-ftrace.S

[PATCH v2 2/2] arm64: implement live patching

2016-06-27 Thread Torsten Duwe
On top of FTRACE_WITH_REGS and the klp changes that go into v4.7 this is straightforward. Signed-off-by: Torsten Duwe --- arch/arm64/Kconfig | 3 +++ arch/arm64/include/asm/livepatch.h | 37 + arch/arm64/kernel/entry-ftrace.S | 13