public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]  xen/acpi-processor: C and P-state driver that uploads said data to hypervisor. [v7]
@ 2012-03-10 16:04 Konrad Rzeszutek Wilk
  2012-03-10 16:05 ` [PATCH] xen/acpi-processor: C and P-state driver that uploads said data to hypervisor Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-10 16:04 UTC (permalink / raw)
  To: JBeulich, linux-kernel, xen-devel, davej, cpufreq
  Cc: mike.mcclurg, ke.yu, kevin.tian

The problem this patch is trying to solve is to provide ACPI power management
information to the hypervisor from the initial domain. The hypervisor lacks the
ACPI DSDT parser so it can't get that data without some help - and the initial
domain can provide that. One approach (https://lkml.org/lkml/2011/11/30/245)
augments the ACPI code to call an external PM code - but there were no comments
about it so I decided to see if another approach could solve it.

It also solves the other problem of CPUfreq scaling drivers running in
the initial domain, changing frequencies without consulting the hypervisor for
the appropiate load information. This means that both the hypervisor and the
initial domain might be changing the P-states at the same time.

This module (xen-acpi-processor)  collects the information the same way that
the cpufreq drivers would utilize ACPI processor code and save everything in
the 'struct acpi_processor' and then uploads it to the hypervisor.

The driver can be either an module or compiled in. If compiled in, it will
launch itself before the CPUfreq scaling drivers to inhibit them. If as a module
then further work is needed in the init script to allow this driver to be loaded
before powernow-k8 or acpi-cpufreq.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-13  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-10 16:04 [PATCH] xen/acpi-processor: C and P-state driver that uploads said data to hypervisor. [v7] Konrad Rzeszutek Wilk
2012-03-10 16:05 ` [PATCH] xen/acpi-processor: C and P-state driver that uploads said data to hypervisor Konrad Rzeszutek Wilk
2012-03-12 11:01   ` Jan Beulich
2012-03-12 15:07     ` Konrad Rzeszutek Wilk
2012-03-12 15:26       ` Jan Beulich
2012-03-13  3:35         ` Konrad Rzeszutek Wilk
2012-03-13  8:21           ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox