RISC-V: Remove ptrace support for vectors
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 16 Aug 2023 15:54:48 +0000 (15:54 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 22 Aug 2023 20:54:59 +0000 (13:54 -0700)
commite3f9324b231aba1dc707572bfe80be210c2d4cbd
treecb87d32890fba62abd7baf8e274ab751b1fbc168
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
RISC-V: Remove ptrace support for vectors

We've found two bugs here: NT_RISCV_VECTOR steps on NT_RISCV_CSR (which
is only for embedded), and we don't have vlenb in the core dumps.  Given
that we've have a pair of bugs croup up as part of the GDB review we've
probably got other issues, so let's just cut this for 6.5 and get it
right.

Fixes: 0c59922c769a ("riscv: Add ptrace vector support")
Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20230816155450.26200-2-andy.chiu@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/ptrace.c
include/uapi/linux/elf.h