Displaying 2 results from an estimated 2 matches for "turbo_enabled".
2013 Jun 20
3
[PATCH V2 1/2] cpufreq, xenpm: fix cpufreq and xenpm mismatch
...-git a/tools/misc/xenpm.c b/tools/misc/xenpm.c
index b5f1383..2e57f1f 100644
--- a/tools/misc/xenpm.c
+++ b/tools/misc/xenpm.c
@@ -31,10 +31,6 @@
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
-#define CPUFREQ_TURBO_DISABLED -1
-#define CPUFREQ_TURBO_UNSUPPORTED 0
-#define CPUFREQ_TURBO_ENABLED 1
-
static xc_interface *xc_handle;
static unsigned int max_cpu_nr;
@@ -699,13 +695,9 @@ static void print_cpufreq_para(int cpuid, struct xc_get_cpufreq_para *p_cpufreq)
p_cpufreq->scaling_max_freq,
p_cpufreq->scaling_min_freq,
p_cpufreq->scali...
2013 Jun 19
8
[PATCH 1/2] cpufreq, powernow: enable/disable core performance boost for all cpus in policy
Currently, enable/disable turbo mode on AMD is broken:
$ xenpm enable-turbo-mode 0 <-- works and proper CPU MSR bit is set
$ xenpm enable-turbo-mode 1 <-- silently broken, MSR bit not set
Since ->turbo is per policy, when user requests to enable/disable
turbo mode, we need to set the bit in all of the ->cpus that this
policy affects.
---
xen/arch/x86/acpi/cpufreq/powernow.c | 2