Re: [PATCH 09/11] x86/fpu: Move CPUID leaf definitions to common code

Zhao Liu
2024-11-26T04:25:25Z

On Wed, Nov 20, 2024 at 11:53:39AM -0800, Dave Hansen wrote:
> Date: Wed, 20 Nov 2024 11:53:39 -0800
> From: Dave Hansen <dave.hansen@linux.intel.com>
> Subject: [PATCH 09/11] x86/fpu: Move CPUID leaf definitions to common code
>
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> 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>
> ---
>
> b/arch/x86/include/asm/cpuid.h | 2 ++
> b/arch/x86/include/asm/fpu/xstate.h | 4 ----
> b/arch/x86/kernel/cpu/common.c | 2 +-
> b/arch/x86/kernel/fpu/xstate.c | 1 +
> 4 files changed, 4 insertions(+), 5 deletions(-)

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>