Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-14 Thread Christophe Leroy
Le 14/12/2021 à 14:00, Joe Lawrence a écrit : > On 12/14/21 7:44 AM, Christophe Leroy wrote: >> >> >> Le 13/12/2021 à 18:26, Joe Lawrence a écrit : >>> On 12/13/21 11:36 AM, Christophe Leroy wrote: Le 13/12/2021 à 15:47, Joe Lawrence a écrit : > On 12/13/21 2:42 AM, Christophe

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-14 Thread Joe Lawrence
On 12/14/21 7:44 AM, Christophe Leroy wrote: > > > Le 13/12/2021 à 18:26, Joe Lawrence a écrit : >> On 12/13/21 11:36 AM, Christophe Leroy wrote: >>> >>> >>> Le 13/12/2021 à 15:47, Joe Lawrence a écrit : On 12/13/21 2:42 AM, Christophe Leroy wrote: > > Hello Joe, > > I'm

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-14 Thread Christophe Leroy
Le 13/12/2021 à 18:26, Joe Lawrence a écrit : > On 12/13/21 11:36 AM, Christophe Leroy wrote: >> >> >> Le 13/12/2021 à 15:47, Joe Lawrence a écrit : >>> On 12/13/21 2:42 AM, Christophe Leroy wrote: Hello Joe, I'm implementing LIVEPATCH on PPC32 and I wanted to test with

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-13 Thread Joe Lawrence
On 12/13/21 11:36 AM, Christophe Leroy wrote: > > > Le 13/12/2021 à 15:47, Joe Lawrence a écrit : >> On 12/13/21 2:42 AM, Christophe Leroy wrote: >>> >>> Hello Joe, >>> >>> I'm implementing LIVEPATCH on PPC32 and I wanted to test with >>> STRICT_MODULE_RWX enabled so I took your branch as

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-13 Thread Christophe Leroy
Le 13/12/2021 à 15:47, Joe Lawrence a écrit : > On 12/13/21 2:42 AM, Christophe Leroy wrote: >> >> Hello Joe, >> >> I'm implementing LIVEPATCH on PPC32 and I wanted to test with >> STRICT_MODULE_RWX enabled so I took your branch as suggested, but I'm >> getting the following errors on build.

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-13 Thread Joe Lawrence
On 12/13/21 2:42 AM, Christophe Leroy wrote: > > Hello Joe, > > I'm implementing LIVEPATCH on PPC32 and I wanted to test with > STRICT_MODULE_RWX enabled so I took your branch as suggested, but I'm > getting the following errors on build. What shall I do ? > >CALL

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-12-12 Thread Christophe Leroy
Le 01/11/2021 à 14:48, Joe Lawrence a écrit : > On 11/1/21 5:20 AM, Russell Currey wrote: >> I'm looking into this now, will update when there's progress. I >> personally wasn't aware but Jordan flagged this as an issue back in >> August [0]. Are the selftests in the klp-convert tree

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-11-03 Thread Suraj Jitindar Singh
Hi Russell, On Mon, 2021-11-01 at 19:20 +1000, Russell Currey wrote: > On Sun, 2021-10-31 at 22:43 -0400, Joe Lawrence wrote: > > Starting with 5.14 kernels, I can reliably reproduce a crash [1] on > > ppc64le when loading livepatches containing late klp-relocations > > [2]. > > These are

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-11-01 Thread Joe Lawrence
On 11/1/21 5:20 AM, Russell Currey wrote: > I'm looking into this now, will update when there's progress. I > personally wasn't aware but Jordan flagged this as an issue back in > August [0]. Are the selftests in the klp-convert tree sufficient for > testing? I'm not especially familiar with

Re: ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-11-01 Thread Russell Currey
On Sun, 2021-10-31 at 22:43 -0400, Joe Lawrence wrote: > Starting with 5.14 kernels, I can reliably reproduce a crash [1] on > ppc64le when loading livepatches containing late klp-relocations [2]. > These are relocations, specific to livepatching, that are resolved not > when a livepatch module is

ppc64le STRICT_MODULE_RWX and livepatch apply_relocate_add() crashes

2021-10-31 Thread Joe Lawrence
Starting with 5.14 kernels, I can reliably reproduce a crash [1] on ppc64le when loading livepatches containing late klp-relocations [2]. These are relocations, specific to livepatching, that are resolved not when a livepatch module is loaded, but only when a livepatch-target module is loaded.