Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-22 Thread Shuah Khan
On 1/22/24 05:55, Marcos Paulo de Souza wrote: On Fri, 2024-01-19 at 14:19 +0100, Alexander Gordeev wrote: On Fri, Jan 19, 2024 at 02:11:01PM +0100, Alexander Gordeev wrote: FWIW, for s390 part: Alexander Gordeev Acked-by: Alexander Gordeev Thanks Alexandre and Joe for testing and suppor

Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-22 Thread Marcos Paulo de Souza
On Fri, 2024-01-19 at 14:19 +0100, Alexander Gordeev wrote: > On Fri, Jan 19, 2024 at 02:11:01PM +0100, Alexander Gordeev wrote: > > FWIW, for s390 part: > > > > Alexander Gordeev > > Acked-by: Alexander Gordeev Thanks Alexandre and Joe for testing and supporting the change. Shuah, now that t

Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-19 Thread Alexander Gordeev
On Fri, Jan 19, 2024 at 02:11:01PM +0100, Alexander Gordeev wrote: > FWIW, for s390 part: > > Alexander Gordeev Acked-by: Alexander Gordeev

Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-19 Thread Alexander Gordeev
On Fri, Jan 12, 2024 at 02:43:51PM -0300, Marcos Paulo de Souza wrote: Hi Marcos, ... > arch/s390/configs/debug_defconfig | 1 - > arch/s390/configs/defconfig| 1 - > lib/Kconfig.debug | 22 -- ... > diff --git a/ar

Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-17 Thread mpdesouza
On Wed, 2024-01-17 at 16:40 +0100, Alexander Gordeev wrote: > On Fri, Jan 12, 2024 at 02:43:51PM -0300, Marcos Paulo de Souza > wrote: > > Hi Marcos! Hello! > > > Having the modules being built as out-of-modules requires changing > > the > > currently used 'modprobe' by 'insmod' and adapt the t

Re: [PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-17 Thread Alexander Gordeev
On Fri, Jan 12, 2024 at 02:43:51PM -0300, Marcos Paulo de Souza wrote: Hi Marcos! > Having the modules being built as out-of-modules requires changing the > currently used 'modprobe' by 'insmod' and adapt the test scripts that > check for the kernel message buffer. Please, correct me if I am wro

[PATCH v6 2/3] livepatch: Move tests from lib/livepatch to selftests/livepatch

2024-01-12 Thread Marcos Paulo de Souza
The modules are being moved from lib/livepatch to tools/testing/selftests/livepatch/test_modules. This code moving will allow writing more complex tests, like for example an userspace C code that will call a livepatched kernel function. The modules are now built as out-of-tree modules, but being