Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-06-03 Thread Marcos Paulo de Souza
On Mon, 2024-06-03 at 14:52 +0200, Petr Mladek wrote: > On Fri 2024-05-31 18:06:48, Marcos Paulo de Souza wrote: > > On Fri, 2024-05-31 at 15:44 -0400, Joe Lawrence wrote: > > > On Sat, May 25, 2024 at 11:34:08AM -0300, Marcos Paulo de Souza > > > wrote: > > > > Adapt the current test-livepatch.sh

Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-06-03 Thread Petr Mladek
On Fri 2024-05-31 18:06:48, Marcos Paulo de Souza wrote: > On Fri, 2024-05-31 at 15:44 -0400, Joe Lawrence wrote: > > On Sat, May 25, 2024 at 11:34:08AM -0300, Marcos Paulo de Souza > > wrote: > > > Adapt the current test-livepatch.sh script to account the number of > > > applied livepatches and en

Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-05-31 Thread Marcos Paulo de Souza
On Fri, 2024-05-31 at 15:44 -0400, Joe Lawrence wrote: > On Sat, May 25, 2024 at 11:34:08AM -0300, Marcos Paulo de Souza > wrote: > > Adapt the current test-livepatch.sh script to account the number of > > applied livepatches and ensure that an atomic replace livepatch > > disables > > all previous

Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-05-31 Thread Joe Lawrence
On Sat, May 25, 2024 at 11:34:08AM -0300, Marcos Paulo de Souza wrote: > Adapt the current test-livepatch.sh script to account the number of > applied livepatches and ensure that an atomic replace livepatch disables > all previously applied livepatches. > > Signed-off-by: Marcos Paulo de Souza >

Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-05-29 Thread Miroslav Benes
On Sat, 25 May 2024, Marcos Paulo de Souza wrote: > diff --git a/tools/testing/selftests/livepatch/test-livepatch.sh > b/tools/testing/selftests/livepatch/test-livepatch.sh > index e3455a6b1158..d85405d18e54 100755 > --- a/tools/testing/selftests/livepatch/test-livepatch.sh > +++ b/tools/testing/

Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-05-28 Thread Petr Mladek
On Sat 2024-05-25 11:34:08, Marcos Paulo de Souza wrote: > Adapt the current test-livepatch.sh script to account the number of > applied livepatches and ensure that an atomic replace livepatch disables > all previously applied livepatches. > > Signed-off-by: Marcos Paulo de Souza I am not comple

[PATCH v2] selftests: livepatch: Test atomic replace against multiple modules

2024-05-25 Thread Marcos Paulo de Souza
Adapt the current test-livepatch.sh script to account the number of applied livepatches and ensure that an atomic replace livepatch disables all previously applied livepatches. Signed-off-by: Marcos Paulo de Souza --- Changes since v1: * Added checks in the existing test-livepatch.sh instead of c