Re: [PATCH] vhost/scsi: Fix improper cleanup in vhost_scsi_set_endpoint()

2025-01-13 Thread Lei Yang
I tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Mon, Jan 13, 2025 at 5:20 AM Mike Christie wrote: > > On 1/12/25 11:35 AM, michael.chris...@oracle.com wrote: > > So I think to fix the issue, we would want to: > &g

Re: [PATCH net-next 0/3] virtio_net: Link queues to NAPIs

2025-01-12 Thread Lei Yang
I tested this series of patches with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Sat, Jan 11, 2025 at 4:26 AM Joe Damato wrote: > > Greetings: > > Recently [1], Jakub mentioned that there were a few drivers that are not > yet mapping queues to NAP

Re: [PATCH v5 0/6] vhost: Add support of kthread API

2025-01-02 Thread Lei Yang
I tested this series v5 with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Mon, Dec 30, 2024 at 8:46 PM Cindy Lu wrote: > > In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), > the vhost now uses vhost_task and operates as a c

Re: [PATCH net v4 0/6] virtio_net: correct netdev_tx_reset_queue() invocation points

2024-12-10 Thread Lei Yang
I tested this series v4 patches with virtio-net regression tests, all cases test pass. But I hit a bug https://bugzilla.kernel.org/show_bug.cgi?id=219588, only judging from call trace info it should be a CPU issue, and not related to the current patch. Tested-by: Lei Yang On Tue, Dec 10, 2024

Re: [PATCH v3 0/9] vhost: Add support of kthread API

2024-12-10 Thread Lei Yang
I tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Tue, Nov 5, 2024 at 3:27 PM Cindy Lu wrote: > > In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), > The vhost now use vhost_task and workers working as a

Re: [PATCH vhost v2 00/10] vdpa/mlx5: Parallelize device suspend/resume

2024-09-03 Thread Lei Yang
On Mon, Sep 2, 2024 at 7:05 PM Dragos Tatulea wrote: > > Hi Lei, > > On 02.09.24 12:03, Lei Yang wrote: > > Hi Dragos > > > > QE tested this series with mellanox nic, it failed with [1] when > > booting guest, and host dmesg also will print messages [2]. This

Re: [syzbot] [virtualization?] linux-next boot error: WARNING: refcount bug in __free_pages_ok

2024-02-21 Thread Lei Yang
Hi All I hit a similar issue when doing a regression testing from my side. For the error messages please help review the attachment. The latest commit: commit c02197fc9076e7d991c8f6adc11759c5ba52ddc6 (HEAD -> master, origin/master, origin/HEAD) Merge: f2667e0c3240 0846dd77c834 Author: Linus Torva

Re: [PATCH v2] vdpa/mlx5: Allow CVQ size changes

2024-02-18 Thread Lei Yang
QE tested this patch's V2, qemu no longer print error messages "qemu-system-x86_64: Insufficient written data (0)" after enable/disable multi queues multi times inside guest. Both "x-svq=on '' and without it are all test pass. Tested-by: Lei Yang On Fri, Feb 16,

[PATCH v2] sysctl: kselftests: fix test_modprobe issue

2018-09-06 Thread Lei Yang
ng sys interface. Signed-off-by: Lei Yang --- tools/testing/selftests/sysctl/sysctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh index 584eb8e..08dc995 100755 --- a/tools/testing/selftes

Re: [PATCH] sysctl: kselftests: use kernel module instead of built-in

2018-09-05 Thread lei yang
On 2018年09月06日 00:47, Shuah Khan wrote: On 09/04/2018 08:20 PM, Lei Yang wrote: It uses modprobe $TEST_DRIVER in sysctl.sh, so update config to use "m" instead Signed-off-by: Lei Yang --- tools/testing/selftests/sysctl/config | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v2] cgroup: kselftests: add test_core to .gitignore

2018-09-05 Thread Lei Yang
Update .gitignore file. Signed-off-by: Lei Yang --- tools/testing/selftests/cgroup/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/cgroup/.gitignore b/tools/testing/selftests/cgroup/.gitignore index 95eb3a5..adacda5 100644 --- a/tools/testing/selftests

[PATCH] selftests: memory-hotplug: add required configs

2018-09-05 Thread Lei Yang
add CONFIG_MEMORY_HOTREMOVE=y in config without this config, /sys/devices/system/memory/memory*/removable always return 0, I endup getting an early skip during test Signed-off-by: Lei Yang --- tools/testing/selftests/memory-hotplug/config | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH] selftests/efivarfs: add required kernel configs

2018-09-04 Thread Lei Yang
add config file Signed-off-by: Lei Yang --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/efivarfs/config diff --git a/tools/testing/selftests/efivarfs/config b/tools/testing/selftests/efivarfs/config new file mode

Re: [PATCH] sysctl: kselftests: add test_core to .gitignore

2018-09-04 Thread lei yang
sorry, the title should be :"cgroup: kselftests: add test_core to .gitignore" Lei On 2018年09月05日 10:39, Lei Yang wrote: Update .gitignore files. Signed-off-by: Lei Yang --- tools/testing/selftests/cgroup/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/too

[PATCH] sysctl: kselftests: add test_core to .gitignore

2018-09-04 Thread Lei Yang
Update .gitignore files. Signed-off-by: Lei Yang --- tools/testing/selftests/cgroup/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/cgroup/.gitignore b/tools/testing/selftests/cgroup/.gitignore index 95eb3a5..adacda5 100644 --- a/tools/testing/selftests

[PATCH] sysctl: kselftests: use kernel module instead of built-in

2018-09-04 Thread Lei Yang
It uses modprobe $TEST_DRIVER in sysctl.sh, so update config to use "m" instead Signed-off-by: Lei Yang --- tools/testing/selftests/sysctl/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/sysctl/config b/tools/testing/selftests/sys

[PATCH]] zram: kselftests: correct README

2018-08-29 Thread Lei Yang
CONFIG_ZRAM=y should be CONFIG_ZRAM=m it obviously uses zram kernel module in the testing Signed-off-by: Lei Yang --- tools/testing/selftests/zram/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/zram/README b/tools/testing/selftests/zram

[PATCH]] kvm: selftests: use -pthread instead of -lpthread

2018-08-29 Thread Lei Yang
-pthread" would work everywhere Signed-off-by: Lei Yang --- tools/testing/selftests/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 03b0f55..48c970c 100644 --- a/tools/testing/se

Re: [PATCH] selftests: memory-hotplug: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-09 Thread lei yang
On 2018年05月03日 05:18, Shuah Khan (Samsung OSG) wrote: Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in lib.mk. Common defines work after making the change the test to run with ratio=2 as the default mode to be able to invoke the test without the "-r 2" argument from the common

Re: [PATCH] selftests: futex: fix compilation error

2017-11-07 Thread lei yang
On 2017年11月08日 06:57, Shuah Khan wrote: On 11/06/2017 06:18 PM, lei yang wrote: On 2017年11月07日 07:48, Shuah Khan wrote: On 11/06/2017 04:45 PM, Shuah Khan wrote: On 11/05/2017 09:03 PM, Lei Yang wrote: I run into below error when building futext /bin/sh: -c: line 5: syntax error

[PATCH] selftests: kselftest.h: fix compilation errors

2017-11-07 Thread Lei Yang
‘}’ token } ^ Signed-off-by: Lei Yang --- tools/testing/selftests/kselftest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kselftest.h b/tools/testing/selftests/kselftest.h index d6732ba312ef..acc98a5c3d73 100644 --- a/tools/testing/selftests/k

Re: [PATCH] selftests: memfd_test.c: fix compilation warning.

2017-11-07 Thread lei yang
f type int, but argument 2 has type size_t {aka long unsigned int} [-Wformat=] printf("malloc(%d) failed: %m\n", mfd_def_size * 8); Lei On 2017年11月07日 07:46, Shuah Khan wrote: On 11/05/2017 03:56 AM, Lei Yang wrote: Replace '%d' by '%zu' to fix the following com

Re: [PATCH] selftests: futex: fix compilation error

2017-11-06 Thread lei yang
On 2017年11月07日 07:48, Shuah Khan wrote: On 11/06/2017 04:45 PM, Shuah Khan wrote: On 11/05/2017 09:03 PM, Lei Yang wrote: I run into below error when building futext /bin/sh: -c: line 5: syntax error: unexpected end of file the closing ";" and "\" are necessary. My OS is

Re: [PATCH] selftests: futex: fix compilation error

2017-11-06 Thread lei yang
On 2017年11月07日 07:45, Shuah Khan wrote: On 11/05/2017 09:03 PM, Lei Yang wrote: I run into below error when building futext /bin/sh: -c: line 5: syntax error: unexpected end of file the closing ";" and "\" are necessary. My OS is "Ubuntu 14.04.5 LTS" Signed

Re: [PATCH] selftests: fix compile error for sync

2017-11-06 Thread lei yang
On 2017年11月07日 07:35, Shuah Khan wrote: On 11/05/2017 03:08 AM, Lei Yang wrote: I got below error message when building sync test: make[1]: Entering directory `tools/testing/selftests/sync' gcc -c sync.c -o tools/testing/selftests/sync/sync.o sync.c:42:29: fatal error: linux/sync_file.

Re: [PATCH] selftests: memfd_test.c: fix compilation warning.

2017-11-06 Thread lei yang
On 2017年11月07日 07:46, Shuah Khan wrote: On 11/05/2017 03:56 AM, Lei Yang wrote: Replace '%d' by '%zu' to fix the following compilation warning. memfd_test.c:517:3: warning: format ‘%d’ expects argument of type ‘int’,but argument 2 has type ‘size_t’ [-Wformat=] print

[PATCH] selftests: futex: fix compilation error

2017-11-05 Thread Lei Yang
I run into below error when building futext /bin/sh: -c: line 5: syntax error: unexpected end of file the closing ";" and "\" are necessary. My OS is "Ubuntu 14.04.5 LTS" Signed-off-by: Lei Yang --- tools/testing/selftests/futex/Makefile | 6 +++--- 1 file changed

[PATCH] selftests: memfd_test.c: fix compilation warning.

2017-11-05 Thread Lei Yang
function ‘mfd_fail_grow_write’: memfd_test.c:537:3: warning: format ‘%d’ expects argument of type ‘int’,but argument 2 has type ‘size_t’ [-Wformat=] printf("malloc(%d) failed: %m\n", mfd_def_size * 8); Signed-off-by: Lei Yang --- tools/testing/selftests/memfd/memfd_test.c | 4 ++-- 1 fi

[PATCH] selftests: fix compile error for sync

2017-11-05 Thread Lei Yang
when comipling. Signed-off-by: Lei Yang --- tools/testing/selftests/sync/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile index 8e04d0a..46cbcc3 100644 --- a/tools/testing/selftests

[PATCH] selftests: add "PASS" status in log for mqueue

2017-11-05 Thread Lei Yang
It prints 'FAIL' status when test failed, but not print 'PASS' when test passed. Signed-off-by: Lei Yang --- tools/testing/selftests/mqueue/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/mqueue/Makefile b/too

Re: [PATCH] selftests: remove obsolete kconfig fragment for cpu-hotplug

2017-11-03 Thread lei yang
On 2017年11月03日 06:14, Shuah Khan wrote: Hi Lei, On 10/17/2017 08:10 PM, lei.y...@windriver.com wrote: From: Lei Yang Are you using git send-email to send patches. it is odd to see this extra From: line. I just find it's caused by my git configuration. in .gitconfig, comment out

[PATCH] selftests: add required kernel config for intel_pstate

2017-11-03 Thread Lei Yang
intel_pstate depends on CONFIG_X86_INTEL_PSTATE, so add it to the config. Signed-off-by: Lei Yang --- tools/testing/selftests/intel_pstate/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/intel_pstate/config diff --git a/tools/testing/selftests