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

2024-10-23 Thread Johannes Berg
On Wed, 2024-10-23 at 10:29 +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 be the hosts XSAVE da

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

2024-10-23 Thread Benjamin Berg
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 be the hosts XSAVE data. Add discovery for the hosts XSAVE size and place the FP register