diff options
author | Youquan Song <youquan.song@intel.com> | 2019-09-14 12:45:43 -0700 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-19 14:51:29 +0300 |
commit | 44460efe44e05eae2f21e57d06d542bbbb792e65 (patch) | |
tree | 6f9fe81ed3f5f829bf4912fdfcbeac38127bad49 /certs | |
parent | 85624f90c8fc7214cd37e064635d17541d657732 (diff) |
tools/power/x86/intel-speed-select: Fix high priority core mask over count
If the CPU package has the less logical CPU than topo_max_cpus, but un-present
CPU's punit_cpu_core will be initiated to 0 and they will be count to core 0
Like below, there are only 10 high priority cores (20 logical CPUs) in the CPU
package, but it count to 27 logic CPUs.
./intel-speed-select base-freq info -l 0 | grep mask
high-priority-cpu-mask:7f000179,f000179f
With the fix patch:
./intel-speed-select base-freq info -l 0
high-priority-cpu-mask:00000179,f000179f
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions