[PATCH 1/6] x86/fpu: Remove remaining fpstate reset for init_task
From: Chang S. Bae
Date: Mon Nov 30 2026 - 16:19:22 EST
The init task has no FPU storage, but the fallback path that disables
XSTATE still invokes fpstate_reset(). Remove it.
Fixes: 22aafe3bcb67 ("x86/fpu: Remove init_task FPU state dependencies, add debugging warning for PF_KTHREAD tasks")
Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
---
arch/x86/kernel/fpu/xstate.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index da303714379cd..f69eb0a596f44 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -778,8 +778,6 @@ static void __init fpu__init_disable_system_xstate(unsigned int legacy_size)
* XFD MSR.
*/
init_fpstate.xfd = 0;
-
- fpstate_reset(x86_task_fpu(current));
}
static u64 __init host_default_mask(void)
--
2.53.0