tools/power/x86/intel-speed-select: cpufreq reads on offline CPUs
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Sat, 7 Jan 2023 01:44:26 +0000 (17:44 -0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 3 Feb 2023 08:57:07 +0000 (09:57 +0100)
commitcf3b8e8f55e1a6c747e89599695fb8783c8a69c2
treeafadab4b3e42d2ee911545f3d2f709c1f0941630
parent689dfc9e40036cb74f30c0700905b44b2c935846
tools/power/x86/intel-speed-select: cpufreq reads on offline CPUs

Due to some recent kernel changes, reading cpufreq attributes like
scaling_max_freq on offline CPUs returns error. So avoid reading
cpufreq attributes on offline CPUs.

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