diff options
author | Thomas Bogendoerfer <[email protected]> | 2023-11-30 17:36:01 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2023-12-05 18:47:11 +0100 |
commit | a58a173444a68412bb08849bd81c679395f20ca0 (patch) | |
tree | 14a283f3bd54258653db8a4fbfb899dedd6026d9 /scripts/generate_rust_analyzer.py | |
parent | c7206e7bd214ebb3ca6fa474a4423662327d9beb (diff) |
MIPS: kernel: Clear FPU states when setting up kernel threads
io_uring sets up the io worker kernel thread via a syscall out of an
user space prrocess. This process might have used FPU and since
copy_thread() didn't clear FPU states for kernel threads a BUG()
is triggered for using FPU inside kernel. Move code around
to always clear FPU state for user and kernel threads.
Cc: [email protected]
Reported-by: Aurelien Jarno <[email protected]>
Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055021
Suggested-by: Jiaxun Yang <[email protected]>
Reviewed-by: Jiaxun Yang <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions