[RFC PATCH 0/5] PSCI system off and reset for KVM ARM/ARM64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux