Re: [PATCH] x86/topo: Map vendor CPU types to generic Linux such types

Pawan Gupta <[email protected]>
Newsgroups org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel
Message-ID <dznktzvdfxqrlvugqvmkfkoarxxaqzpbmhkxou4lipuq2q52ss@crc6jbfrnmpl>
On Thu, Aug 27, 2026 at 01:44:25PM -0700, Borislav Petkov wrote:
> diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
> index cc13164d948f..f14775968308 100644
> --- a/arch/x86/events/intel/core.c
> +++ b/arch/x86/events/intel/core.c
> @@ -5682,9 +5682,9 @@ static int adl_hw_config(struct perf_event *event)
>  	return -EOPNOTSUPP;
>  }
>  
> -static enum intel_cpu_type adl_get_hybrid_cpu_type(void)
> +static enum x86_topology_cpu_type adl_get_hybrid_cpu_type(void)
>  {
> -	return INTEL_CPU_TYPE_CORE;
> +	return TOPO_CPU_TYPE_EFFICIENCY;

Should be:

	return TOPO_CPU_TYPE_PERFORMANCE;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.