diff options
| author | 2013-01-20 18:28:13 -0500 | |
|---|---|---|
| committer | 2013-01-23 13:29:18 -0500 | |
| commit | aa024c2f35a07cc32e48c5f62a5807be01c09249 (patch) | |
| tree | 0fd5b1963f2a7e455d94357ae49be5c8cbbf6395 /include/uapi/linux/kvm.h | |
| parent | KVM: ARM: Handle I/O aborts (diff) | |
| download | linux-dev-aa024c2f35a07cc32e48c5f62a5807be01c09249.tar.xz linux-dev-aa024c2f35a07cc32e48c5f62a5807be01c09249.zip | |
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>
Diffstat (limited to 'include/uapi/linux/kvm.h')
| -rw-r--r-- | include/uapi/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index dc63665e73ad..7f2360a46fc2 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -636,6 +636,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_IRQFD_RESAMPLE 82 #define KVM_CAP_PPC_BOOKE_WATCHDOG 83 #define KVM_CAP_PPC_HTAB_FD 84 +#define KVM_CAP_ARM_PSCI 87 #ifdef KVM_CAP_IRQ_ROUTING |
