Re: [PATCH v1] KVM: s390x: selftests: Add shared zeropage test

2024-04-15 Thread Alexander Gordeev
On Fri, Apr 12, 2024 at 10:43:29AM +0200, David Hildenbrand wrote: > tools/testing/selftests/kvm/Makefile | 1 + > .../kvm/s390x/shared_zeropage_test.c | 110 ++ > 2 files changed, 111 insertions(+) > create mode 100644 tools/testing/selftests/kvm/s390x/shared_

Re: [PATCH v1] KVM: s390x: selftests: Add shared zeropage test

2024-04-15 Thread Alexander Gordeev
elftests/kvm/s390x/shared_zeropage_test.c Tested-by: Alexander Gordeev @Janosch, Christian, I think this patch should go via s390 tree together with https://lore.kernel.org/r/20240411161441.910170-3-da...@redhat.com Do you agree? Thanks!

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
h run_tests > - > - Alternatively, individual tests may be invoked: > - > - tools/testing/selftests/livepatch/test-callbacks.sh > - tools/testing/selftests/livepatch/test-livepatch.sh > - tools/testing/selftests/livepatch/test-shadow-vars.sh > - > -

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

Re: [PATCH] selftests/livepatch: fix and refactor new dmesg message code

2023-12-20 Thread Alexander Gordeev
../testing/selftests/livepatch/functions.sh | 37 +-- > 1 file changed, 17 insertions(+), 20 deletions(-) Acked-by: Alexander Gordeev

Re: selftests/livepatch fails on s390

2023-12-19 Thread Alexander Gordeev
On Tue, Dec 19, 2023 at 09:50:18AM -0500, Joe Lawrence wrote: > There is a loop_util() utility function in the script that could be used > to wait, like: > > log "$last_dmesg_msg" > loop_until "dmesg | grep -q '$last_dmesg_msg'" || > die "Can't find canary dmesg entry, bu

Re: selftests/livepatch fails on s390

2023-12-19 Thread Alexander Gordeev
On Mon, Dec 18, 2023 at 05:44:54PM -0500, Joe Lawrence wrote: Hi Joe! ... > > If we pre-trim the timestamps, the output is what we expect: > > > > $ comm --nocheck-order -13 \ > > <(sed 's/^\[[ 0-9.]*\] //' /tmp/A) \ > > <(sed 's/^\[[ 0-9.]*\] //' /tmp/B) > > message four > > >