Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Jessica Yu
+++ Miroslav Benes [25/10/18 11:00 +0200]: On Thu, 25 Oct 2018, Petr Mladek wrote: On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > The arm64 module loader keeps a pointer into info->sechdrs to keep track > of section header information for .plt section(s). A pointer to the > relevent section

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Jessica Yu
+++ Miroslav Benes [25/10/18 11:00 +0200]: On Thu, 25 Oct 2018, Petr Mladek wrote: On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > The arm64 module loader keeps a pointer into info->sechdrs to keep track > of section header information for .plt section(s). A pointer to the > relevent section

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Miroslav Benes
On Thu, 25 Oct 2018, Petr Mladek wrote: > On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > > The arm64 module loader keeps a pointer into info->sechdrs to keep track > > of section header information for .plt section(s). A pointer to the > > relevent section header (struct elf64_shdr) in

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Miroslav Benes
On Thu, 25 Oct 2018, Petr Mladek wrote: > On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > > The arm64 module loader keeps a pointer into info->sechdrs to keep track > > of section header information for .plt section(s). A pointer to the > > relevent section header (struct elf64_shdr) in

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Petr Mladek
On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > The arm64 module loader keeps a pointer into info->sechdrs to keep track > of section header information for .plt section(s). A pointer to the > relevent section header (struct elf64_shdr) in info->sechdrs is stored > in mod->arch.{init,core}.plt.

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Petr Mladek
On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > The arm64 module loader keeps a pointer into info->sechdrs to keep track > of section header information for .plt section(s). A pointer to the > relevent section header (struct elf64_shdr) in info->sechdrs is stored > in mod->arch.{init,core}.plt.

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-24 Thread Miroslav Benes
On Tue, 23 Oct 2018, Jessica Yu wrote: > diff --git a/arch/arm64/kernel/module-plts.c b/arch/arm64/kernel/module-plts.c > index f0690c2ca3e0..05067717dfc5 100644 > --- a/arch/arm64/kernel/module-plts.c > +++ b/arch/arm64/kernel/module-plts.c > @@ -210,9 +210,15 @@ int

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-24 Thread Miroslav Benes
On Tue, 23 Oct 2018, Jessica Yu wrote: > diff --git a/arch/arm64/kernel/module-plts.c b/arch/arm64/kernel/module-plts.c > index f0690c2ca3e0..05067717dfc5 100644 > --- a/arch/arm64/kernel/module-plts.c > +++ b/arch/arm64/kernel/module-plts.c > @@ -210,9 +210,15 @@ int

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-23 Thread kbuild test robot
Hi Jessica, I love your patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on v4.19 next-20181019] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-23 Thread kbuild test robot
Hi Jessica, I love your patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on v4.19 next-20181019] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] arm64/module: use mod->klp_info section header information

2018-10-23 Thread Jessica Yu
The arm64 module loader keeps a pointer into info->sechdrs to keep track of section header information for .plt section(s). A pointer to the relevent section header (struct elf64_shdr) in info->sechdrs is stored in mod->arch.{init,core}.plt. This pointer may be accessed while applying relocations

[PATCH] arm64/module: use mod->klp_info section header information

2018-10-23 Thread Jessica Yu
The arm64 module loader keeps a pointer into info->sechdrs to keep track of section header information for .plt section(s). A pointer to the relevent section header (struct elf64_shdr) in info->sechdrs is stored in mod->arch.{init,core}.plt. This pointer may be accessed while applying relocations