All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/13] xen_cpufreq implementation in Xen hypervisor
@ 2014-10-07 14:19 Oleksandr Dmytryshyn
  2014-10-07 14:19 ` [RFC PATCH 01/13] cpufreq: move cpufreq.h file to the xen/include/cpufreq location Oleksandr Dmytryshyn
                   ` (13 more replies)
  0 siblings, 14 replies; 69+ messages in thread
From: Oleksandr Dmytryshyn @ 2014-10-07 14:19 UTC (permalink / raw)
  To: Ian Campbell, Stefano Stabellini, Tim Deegan, xen-devel

Hi to all.

Next series of patches implements xen-cpufreq driver in Xen hypervisor.

Cpufreq core and registered cpufreq governors are located in xen. Dom0 has CPU
driver which can only change frequency of the physical CPUs. In addition this
driver can change CPUs regulator voltage. At start time xen-cpufreq driver
in kernel uploads to Xen information about physical cpus.
Xen notifies Dom0 kernel using VIRQ_CPUFREQ interrupt. Then xen-cpufreq driver
in kernel uses XEN_SYSCTL_cpufreq_op operation from HYPERVISOR_sysctl hypercall
to get some parameters from Xen (frequency, relation and cpu number).
Then xen-cpufreq changes frequency on physical cpu and uses the same
XEN_SYSCTL_cpufreq_op operation ti give the result to Xen.

Oleksandr Dmytryshyn (13):
  cpufreq: move cpufreq.h file to the xen/include/cpufreq location
  pm: move processor_perf.h file to the xen/include/cpufreq location
  pmstat: move pmstat.c file to the xen/drivers/pm location
  cpufreq: use turbo settings only for x86 architecture
  pmstat: make pmstat functions more generalizable
  cpufreq: make cpufreq driver more generalizable
  xen/arm: enable cpu hotplug
  xen/dts: make the dt_find_property function to be global
  arch/arm: create device tree nodes for Dom0 cpufreq cpu driver
  xen: arm: implement platform hypercall
  cpufreq: add xen-cpufreq driver
  xen: arm: implement XEN_SYSCTL_cpufreq_op
  xen/arm: enable cpufreq functionality for ARM

 xen/Rules.mk                                 |   3 +
 xen/arch/arm/Makefile                        |   1 +
 xen/arch/arm/Rules.mk                        |   3 +
 xen/arch/arm/domain_build.c                  |  58 +++
 xen/arch/arm/platform_hypercall.c            |  98 +++++
 xen/arch/arm/traps.c                         |   1 +
 xen/arch/x86/Rules.mk                        |   1 +
 xen/arch/x86/acpi/cpu_idle.c                 |   2 +-
 xen/arch/x86/acpi/cpufreq/cpufreq.c          |   2 +-
 xen/arch/x86/acpi/cpufreq/powernow.c         |   2 +-
 xen/arch/x86/acpi/power.c                    |   2 +-
 xen/arch/x86/cpu/mwait-idle.c                |   2 +-
 xen/arch/x86/platform_hypercall.c            |   2 +-
 xen/common/device_tree.c                     |   2 +-
 xen/common/sysctl.c                          |  10 +-
 xen/drivers/Makefile                         |   1 +
 xen/drivers/acpi/Makefile                    |   1 -
 xen/drivers/acpi/pmstat.c                    | 528 --------------------------
 xen/drivers/cpufreq/Makefile                 |   1 +
 xen/drivers/cpufreq/cpufreq.c                |  48 ++-
 xen/drivers/cpufreq/cpufreq_misc_governors.c |   2 +-
 xen/drivers/cpufreq/cpufreq_ondemand.c       |   4 +-
 xen/drivers/cpufreq/utility.c                |  13 +-
 xen/drivers/cpufreq/xen-cpufreq.c            | 267 +++++++++++++
 xen/drivers/pm/Makefile                      |   1 +
 xen/drivers/pm/pmstat.c                      | 539 +++++++++++++++++++++++++++
 xen/include/acpi/cpufreq/cpufreq.h           | 258 -------------
 xen/include/acpi/cpufreq/processor_perf.h    |  63 ----
 xen/include/asm-arm/config.h                 |   3 +
 xen/include/cpufreq/cpufreq.h                | 272 ++++++++++++++
 xen/include/cpufreq/processor_perf.h         |  70 ++++
 xen/include/public/sysctl.h                  |  19 +
 xen/include/public/xen.h                     |   1 +
 xen/include/xen/device_tree.h                |   9 +
 34 files changed, 1420 insertions(+), 869 deletions(-)
 create mode 100644 xen/arch/arm/platform_hypercall.c
 delete mode 100644 xen/drivers/acpi/pmstat.c
 create mode 100644 xen/drivers/cpufreq/xen-cpufreq.c
 create mode 100644 xen/drivers/pm/Makefile
 create mode 100644 xen/drivers/pm/pmstat.c
 delete mode 100644 xen/include/acpi/cpufreq/cpufreq.h
 delete mode 100644 xen/include/acpi/cpufreq/processor_perf.h
 create mode 100644 xen/include/cpufreq/cpufreq.h
 create mode 100644 xen/include/cpufreq/processor_perf.h

-- 
1.9.1

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

end of thread, other threads:[~2014-10-15 16:26 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 14:19 [RFC PATCH 00/13] xen_cpufreq implementation in Xen hypervisor Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 01/13] cpufreq: move cpufreq.h file to the xen/include/cpufreq location Oleksandr Dmytryshyn
2014-10-07 14:22   ` Andrew Cooper
2014-10-07 14:27     ` Oleksandr Dmytryshyn
2014-10-07 14:35   ` Jan Beulich
2014-10-09  6:04     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 02/13] pm: move processor_perf.h " Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 03/13] pmstat: move pmstat.c file to the xen/drivers/pm location Oleksandr Dmytryshyn
2014-10-07 14:38   ` Jan Beulich
2014-10-09  6:05     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 04/13] cpufreq: use turbo settings only for x86 architecture Oleksandr Dmytryshyn
2014-10-07 14:39   ` Jan Beulich
2014-10-09  6:05     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 05/13] pmstat: make pmstat functions more generalizable Oleksandr Dmytryshyn
2014-10-07 14:40   ` Jan Beulich
2014-10-09  6:06     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 06/13] cpufreq: make cpufreq driver " Oleksandr Dmytryshyn
2014-10-07 14:42   ` Jan Beulich
2014-10-09  6:06     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 07/13] xen/arm: enable cpu hotplug Oleksandr Dmytryshyn
2014-10-07 15:15   ` Julien Grall
2014-10-09  6:07     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 08/13] xen/dts: make the dt_find_property function to be global Oleksandr Dmytryshyn
2014-10-07 15:09   ` Julien Grall
2014-10-09  6:09     ` Oleksandr Dmytryshyn
2014-10-09 11:15       ` Julien Grall
2014-10-09 11:40         ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 09/13] arch/arm: create device tree nodes for Dom0 cpufreq cpu driver Oleksandr Dmytryshyn
2014-10-07 15:26   ` Julien Grall
2014-10-09  6:10     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 10/13] xen: arm: implement platform hypercall Oleksandr Dmytryshyn
2014-10-07 15:39   ` Julien Grall
2014-10-09  6:11     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 11/13] cpufreq: add xen-cpufreq driver Oleksandr Dmytryshyn
2014-10-07 14:44   ` Jan Beulich
2014-10-08 13:51     ` Stefano Stabellini
2014-10-10  9:00       ` Jan Beulich
2014-10-10  9:04         ` Stefano Stabellini
2014-10-10  9:39       ` Jan Beulich
2014-10-10  9:39         ` Stefano Stabellini
2014-10-10  9:46           ` Jan Beulich
2014-10-10  9:54             ` Stefano Stabellini
2014-10-10  9:59               ` Ian Campbell
2014-10-10 12:51                 ` Jan Beulich
2014-10-10 14:42                   ` Stefano Stabellini
2014-10-13  8:56                     ` Oleksandr Dmytryshyn
2014-10-13  9:39                       ` Jan Beulich
2014-10-13 11:59                         ` Oleksandr Dmytryshyn
2014-10-13 12:28                           ` Jan Beulich
2014-10-13 13:38                             ` Andrii Tseglytskyi
2014-10-13 14:11                               ` Jan Beulich
2014-10-13 14:29                                 ` Andrii Tseglytskyi
2014-10-14 12:20                                   ` Jan Beulich
2014-10-14 12:39                                     ` Andrii Tseglytskyi
2014-10-14 12:51                                     ` Stefano Stabellini
2014-10-14 12:58                                       ` Andrii Tseglytskyi
2014-10-14 13:00                                         ` Andrii Tseglytskyi
2014-10-14 13:05                                           ` Ian Campbell
2014-10-14 13:07                                             ` Andrii Tseglytskyi
2014-10-15 10:55                                               ` Stefano Stabellini
2014-10-15 11:17                                                 ` Andrii Tseglytskyi
2014-10-15 12:34                                                   ` Ian Campbell
2014-10-15 16:26                                                   ` Jan Beulich
2014-10-10 15:19                   ` Ian Campbell
2014-10-10 10:40               ` Jan Beulich
2014-10-09  6:13     ` Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 12/13] xen: arm: implement XEN_SYSCTL_cpufreq_op Oleksandr Dmytryshyn
2014-10-07 14:19 ` [RFC PATCH 13/13] xen/arm: enable cpufreq functionality for ARM Oleksandr Dmytryshyn
2014-10-07 14:34 ` [RFC PATCH 00/13] xen_cpufreq implementation in Xen hypervisor Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.