summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmc
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2025-08-19 14:10:34 -0700
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-08-28 14:53:34 +0300
commit6d47b4f08436cb682fb2644e6265a3897fd42a77 (patch)
treeb8cbea944a58eb740b8108f56776ab0708f64ebc /drivers/platform/x86/intel/pmc
parentfaec01b1a4998f3747f55e394409bdcb541af319 (diff)
platform/x86/intel-uncore-freq: Fix warning in partitioned system
A partitioned system configured with only one package and one compute die, warning will be generated for duplicate sysfs entry. This typically occurs during the platform bring-up phase. Partitioned systems expose dies, equivalent to TPMI compute domains, through the CPUID. Each partitioned system must contains at least one compute die per partition, resulting in a minimum of two dies per package. Hence the function topology_max_dies_per_package() returns at least two, and the condition "topology_max_dies_per_package() > 1" prevents the creation of a root domain. In this case topology_max_dies_per_package() will return 1 and root domain will be created for partition 0 and a duplicate sysfs warning for partition 1 as both partitions have same package ID. To address this also check for non zero partition in addition to topology_max_dies_per_package() > 1. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20250819211034.3776284-1-srinivas.pandruvada@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmc')
0 files changed, 0 insertions, 0 deletions