Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-10-07 Thread Yu Liao
On 2024/10/4 6:21, Shuah Khan wrote: > Please send me v2 with sched.h included explicitly. It is better do do so > than having it come from indirectly. > Sorry for the late response, I have sent the v2 patch. https://lore.kernel.org/all/20241008023332.19902-1-liaoy...@huawei.com/ Best regards,

Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-09-23 Thread Yu Liao
Hi, On 2024/9/23 23:30, Shuah Khan wrote: > On 9/20/24 09:31, Jason A. Donenfeld wrote: >> Indeed probably is what's wanted here. >> > > Yu Liao, Please send v2 as per the review comments. > CLONE_NEWTIME was introduced in glibc-2.36, which was released in August

Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-09-19 Thread Yu Liao
On 2024/9/20 0:51, Shuah Khan wrote: >> diff --git a/tools/testing/selftests/vDSO/vdso_test_getrandom.c >> b/tools/testing/selftests/vDSO/vdso_test_getrandom.c >> index 72a1d9b43a84..84f2bbb2d5e0 100644 >> --- a/tools/testing/selftests/vDSO/vdso_test_getrandom.c >> +++ b/tools/testing/selftests/vD

[PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-09-19 Thread Yu Liao
(CLONE_NEWTIME) == 0); | ^ CLONE_NEWTIME is defined in linux/sched.h, so fix this by including . Fixes: 2aec90036dcd ("selftests: vDSO: ensure vgetrandom works in a time namespace") Signed-off-by: Yu Liao --- tools/testing/selftests/vDSO/vdso_test_getran

[RESEND PATCH 0/2] add loongarch and riscv support for kprobe args test

2023-10-17 Thread Yu Liao
Yu Liao (2): selftests/ftrace: add loongarch support for kprobe args char tests selftests/ftrace: Add riscv support for kprobe arg tests .../selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 6 ++ .../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc| 3 +++ .../selftests

[RESEND PATCH 1/2] selftests/ftrace: add loongarch support for kprobe args char tests

2023-10-17 Thread Yu Liao
Add loongarch support for the recently added kprobe args tests. Signed-off-by: Yu Liao Acked-by: Masami Hiramatsu (Google) Acked-by: Steven Rostedt (Google) --- .../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing

[RESEND PATCH 2/2] selftests/ftrace: Add riscv support for kprobe arg tests

2023-10-17 Thread Yu Liao
This is the riscv variant of commit 9855c4626c67 ("selftests/ftrace: Add ppc support for kprobe args tests"). Signed-off-by: Yu Liao Acked-by: Masami Hiramatsu (Google) Acked-by: Steven Rostedt (Google) --- .../selftests/ftrace/test.d/kprobe/kprobe_args_char.tc| 3 +++ ...