Re: [PATCH 02/11] x86/cpu: Use MWAIT leaf definition

Zhao Liu
2024-11-26T03:05:58Z

On Wed, Nov 20, 2024 at 11:53:30AM -0800, Dave Hansen wrote:
> Date: Wed, 20 Nov 2024 11:53:30 -0800
> From: Dave Hansen <dave.hansen@linux.intel.com>
> Subject: [PATCH 02/11] x86/cpu: Use MWAIT leaf definition
>
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> The leaf-to-feature dependency array uses hard-coded leaf numbers.
> Use the new common header definition for the MWAIT leaf.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> ---
>
> b/arch/x86/kernel/cpu/common.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff -puN arch/x86/kernel/cpu/common.c~mwait-leaf-checks-1 arch/x86/kernel/cpu/common.c
> --- a/arch/x86/kernel/cpu/common.c~mwait-leaf-checks-1 2024-11-20 11:44:16.169610481 -0800
> +++ b/arch/x86/kernel/cpu/common.c 2024-11-20 11:44:16.169610481 -0800
> @@ -29,6 +29,7 @@

LGTM,

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