Re: [RFC PATCH v4 11/13] riscv: Add ptrace vector support

2020-06-01 Thread Guo Ren
Since it has been redesigned with new version spec, please change the first-author :) And add me as Co-developed. On Tue, May 26, 2020 at 3:03 PM Greentime Hu wrote: > > From: Guo Ren > > This patch adds ptrace support for riscv vector. The vector registers will > be saved in datap pointer of

[RFC PATCH v4 11/13] riscv: Add ptrace vector support

2020-05-26 Thread Greentime Hu
From: Guo Ren This patch adds ptrace support for riscv vector. The vector registers will be saved in datap pointer of __riscv_v_state. This pointer will be set right after the __riscv_v_state data structure then it will be put in ubuf for ptrace system call to get or set. It will check if the