1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/power/x86/intel-speed-select
Youquan Song 44460efe44 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>
2019-09-19 14:51:29 +03:00
..
.gitignore tools/power/x86/intel-speed-select: Add .gitignore file 2019-07-12 16:00:38 +03:00
Build tools/power/x86: A tool to validate Intel Speed Select commands 2019-07-03 15:37:09 +03:00
isst-config.c tools/power/x86/intel-speed-select: Fix high priority core mask over count 2019-09-19 14:51:29 +03:00
isst-core.c tools/power/x86/intel-speed-select: Display core count for bucket 2019-09-09 13:19:35 +03:00
isst-display.c tools/power/x86/intel-speed-select: Display core count for bucket 2019-09-09 13:19:35 +03:00
isst.h tools/power/x86/intel-speed-select: Display core count for bucket 2019-09-09 13:19:35 +03:00
Makefile tools/power/x86: A tool to validate Intel Speed Select commands 2019-07-03 15:37:09 +03:00