linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM/ARM implementation of PSCI
@ 2013-01-10 16:06 Marc Zyngier
  2013-01-10 16:06 ` [PATCH v2 1/2] ARM: KVM: move one-time init to its own function Marc Zyngier
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Marc Zyngier @ 2013-01-10 16:06 UTC (permalink / raw)
  To: linux-arm-kernel

This is an implementation of the Power State Coordination Interface,
as described there (registration required):
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022a/index.html

It allows CPUs to be powered on, off, suspended or migrated. This
series is only concerned with power-{on,off}. KVM Tool uses it to boot
SMP VMs. This is also supported by the mach-virt platform:

git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git virt/mach

Tested on the arm64 model, based on kvm-arm-master as of today.

>From v1:
- Documentation
- Move the one-time init to a separate function
- "One mask fits all"
- Use wait_event_interruptible instead of the open coded version

Marc Zyngier (2):
  ARM: KVM: move one-time init to its own function
  ARM: KVM: Power State Coordination Interface implementation

 Documentation/virtual/kvm/api.txt  |  4 ++
 arch/arm/include/asm/kvm_emulate.h |  5 +++
 arch/arm/include/asm/kvm_host.h    |  5 ++-
 arch/arm/include/asm/kvm_psci.h    | 23 ++++++++++
 arch/arm/include/uapi/asm/kvm.h    | 16 +++++++
 arch/arm/kvm/Makefile              |  2 +-
 arch/arm/kvm/arm.c                 | 59 +++++++++++++++++--------
 arch/arm/kvm/psci.c                | 90 ++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/kvm.h           |  1 +
 9 files changed, 184 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/include/asm/kvm_psci.h
 create mode 100644 arch/arm/kvm/psci.c

-- 
1.8.1

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

end of thread, other threads:[~2013-01-11 18:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 16:06 [PATCH v2 0/2] KVM/ARM implementation of PSCI Marc Zyngier
2013-01-10 16:06 ` [PATCH v2 1/2] ARM: KVM: move one-time init to its own function Marc Zyngier
2013-01-10 16:06 ` [PATCH v2 2/2] ARM: KVM: Power State Coordination Interface implementation Marc Zyngier
2013-01-11 17:12   ` Russell King - ARM Linux
2013-01-11 17:24     ` Marc Zyngier
2013-01-11 17:33       ` [kvmarm] " Christoffer Dall
2013-01-11 17:40         ` Russell King - ARM Linux
2013-01-11 17:43         ` Marc Zyngier
2013-01-11 17:48           ` Christoffer Dall
2013-01-11 17:57             ` Russell King - ARM Linux
2013-01-11 18:07               ` Christoffer Dall
2013-01-11 18:14                 ` Russell King - ARM Linux
2013-01-11 18:15                   ` Christoffer Dall
2013-01-11 18:09             ` Marc Zyngier
2013-01-11 18:18               ` Christoffer Dall
2013-01-10 17:51 ` [kvmarm] [PATCH v2 0/2] KVM/ARM implementation of PSCI Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).