]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
tools/power/x86/intel-speed-select: Fix missing base-freq core IDs
authorJonathan Doman <jonathan.doman@intel.com>
Wed, 30 Sep 2020 22:26:36 +0000 (15:26 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 20:54:16 +0000 (22:54 +0200)
commit7566616fb968dcc9f11d3f6b57132d33acab4e35
treeb12004573479904f0512834777a0337eb3474d9d
parent81c93798ef3ebd2109dc24371db3cc14cdf77777
tools/power/x86/intel-speed-select: Fix missing base-freq core IDs

The reported base-freq high-priority-cpu-list was potentially omitting
some cpus, due to incorrectly using a logical core count to constrain
the size of a physical punit core ID mask. We may need to read both high
and low PBF CORE_MASK values regardless of the logical core count.

Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/power/x86/intel-speed-select/isst-config.c
tools/power/x86/intel-speed-select/isst-core.c
tools/power/x86/intel-speed-select/isst.h