KVM: ARM: Power State Coordination Interface implementation
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 20 Jan 2013 23:28:13 +0000 (18:28 -0500)
committerChristoffer Dall <c.dall@virtualopensystems.com>
Wed, 23 Jan 2013 18:29:18 +0000 (13:29 -0500)
commitaa024c2f35a07cc32e48c5f62a5807be01c09249
tree0fd5b1963f2a7e455d94357ae49be5c8cbbf6395
parent45e96ea6b369539a37040a8df9c59a39f073d9d6
KVM: ARM: Power State Coordination Interface implementation

Implement the PSCI specification (ARM DEN 0022A) to control
virtual CPUs being "powered" on or off.

PSCI/KVM is detected using the KVM_CAP_ARM_PSCI capability.

A virtual CPU can now be initialized in a "powered off" state,
using the KVM_ARM_VCPU_POWER_OFF feature flag.

The guest can use either SMC or HVC to execute a PSCI function.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Documentation/virtual/kvm/api.txt
arch/arm/include/asm/kvm_emulate.h
arch/arm/include/asm/kvm_host.h
arch/arm/include/asm/kvm_psci.h [new file with mode: 0644]
arch/arm/include/uapi/asm/kvm.h
arch/arm/kvm/Makefile
arch/arm/kvm/arm.c
arch/arm/kvm/psci.c [new file with mode: 0644]
include/uapi/linux/kvm.h