]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/fpu: Log XSAVE disablement consistently
authorChang S. Bae <chang.seok.bae@intel.com>
Wed, 16 Apr 2025 02:16:56 +0000 (19:16 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 16 Apr 2025 07:44:15 +0000 (09:44 +0200)
commit39cd7fad39ce2ffbeb21939c805ee55f3ec808d4
treede74a8cc7d2ca285b151f2a021d02791d2df5547
parentab6f87ddd0c6d3fb114cdf897eb9839cbd429439
x86/fpu: Log XSAVE disablement consistently

Not all paths that lead to fpu__init_disable_system_xstate() currently
emit a message indicating that XSAVE has been disabled. Move the print
statement into the function to ensure the message in all cases.

Suggested-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250416021720.12305-7-chang.seok.bae@intel.com
arch/x86/kernel/fpu/xstate.c