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

From: Zhao Liu
Date: Mon Nov 25 2024 - 23:25:32 EST


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@xxxxxxxxxxxxxxx>
> Subject: [PATCH 09/11] x86/fpu: Move CPUID leaf definitions to common code
>
>
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>
> ---
>
> 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@xxxxxxxxx>