Re: [PATCH 01/11] x86/cpu: Move MWAIT leaf definition to common header

Zhao Liu
2024-11-26T03:03:49Z

On Wed, Nov 20, 2024 at 11:53:28AM -0800, Dave Hansen wrote:
> Date: Wed, 20 Nov 2024 11:53:28 -0800
> From: Dave Hansen <dave.hansen@linux.intel.com>
> Subject: [PATCH 01/11] x86/cpu: Move MWAIT leaf definition to common header
>
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> Begin constructing a common place to keep all CPUID leaf definitions.
> Move CPUID_MWAIT_LEAF to the CPUID header and include it where
> needed.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> ---
>
> b/arch/x86/include/asm/cpuid.h | 2 ++
> b/arch/x86/include/asm/mwait.h | 1 -
> b/arch/x86/kernel/acpi/cstate.c | 1 +
> b/arch/x86/kernel/hpet.c | 1 +
> b/arch/x86/kernel/process.c | 1 +
> b/arch/x86/kernel/smpboot.c | 1 +
> b/arch/x86/xen/enlighten_pv.c | 1 +
> b/drivers/acpi/acpi_pad.c | 1 +
> b/drivers/idle/intel_idle.c | 1 +
> 9 files changed, 9 insertions(+), 1 deletion(-)

Look straightforward to me, so,

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