Skip to contentSkip to conversation

Documentation: riscv: Remove KPROBES_ON_FTRACE

PATCH Applied [email protected] 4 participants 4 messages Jan 8, 2025 – Feb 13, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: riscv: Remove KPROBES_ON_FTRACE

From: Chen Pei <[email protected]>

Since commit 7caa9765465f60 ("ftrace: riscv: move from REGS to ARGS"), kprobe on ftrace is not supported by riscv.

And commit 3308172276db5d ("trace: riscv: Remove deprecated kprobe on ftrace support") removed the relevant code, but left out the documentation, so fix that.

---
 Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +1 -1
index 02febc883..d937b7a03 100644
@@ -20,7 +20,7 @@
     |    openrisc: | TODO |
     |      parisc: |  ok  |
     |     powerpc: |  ok  |
-    |       riscv: |  ok  |
+    |       riscv: | TODO |
     |        s390: |  ok  |
     |          sh: | TODO |
     |       sparc: | TODO |
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · On Wed, Jan 08, 2025 at 10:03:42AM +0800, [email protected] wrote:

From: Chen Pei <[email protected]>

Since commit 7caa9765465f60 ("ftrace: riscv: move from REGS to ARGS"), kprobe on ftrace is not supported by riscv.

And commit 3308172276db5d ("trace: riscv: Remove deprecated kprobe on ftrace support") removed the relevant code, but left out the documentation, so fix that.

Perhaps this should have a fixes tag for the commit that removed the support?

Fixes 3308172276db5d ("trace: riscv: Remove deprecated kprobe on ftrace support")
Quoted 25 lines
---
 Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +1 -1
index 02febc883..d937b7a03 100644
@@ -20,7 +20,7 @@
     |    openrisc: | TODO |
     |      parisc: |  ok  |
     |     powerpc: |  ok  |
-    |       riscv: |  ok  |
+    |       riscv: | TODO |
     |        s390: |  ok  |
     |          sh: | TODO |
     |       sparc: | TODO |
Signature · 7 lines
2.43.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
maintainer Applied
#2 lore raw
In reply to [email protected]
Quoted 19 lines · [email protected] writes:

From: Chen Pei <[email protected]>

Since commit 7caa9765465f60 ("ftrace: riscv: move from REGS to ARGS"), kprobe on ftrace is not supported by riscv.

And commit 3308172276db5d ("trace: riscv: Remove deprecated kprobe on ftrace support") removed the relevant code, but left out the documentation, so fix that.

---
 Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +0 -0
index 02febc883..d937b7a03 100644

Documentation/features/debug/kprobes-on-ftrace/arch-support.txt line 25

Quoted 7 lines
Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +1 -1
@@ -20,7 +20,7 @@
     |    openrisc: | TODO |
     |      parisc: |  ok  |
     |     powerpc: |  ok  |
-    |       riscv: |  ok  |
+    |       riscv: | TODO |
     |        s390: |  ok  |
     |          sh: | TODO |

Applied, thanks.

jon

#3 lore raw
In reply to [email protected]
This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <[email protected]>:

Quoted 10 lines · On Wed, 8 Jan 2025 10:03:42 +0800 you wrote:

From: Chen Pei <[email protected]>

Since commit 7caa9765465f60 ("ftrace: riscv: move from REGS to ARGS"), kprobe on ftrace is not supported by riscv.

And commit 3308172276db5d ("trace: riscv: Remove deprecated kprobe on ftrace support") removed the relevant code, but left out the documentation, so fix that.

[...]

Here is the summary with links:
- Documentation: riscv: Remove KPROBES_ON_FTRACE

    https://git.kernel.org/riscv/c/ccc71244f95c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html