aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <[email protected]>2023-11-30 16:36:01 +0000
committerThomas Bogendoerfer <[email protected]>2023-12-05 17:47:11 +0000
commita58a173444a68412bb08849bd81c679395f20ca0 (patch)
tree14a283f3bd54258653db8a4fbfb899dedd6026d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentMIPS: Loongson64: Handle more memory types passed from firmware (diff)
downloadkernel-a58a173444a68412bb08849bd81c679395f20ca0.tar.gz
kernel-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: [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 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions