aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/virtual/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-05-27 09:58:14 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-27 09:58:14 -0400
commit04092204bb66c4f8e17465eeee64357dd2ad2585 (patch)
tree16e62ff55ac394af5d2e6adb4950533578a20ce1 /Documentation/virtual/kvm
parent9b88ae99d2fe11e359b3b3992aff953e28b0b43a (diff)
parent1252b3313642c3d0dff5b951b625468bf0dcd059 (diff)
Merge tag 'kvm-arm-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-next
Changed for the 3.16 merge window. This includes KVM support for PSCI v0.2 and also includes generic Linux support for PSCI v0.2 (on hosts that advertise that feature via their DT), since the latter depends on headers introduced by the former. Finally there's a small patch from Marc that enables Cortex-A53 support.
Diffstat (limited to 'Documentation/virtual/kvm')
-rw-r--r--Documentation/virtual/kvm/api.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index 0581f6c40f2b..cac0ba127576 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -2378,6 +2378,8 @@ Possible features:
2378 Depends on KVM_CAP_ARM_PSCI. 2378 Depends on KVM_CAP_ARM_PSCI.
2379 - KVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode. 2379 - KVM_ARM_VCPU_EL1_32BIT: Starts the CPU in a 32bit mode.
2380 Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only). 2380 Depends on KVM_CAP_ARM_EL1_32BIT (arm64 only).
2381 - KVM_ARM_VCPU_PSCI_0_2: Emulate PSCI v0.2 for the CPU.
2382 Depends on KVM_CAP_ARM_PSCI_0_2.
2381 2383
2382 2384
23834.83 KVM_ARM_PREFERRED_TARGET 23854.83 KVM_ARM_PREFERRED_TARGET
@@ -2740,6 +2742,21 @@ It gets triggered whenever both KVM_CAP_PPC_EPR are enabled and an
2740external interrupt has just been delivered into the guest. User space 2742external interrupt has just been delivered into the guest. User space
2741should put the acknowledged interrupt vector into the 'epr' field. 2743should put the acknowledged interrupt vector into the 'epr' field.
2742 2744
2745 /* KVM_EXIT_SYSTEM_EVENT */
2746 struct {
2747#define KVM_SYSTEM_EVENT_SHUTDOWN 1
2748#define KVM_SYSTEM_EVENT_RESET 2
2749 __u32 type;
2750 __u64 flags;
2751 } system_event;
2752
2753If exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered
2754a system-level event using some architecture specific mechanism (hypercall
2755or some special instruction). In case of ARM/ARM64, this is triggered using
2756HVC instruction based PSCI call from the vcpu. The 'type' field describes
2757the system-level event type. The 'flags' field describes architecture
2758specific flags for the system-level event.
2759
2743 /* Fix the size of the union. */ 2760 /* Fix the size of the union. */
2744 char padding[256]; 2761 char padding[256];
2745 }; 2762 };