[PATCH v2 -next] arch_topology: Provide a stub topology_core_has_smt() for !CONFIG_GENERIC_ARCH_TOPOLOGY

Will Deacon will at kernel.org
Fri Nov 7 07:53:49 PST 2025


On Wed, 05 Nov 2025 18:38:49 +0800, Yicong Yang wrote:
> The arm_pmu driver is using topology_core_has_smt() for retrieving
> the SMT implementation which depends on CONFIG_GENERIC_ARCH_TOPOLOGY.
> The config is optional on arm platforms so provide a
> !CONFIG_GENERIC_ARCH_TOPOLOGY stub for topology_core_has_smt().
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] arch_topology: Provide a stub topology_core_has_smt() for !CONFIG_GENERIC_ARCH_TOPOLOGY
      https://git.kernel.org/will/c/7ab06ea41af5

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list