diff options
author | 2025-03-05 11:01:56 -0800 | |
---|---|---|
committer | 2025-03-07 08:00:21 -0800 | |
commit | c49e805db30674293d6a595db52549addd9d611f (patch) | |
tree | 12e1d128b1b7e7c09bb00d5061041e45b12455d5 /scripts/gdb/linux/utils.py | |
parent | tools/power/x86/intel-speed-select: Prevent increasing MAX_DIE_PER_PACKAGE (diff) | |
download | wireguard-linux-c49e805db30674293d6a595db52549addd9d611f.tar.xz wireguard-linux-c49e805db30674293d6a595db52549addd9d611f.zip |
tools/power/x86/intel-speed-select: Fix the condition to check multi die system
Even when there is no die exported by CPUID leaf 0x1F, the kernel version
after 6.9 will show non zero die_id in the sysfs. In that case maximum
die_id can still match maximum power domain ID. So the condition to check
if the power domain ID is same a die_id to prevent duplicate display
doesn't hold true.
The better condition is to check if the maximum die_id is more than the
maximum package_id. If the die_id is exposed by CPUID leaf 0x1F, the
maximum die_id will be more than maximum package_id.
With this change tracking of max_punit_id is not used, so remove storing
max_punit_id.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions