Displaying 4 results from an estimated 4 matches for "processor_perform".
2008 Oct 29
4
[PATCH] cpufreq.c: shut up compiler about cpufreq_dom
...+80,7 @@ int cpufreq_add_cpu(unsigned int cpu)
unsigned int dom, domexist = 0;
unsigned int j;
struct list_head *pos;
- struct cpufreq_dom *cpufreq_dom;
+ struct cpufreq_dom *cpufreq_dom = 0;
struct cpufreq_policy new_policy;
struct cpufreq_policy *policy;
struct processor_performance *perf = &processor_pminfo[cpu]->perf;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Oct 17
0
[PATCH] powernow: don't read never initialoized structure member
c/s 20361:51b031b0737e removed the writing of struct
processor_performance''s shared_cpu_map member, but the powernow driver
still has code to read it (though presumably that code path can''t be
taken on actual hardware supported by the powernow driver). Remove the
use of the field along with the field itself.
Signed-off-by: Jan Beulich <jbeulich@s...
2012 Aug 16
5
[PATCH] AMD, powernow: Update P-state directly when _PSD's CoordType is DOMAIN_COORD_TYPE_HW_ALL
...v_cmd *) drvcmd;
-
-
- wrmsrl(MSR_PSTATE_CTRL, cmd->val);
+ wrmsrl(MSR_PSTATE_CTRL, *(int *)pstate);
}
static void update_cpb(void *data)
@@ -106,13 +95,11 @@ static int powernow_cpufreq_target(struc
{
struct acpi_cpufreq_data *data = cpufreq_drv_data[policy->cpu];
struct processor_performance *perf;
- struct cpufreq_freqs freqs;
cpumask_t online_policy_cpus;
- struct drv_cmd cmd;
- unsigned int next_state = 0; /* Index into freq_table */
- unsigned int next_perf_state = 0; /* Index into perf table */
- int result = 0;
- int j = 0;
+ unsigned int next_state;...
2008 Oct 01
0
[PATCH] [IA64] Compilation fix to cpufreq stuff.
...1,24 @@
+/*
+ * Temporal workaround for compilation breakage.
+ */
+
+#include <xen/errno.h>
+#include <acpi/acpi.h>
+#include <acpi/cpufreq/processor_perf.h>
+#include <public/platform.h>
+
+int get_cpu_id(u8 acpi_id)
+{
+ return -1;
+}
+
+int xenpf_copy_px_states(struct processor_performance *pxpt,
+ struct xen_processor_performance *dom0_px_info)
+{
+ return -ENOSYS;
+}
+
+int cpufreq_cpu_init(unsigned int cpuid)
+{
+ return -ENOSYS;
+}
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com...