linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] PSCI system off and reset for KVM ARM/ARM64
@ 2013-10-16 17:02 Anup Patel
  2013-10-16 17:02 ` [RFC PATCH 1/5] ARM/ARM64: KVM: Update user space API header for PSCI emulation Anup Patel
                   ` (5 more replies)
  0 siblings, 6 replies; 40+ messages in thread
From: Anup Patel @ 2013-10-16 17:02 UTC (permalink / raw)
  To: linux-arm-kernel

The Power State and Coordination Interface (PSCI) specification defines
SYSTEM_OFF and SYSTEM_RESET functions for system poweroff and reboot.

This patchset adds:
1. Emulation of PSCI SYSTEM_OFF and SYSTEM_RESET functions in 
   KVM ARM/ARM64 by forwarding them to user space (QEMU or KVMTOOL)
2. System poweroff and reboot using PSCI for ARM/ARM64 kernel

Anup Patel (5):
  ARM/ARM64: KVM: Update user space API header for PSCI emulation
  ARM/ARM64: KVM: Forward PSCI SYSTEM_OFF and SYSTEM_RESET to user
    space
  KVM: Add documentation for KVM_EXIT_PSCI exit reason
  ARM: psci: Add support for system reboot and poweroff
  ARM64: psci: Add support for system reboot and poweroff

 Documentation/virtual/kvm/api.txt |   13 +++++++++
 arch/arm/include/asm/kvm_psci.h   |   25 +++++++++++++++-
 arch/arm/include/uapi/asm/kvm.h   |    2 ++
 arch/arm/kernel/psci.c            |   36 +++++++++++++++++++++++
 arch/arm/kvm/arm.c                |   12 ++++++--
 arch/arm/kvm/handle_exit.c        |   12 ++++++--
 arch/arm/kvm/psci.c               |   57 ++++++++++++++++++++++++++++++++++---
 arch/arm64/include/asm/kvm_psci.h |   25 +++++++++++++++-
 arch/arm64/include/uapi/asm/kvm.h |    2 ++
 arch/arm64/kernel/psci.c          |   36 +++++++++++++++++++++++
 arch/arm64/kvm/handle_exit.c      |   24 ++++++++++++----
 include/uapi/linux/kvm.h          |    7 +++++
 12 files changed, 233 insertions(+), 18 deletions(-)

-- 
1.7.9.5

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

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

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 17:02 [RFC PATCH 0/5] PSCI system off and reset for KVM ARM/ARM64 Anup Patel
2013-10-16 17:02 ` [RFC PATCH 1/5] ARM/ARM64: KVM: Update user space API header for PSCI emulation Anup Patel
2013-10-16 20:30   ` Christoffer Dall
2013-10-17  6:25     ` Anup Patel
2013-10-16 22:11   ` Christoffer Dall
2013-10-17  6:45     ` Anup Patel
2013-10-17  8:47       ` Marc Zyngier
2013-10-17 11:10         ` Anup Patel
2013-10-17 11:21           ` Marc Zyngier
2013-10-17 11:30             ` Anup Patel
2013-10-17 11:49               ` Alexander Graf
2013-10-17 11:55                 ` Marc Zyngier
2013-10-17 12:01                   ` Alexander Graf
2013-10-17 19:04                     ` Christoffer Dall
2013-10-17 22:06                       ` Alexander Graf
2013-10-17 22:24                         ` Christoffer Dall
2013-10-17 22:26                           ` Alexander Graf
2013-10-18  3:34                             ` Christoffer Dall
2013-10-17 15:32                   ` Anup Patel
2013-10-17 11:52               ` Marc Zyngier
2013-10-16 17:02 ` [RFC PATCH 2/5] ARM/ARM64: KVM: Forward PSCI SYSTEM_OFF and SYSTEM_RESET to user space Anup Patel
2013-10-16 22:22   ` Christoffer Dall
2013-10-17  5:52     ` Anup Patel
2013-10-17  8:37   ` Marc Zyngier
2013-10-17  9:10     ` Peter Maydell
2013-10-17  9:21       ` Marc Zyngier
2013-10-17  9:31         ` Peter Maydell
2013-10-17 18:34         ` Christoffer Dall
2013-10-18  4:18           ` Anup Patel
2013-10-17 11:07       ` Anup Patel
2013-10-17 11:13         ` Marc Zyngier
2013-10-17 11:13     ` Anup Patel
2013-10-17 18:29       ` Christoffer Dall
2013-10-16 17:02 ` [RFC PATCH 3/5] KVM: Add documentation for KVM_EXIT_PSCI exit reason Anup Patel
2013-10-16 17:02 ` [RFC PATCH 4/5] ARM: psci: Add support for system reboot and poweroff Anup Patel
2013-10-16 22:17   ` Rob Herring
2013-10-17  5:08     ` Anup Patel
2013-10-17  9:50       ` Marc Zyngier
2013-10-16 17:02 ` [RFC PATCH 5/5] ARM64: " Anup Patel
2013-10-16 17:08 ` [RFC PATCH 0/5] PSCI system off and reset for KVM ARM/ARM64 Anup Patel

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).