arm64: probes: fixes and cleanup
Status from this message: Applied to arm64 (for-next/probes), thanks! The branch also contains the
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm64: probes: Remove broken LDR (literal) uprobe supportarch/ | +11 | 0 replies | |
| 2/6 | arm64: probes: Fix simulate_ldr*_literal()arch/ | +7 | 0 replies | |
| 3/6 | arm64: probes: Fix uprobes for big-endian kernelsarch/ arch/ | +5 | 0 replies | |
| 4/6 | arm64: probes: Move kprobes-specific fieldsarch/ arch/ | +18 | 0 replies | |
| 5/6 | arm64: probes: Cleanup kprobes endianness conversionsarch/ arch/ arch/ | +8 | 0 replies | |
| 6/6 | arm64: probes: Remove probe_opcode_tarch/ arch/ arch/ +1 more | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] arm64: probes: fixes and cleanup
These patches address some issues I spotted while looking at kprobes and uprobes.
Patch 1 is the most pressing, as a uprobes user can trigger a kernel BUG(). Patches 2 and 3 fix latent endianness bugs which only manifest on big-endian kernels, and patchs 4-6 clean things up so that it's harder to get this wrong again in future.
Mark.
Mark Rutland (6):
arm64: probes: Remove broken LDR (literal) uprobe support
arm64: probes: Fix simulate_ldr*_literal()
arm64: probes: Fix uprobes for big-endian kernels
arm64: probes: Move kprobes-specific fields
arm64: probes: Cleanup kprobes endianness conversions
arm64: probes: Remove probe_opcode_t
arch/arm64/include/asm/probes.h | 11 +++---- arch/arm64/include/asm/uprobes.h | 8 ++--- arch/arm64/kernel/probes/decode-insn.c | 22 ++++++++----- arch/arm64/kernel/probes/decode-insn.h | 2 +- arch/arm64/kernel/probes/kprobes.c | 39 ++++++++++++------------ arch/arm64/kernel/probes/simulate-insn.c | 18 +++++------ arch/arm64/kernel/probes/uprobes.c | 8 ++--- 7 files changed, 53 insertions(+), 55 deletions(-)
Signature · 1 line
2.30.2