[PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

Dietmar Eggemann dietmar.eggemann at arm.com
Fri Feb 28 22:11:31 AEDT 2025


On 18/02/2025 15:10, Yicong Yang wrote:
> From: Yicong Yang <yangyicong at hisilicon.com>

[...]

> @@ -67,6 +108,31 @@ int __init parse_acpi_topology(void)
>  		cpu_topology[cpu].package_id = topology_id;
>  	}
>  
> +	/*
> +	 * This should be a short loop depending on the number of heterogeneous
                ^^^^^^

This _is_ a short loop since the number of xArray elements is the number
of heterogeneous CPU clusters.

> +	 * CPU clusters. Typically on a homogeneous system there's only one
                         ^^^^^^^^^

I would remove 'Typically' here.

[...]



More information about the Linuxppc-dev mailing list