Re: [PATCH v7 10/13] x86/um: nommu: signal handling

2025-06-19 Thread Hajime Tazaki
Thanks, # this is a thread of my older series, v7 (current one is v9), tho your comment is still valid so, thanks ! On Thu, 19 Jun 2025 20:43:06 +0900, Benjamin Berg wrote: > > Hi, > > I am not sure that fxsaveq/fxrstorq is guaranteed to be sufficient. I > don't think that catches some of the

Re: [PATCH v7 10/13] x86/um: nommu: signal handling

2025-06-19 Thread Benjamin Berg
Hi, I am not sure that fxsaveq/fxrstorq is guaranteed to be sufficient. I don't think that catches some of the newer AVX registers for example. At the same time, dealing with all that properly could be rather annoying. I don't really have a solution for that, normal UM does not need to deal with

[PATCH v7 10/13] x86/um: nommu: signal handling

2025-01-19 Thread Hajime Tazaki
This commit updates the behavior of signal handling under !MMU environment. It adds the alignment code for signal frame as the frame is used in userspace as-is. floating point register is carefully handling upon entry/leave of syscall routine so that signal handlers can read/write the contents of