diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-10-15 19:18:16 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-10-18 10:29:04 +0000 |
| commit | 64b2fea9a2f90c2cc6097ed2d69acbfeeb13058d (patch) | |
| tree | 4c4f242250d548e54b0de811c31fe73bb42fab21 /sys/dev/rtwn/rtl8723b/r23b.h | |
| parent | fe6aee442d4de11864f511509ece76286b73f5b9 (diff) | |
grab_mcontext() only put the second halves of vs0-31 into the context
while the thread owned the VSX unit, but sigreturn(2) gives ownership
up so that the next use reloads the registers lazily. A signal that
arrives right after a sigreturn, like one the handler's mask was
holding back, got a context without them and its own sigreturn then
zeroed them in the PCB.
The halves saved in the PCB are current whenever the FP state is, since
VSX instructions can't run without PCB_VSX and save_fpu() stores them
in that case, so export them together with the FP registers.
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60754
Diffstat (limited to 'sys/dev/rtwn/rtl8723b/r23b.h')
0 files changed, 0 insertions, 0 deletions
