* [PATCH -next 0/2] add loongarch and riscv support for kprobe args test
@ 2023-08-15 8:59 Yu Liao
2023-08-15 8:59 ` [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests Yu Liao
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Yu Liao @ 2023-08-15 8:59 UTC (permalink / raw)
To: linux-trace-kernel, mhiramat, rostedt, shuah; +Cc: liaoyu15, liwei391
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/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++
3 files changed, 13 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests
2023-08-15 8:59 [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Yu Liao
@ 2023-08-15 8:59 ` Yu Liao
2023-08-16 5:34 ` Masami Hiramatsu
2023-08-15 8:59 ` [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests Yu Liao
2023-10-17 17:37 ` [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Steven Rostedt
2 siblings, 1 reply; 7+ messages in thread
From: Yu Liao @ 2023-08-15 8:59 UTC (permalink / raw)
To: linux-trace-kernel, mhiramat, rostedt, shuah; +Cc: liaoyu15, liwei391
Add loongarch support for the recently added kprobe args tests.
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
---
.../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
index 285b4770efad..3047fa96a7b7 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
@@ -28,6 +28,9 @@ s390*)
mips*)
ARG1=%r4
;;
+loongarch*)
+ ARG1=%r4
+;;
*)
echo "Please implement other architecture here"
exit_untested
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests
2023-08-15 8:59 [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Yu Liao
2023-08-15 8:59 ` [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests Yu Liao
@ 2023-08-15 8:59 ` Yu Liao
2023-08-16 5:35 ` Masami Hiramatsu
2023-10-17 17:37 ` [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Steven Rostedt
2 siblings, 1 reply; 7+ messages in thread
From: Yu Liao @ 2023-08-15 8:59 UTC (permalink / raw)
To: linux-trace-kernel, mhiramat, rostedt, shuah; +Cc: liaoyu15, liwei391
This is the riscv variant of commit 9855c4626c67 ("selftests/ftrace:
Add ppc support for kprobe args tests").
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
---
.../selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
.../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 +++
.../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
index 3047fa96a7b7..3462c06d29b0 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
@@ -31,6 +31,9 @@ mips*)
loongarch*)
ARG1=%r4
;;
+riscv*)
+ ARG1=%a0
+;;
*)
echo "Please implement other architecture here"
exit_untested
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
index a4f8e7c53c1f..9bfd2e488cea 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
@@ -31,6 +31,9 @@ mips*)
loongarch*)
ARG1=%r4
;;
+riscv*)
+ ARG1=%a0
+;;
*)
echo "Please implement other architecture here"
exit_untested
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
index 1df61e13a812..8f1292ad80ff 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
@@ -44,6 +44,10 @@ loongarch*)
GOODREG=%r4
BADREG=%r12
;;
+riscv*)
+ GOODREG=%a0
+ BADREG=%a8
+;;
*)
echo "Please implement other architecture here"
exit_untested
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests
2023-08-15 8:59 ` [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests Yu Liao
@ 2023-08-16 5:34 ` Masami Hiramatsu
0 siblings, 0 replies; 7+ messages in thread
From: Masami Hiramatsu @ 2023-08-16 5:34 UTC (permalink / raw)
To: Yu Liao; +Cc: linux-trace-kernel, rostedt, shuah, liwei391
On Tue, 15 Aug 2023 16:59:11 +0800
Yu Liao <liaoyu15@huawei.com> wrote:
> Add loongarch support for the recently added kprobe args tests.
>
Looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thank you,
> Signed-off-by: Yu Liao <liaoyu15@huawei.com>
> ---
> .../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> index 285b4770efad..3047fa96a7b7 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> @@ -28,6 +28,9 @@ s390*)
> mips*)
> ARG1=%r4
> ;;
> +loongarch*)
> + ARG1=%r4
> +;;
> *)
> echo "Please implement other architecture here"
> exit_untested
> --
> 2.25.1
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests
2023-08-15 8:59 ` [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests Yu Liao
@ 2023-08-16 5:35 ` Masami Hiramatsu
0 siblings, 0 replies; 7+ messages in thread
From: Masami Hiramatsu @ 2023-08-16 5:35 UTC (permalink / raw)
To: Yu Liao; +Cc: linux-trace-kernel, rostedt, shuah, liwei391
On Tue, 15 Aug 2023 16:59:12 +0800
Yu Liao <liaoyu15@huawei.com> wrote:
> This is the riscv variant of commit 9855c4626c67 ("selftests/ftrace:
> Add ppc support for kprobe args tests").
Looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thank you,
>
> Signed-off-by: Yu Liao <liaoyu15@huawei.com>
> ---
> .../selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
> .../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 +++
> .../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++
> 3 files changed, 10 insertions(+)
>
> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> index 3047fa96a7b7..3462c06d29b0 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
> @@ -31,6 +31,9 @@ mips*)
> loongarch*)
> ARG1=%r4
> ;;
> +riscv*)
> + ARG1=%a0
> +;;
> *)
> echo "Please implement other architecture here"
> exit_untested
> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
> index a4f8e7c53c1f..9bfd2e488cea 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc
> @@ -31,6 +31,9 @@ mips*)
> loongarch*)
> ARG1=%r4
> ;;
> +riscv*)
> + ARG1=%a0
> +;;
> *)
> echo "Please implement other architecture here"
> exit_untested
> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
> index 1df61e13a812..8f1292ad80ff 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc
> @@ -44,6 +44,10 @@ loongarch*)
> GOODREG=%r4
> BADREG=%r12
> ;;
> +riscv*)
> + GOODREG=%a0
> + BADREG=%a8
> +;;
> *)
> echo "Please implement other architecture here"
> exit_untested
> --
> 2.25.1
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next 0/2] add loongarch and riscv support for kprobe args test
2023-08-15 8:59 [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Yu Liao
2023-08-15 8:59 ` [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests Yu Liao
2023-08-15 8:59 ` [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests Yu Liao
@ 2023-10-17 17:37 ` Steven Rostedt
2023-10-17 23:58 ` Shuah Khan
2 siblings, 1 reply; 7+ messages in thread
From: Steven Rostedt @ 2023-10-17 17:37 UTC (permalink / raw)
To: Yu Liao
Cc: linux-trace-kernel, mhiramat, shuah, liwei391, linux-kselftest,
Shuah Khan
On Tue, 15 Aug 2023 16:59:10 +0800
Yu Liao <liaoyu15@huawei.com> wrote:
> 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/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++
> 3 files changed, 13 insertions(+)
>
I noticed that this never got picked up, but that's probably because it
didn't also Cc linux-kselftest@vger.kernel.org (which I did here).
Shuah,
Can you add this? You can also add:
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-- Steve
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next 0/2] add loongarch and riscv support for kprobe args test
2023-10-17 17:37 ` [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Steven Rostedt
@ 2023-10-17 23:58 ` Shuah Khan
0 siblings, 0 replies; 7+ messages in thread
From: Shuah Khan @ 2023-10-17 23:58 UTC (permalink / raw)
To: Steven Rostedt, Yu Liao
Cc: linux-trace-kernel, mhiramat, shuah, liwei391, linux-kselftest,
Shuah Khan
On 10/17/23 11:37, Steven Rostedt wrote:
> On Tue, 15 Aug 2023 16:59:10 +0800
> Yu Liao <liaoyu15@huawei.com> wrote:
>
>> 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/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++
>> 3 files changed, 13 insertions(+)
>>
>
> I noticed that this never got picked up, but that's probably because it
> didn't also Cc linux-kselftest@vger.kernel.org (which I did here).
>
> Shuah,
>
> Can you add this? You can also add:
>
> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
>
I can't find these in any of my inboxes.
Yu Liao, Could you resend these (rebase might be needed) with
cc to linux-kselftest@vger.kernel.org and risc mailing list.
I will pull these in for Linux 6.7-rc1.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-10-17 23:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 8:59 [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Yu Liao
2023-08-15 8:59 ` [PATCH -next 1/2] selftests/ftrace: add loongarch support for kprobe args char tests Yu Liao
2023-08-16 5:34 ` Masami Hiramatsu
2023-08-15 8:59 ` [PATCH -next 2/2] selftests/ftrace: Add riscv support for kprobe arg tests Yu Liao
2023-08-16 5:35 ` Masami Hiramatsu
2023-10-17 17:37 ` [PATCH -next 0/2] add loongarch and riscv support for kprobe args test Steven Rostedt
2023-10-17 23:58 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).