tools/power/x86/intel-speed-select: Fix display of uncore min frequency
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 9 Dec 2022 19:23:02 +0000 (11:23 -0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 3 Feb 2023 09:00:24 +0000 (10:00 +0100)
commit0d5eea3527e4618ee32fce91a5d54638a7f8c411
tree9956d39d54a9b534c9162c82184175bda2065059
parent6ed9e363157cb858bdbb8c595f04839d3f245414
tools/power/x86/intel-speed-select: Fix display of uncore min frequency

Uncore P1 is not uncore minmum frequency. This is uncore base frequency.
Correct display from uncore-frequency-min(MHz)
to uncore-frequency-base(Mhz).

To get uncore min frequency use mailbox command
CONFIG_TDP_GET_RATIO_INFO. Use this mailbox to get uncore frequency
limits when present.

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-core.c
tools/power/x86/intel-speed-select/isst-display.c
tools/power/x86/intel-speed-select/isst.h