linux-sg2042/tools/power/x86/intel-speed-select
Srinivas Pandruvada 7af5a95bb7 tools/power/x86/intel-speed-select: Support platform with limited Intel(R) Speed Select
There are some platforms, where there limited support of Intel(R) SST
features. Here perf-profile has only one base configuration and limited
support of commands. But still has support for discovery of base-freq and
turbo-freq features. So it is important to show minimum features to use
base-freq and turbo-freq features.

Here the change are:
- When there is no support of CONFIG_TDP_GET_LEVELS_INFO, then instead
of treating this as fatal error, treat this with number of config levels
= 0, that means only base level 0 is present.
- There is no support of mail box commands to get base frequencies or
turbo frequencies. Here present base frequency by reading cpufreq
base freq and turbo frequency by reading MSR 0x1AD.
- Don't display any field, which has value == 0.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2019-11-07 19:00:25 +02:00
..
.gitignore tools/power/x86/intel-speed-select: Add .gitignore file 2019-07-12 16:00:38 +03:00
Build
Makefile
isst-config.c tools/power/x86/intel-speed-select: Support platform with limited Intel(R) Speed Select 2019-11-07 19:00:25 +02:00
isst-core.c tools/power/x86/intel-speed-select: Support platform with limited Intel(R) Speed Select 2019-11-07 19:00:25 +02:00
isst-display.c tools/power/x86/intel-speed-select: Support platform with limited Intel(R) Speed Select 2019-11-07 19:00:25 +02:00
isst.h tools/power/x86/intel-speed-select: Support platform with limited Intel(R) Speed Select 2019-11-07 19:00:25 +02:00