Re: [PATCH v6 0/5] (mostly) Arch-independent livepatch

2016-04-01 Thread Jiri Kosina
On Tue, 22 Mar 2016, Jessica Yu wrote: > This patchset removes livepatch's need for architecture-specific relocation > code by leveraging existing code in the module loader to perform > arch-dependent work. This is now in livepatching.git#for-4.7/arch-independent-klp-relocations I was waiting a

Re: (mostly) Arch-independent livepatch

2016-03-30 Thread Heiko Carstens
On Wed, Mar 30, 2016 at 01:24:08AM +0200, Jiri Kosina wrote: > On Tue, 29 Mar 2016, Jessica Yu wrote: > > > > v6: > > > - Since we hard-code the field widths for the objname and symbol name > > > for the sscanf() calls, which are supposed to correspond to the values > > > of MODULE_NAME_LEN an

Re: (mostly) Arch-independent livepatch

2016-03-29 Thread Jiri Kosina
On Tue, 29 Mar 2016, Jessica Yu wrote: > > v6: > > - Since we hard-code the field widths for the objname and symbol name > > for the sscanf() calls, which are supposed to correspond to the values > > of MODULE_NAME_LEN and KSYM_NAME_LEN, use BUILD_BUG_ON() to detect when > > the values of th

Re: (mostly) Arch-independent livepatch

2016-03-29 Thread Jessica Yu
+++ Jessica Yu [22/03/16 20:03 -0400]: Patches based on linux-next. Previous patchset (v5) found here: http://lkml.kernel.org/g/1458157628-8264-1-git-send-email-j...@redhat.com v6: - Since we hard-code the field widths for the objname and symbol name for the sscanf() calls, which are suppose

Re: [PATCH v6 0/5] (mostly) Arch-independent livepatch

2016-03-23 Thread Miroslav Benes
On Tue, 22 Mar 2016, Jessica Yu wrote: > v6: > - Since we hard-code the field widths for the objname and symbol name >for the sscanf() calls, which are supposed to correspond to the values >of MODULE_NAME_LEN and KSYM_NAME_LEN, use BUILD_BUG_ON() to detect when >the values of these co

Re: [PATCH v6 0/5] (mostly) Arch-independent livepatch

2016-03-23 Thread Josh Poimboeuf
On Tue, Mar 22, 2016 at 08:03:14PM -0400, Jessica Yu wrote: > Patches based on linux-next. > > Previous patchset (v5) found here: > http://lkml.kernel.org/g/1458157628-8264-1-git-send-email-j...@redhat.com > > v6: > - Since we hard-code the field widths for the objname and symbol name >for t

[PATCH v6 0/5] (mostly) Arch-independent livepatch

2016-03-22 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in

[PATCH v5 0/6] (mostly) Arch-independent livepatch

2016-03-19 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in

Re: [RFC PATCH v4 0/6] (mostly) Arch-independent livepatch

2016-02-09 Thread Petr Mladek
On Wed 2016-02-03 20:11:05, Jessica Yu wrote: > This patchset removes livepatch's need for architecture-specific relocation > code by leveraging existing code in the module loader to perform > arch-dependent work. Specifically, instead of duplicating code and > re-implementing what the apply_reloca

Re: [RFC PATCH v4 0/6] (mostly) Arch-independent livepatch

2016-02-08 Thread Josh Poimboeuf
On Mon, Feb 08, 2016 at 03:54:22PM +0100, Miroslav Benes wrote: > On Wed, 3 Feb 2016, Jessica Yu wrote: > > > Jessica Yu (6): > > Elf: add livepatch-specific Elf constants > > module: preserve Elf information for livepatch modules > > module: s390: keep mod_arch_specific for livepatch module

Re: [RFC PATCH v4 0/6] (mostly) Arch-independent livepatch

2016-02-08 Thread Miroslav Benes
On Wed, 3 Feb 2016, Jessica Yu wrote: > Jessica Yu (6): > Elf: add livepatch-specific Elf constants > module: preserve Elf information for livepatch modules > module: s390: keep mod_arch_specific for livepatch modules > livepatch: reuse module loader code to write relocations > samples:

[RFC PATCH v4 0/6] (mostly) Arch-independent livepatch

2016-02-03 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in