diff options
author | 2023-11-30 17:36:01 +0100 | |
---|---|---|
committer | 2023-12-05 18:47:11 +0100 | |
commit | a58a173444a68412bb08849bd81c679395f20ca0 (patch) | |
tree | 14a283f3bd54258653db8a4fbfb899dedd6026d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: Loongson64: Handle more memory types passed from firmware (diff) | |
download | wireguard-linux-a58a173444a68412bb08849bd81c679395f20ca0.tar.xz wireguard-linux-a58a173444a68412bb08849bd81c679395f20ca0.zip |
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: stable@vger.kernel.org
Reported-by: Aurelien Jarno <aurel32@debian.org>
Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055021
Suggested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions