Re: [PATCH v3 19/28] arm64/sve: ptrace and ELF coredump support

2017-10-18 Thread Dave Martin
On Wed, Oct 18, 2017 at 11:32:55AM +0100, Catalin Marinas wrote: > On Fri, Oct 13, 2017 at 05:16:39PM +0100, Dave P Martin wrote: > > On Thu, Oct 12, 2017 at 06:06:32PM +0100, Catalin Marinas wrote: > > > On Tue, Oct 10, 2017 at 07:38:36PM +0100, Dave P Martin wrote: > > > > @@ -702,6 +737,211 @@

Re: [PATCH v3 19/28] arm64/sve: ptrace and ELF coredump support

2017-10-18 Thread Catalin Marinas
On Fri, Oct 13, 2017 at 05:16:39PM +0100, Dave P Martin wrote: > On Thu, Oct 12, 2017 at 06:06:32PM +0100, Catalin Marinas wrote: > > On Tue, Oct 10, 2017 at 07:38:36PM +0100, Dave P Martin wrote: > > > @@ -702,6 +737,211 @@ static int system_call_set(struct task_struct > > > *target, > > >

Re: [PATCH v3 19/28] arm64/sve: ptrace and ELF coredump support

2017-10-13 Thread Dave Martin
On Thu, Oct 12, 2017 at 06:06:32PM +0100, Catalin Marinas wrote: > On Tue, Oct 10, 2017 at 07:38:36PM +0100, Dave P Martin wrote: > > @@ -702,6 +737,211 @@ static int system_call_set(struct task_struct *target, > > return ret; > > } > > > > +#ifdef CONFIG_ARM64_SVE > > + > > +static void

Re: [PATCH v3 19/28] arm64/sve: ptrace and ELF coredump support

2017-10-12 Thread Catalin Marinas
On Tue, Oct 10, 2017 at 07:38:36PM +0100, Dave P Martin wrote: > @@ -702,6 +737,211 @@ static int system_call_set(struct task_struct *target, > return ret; > } > > +#ifdef CONFIG_ARM64_SVE > + > +static void sve_init_header_from_task(struct user_sve_header *header, > +

[PATCH v3 19/28] arm64/sve: ptrace and ELF coredump support

2017-10-10 Thread Dave Martin
This patch defines and implements a new regset NT_ARM_SVE, which describes a thread's SVE register state. This allows a debugger to manipulate the SVE state, as well as being included in ELF coredumps for post-mortem debugging. Because the regset size and layout are dependent on the thread's