]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/fpu: Move CPUID leaf definitions to common code
authorDave Hansen <dave.hansen@linux.intel.com>
Fri, 13 Dec 2024 20:50:37 +0000 (12:50 -0800)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 18 Dec 2024 14:17:42 +0000 (06:17 -0800)
commit754aaac3bbf13bdbbed9da94b56f371e90fd9c96
tree41f1c9db34d0ea488ab4bb35022eb8c723a28a1a
parente558eadf6bd6199a3f454299de3c6338931d4e46
x86/fpu: Move CPUID leaf definitions to common code

Move the XSAVE-related CPUID leaf definitions to common code.  Then,
use the new definition to remove the last magic number from the CPUID
level dependency table.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/all/20241213205037.43C57CDE%40davehans-spike.ostc.intel.com
arch/x86/include/asm/cpuid.h
arch/x86/include/asm/fpu/xstate.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/fpu/xstate.c