Re: [PATCH v5] um: switch to regset API and depend on XSTATE

2024-12-16 Thread Brian Norris
task) > > +   memcpy(dst, src, sizeof(init_task)); > > +   else > > +   memcpy(dst, src, arch_task_struct_size); > >     return 0; > >  } > >   FWIW, after fixing up the mangled whitespace, this works for me: Tested-by: Brian Norris

Re: [PATCH v5] um: switch to regset API and depend on XSTATE

2024-12-13 Thread Brian Norris
Hi Benjamin, On Wed, Oct 23, 2024 at 11:41:20AM +0200, Benjamin Berg wrote: > From: Benjamin Berg > > The PTRACE_GETREGSET API has now existed since Linux 2.6.33. The XSAVE > CPU feature should also be sufficiently common to be able to rely on it. > > With this, define our internal FP state to