diff options
author | Olof Johansson <olof@lixom.net> | 2013-02-11 12:02:53 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-11 12:02:53 -0500 |
commit | 655e194cfee8ba89634228f97f1310df41b45cbb (patch) | |
tree | 85989f9f14ad53a3797ab5c70093a8181399e669 /include/uapi | |
parent | 1e044f0490c9d9f26ebcdd3dc63e02790b798821 (diff) | |
parent | da141b67d29a05267a9a0d56bd7856b7f3f58d44 (diff) |
Merge branch 'for-rmk/virt/kvm/core' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into next/virt
* 'for-rmk/virt/kvm/core' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux:
KVM: ARM: Add maintainer entry for KVM/ARM
KVM: ARM: Power State Coordination Interface implementation
KVM: ARM: Handle I/O aborts
KVM: ARM: Handle guest faults in KVM
KVM: ARM: VFP userspace interface
KVM: ARM: Demux CCSIDR in the userspace API
KVM: ARM: User space API for getting/setting co-proc registers
KVM: ARM: Emulation framework and CP15 emulation
KVM: ARM: World-switch implementation
KVM: ARM: Inject IRQs and FIQs from userspace
KVM: ARM: Memory virtualization setup
KVM: ARM: Hypervisor initialization
KVM: ARM: Initial skeleton to compile KVM support
ARM: Section based HYP idmap
ARM: Add page table and page defines needed by KVM
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/kvm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index e6e5d4b13708..7f2360a46fc2 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h | |||
@@ -115,6 +115,7 @@ struct kvm_irq_level { | |||
115 | * ACPI gsi notion of irq. | 115 | * ACPI gsi notion of irq. |
116 | * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. | 116 | * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. |
117 | * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. | 117 | * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. |
118 | * For ARM: See Documentation/virtual/kvm/api.txt | ||
118 | */ | 119 | */ |
119 | union { | 120 | union { |
120 | __u32 irq; | 121 | __u32 irq; |
@@ -635,6 +636,7 @@ struct kvm_ppc_smmu_info { | |||
635 | #define KVM_CAP_IRQFD_RESAMPLE 82 | 636 | #define KVM_CAP_IRQFD_RESAMPLE 82 |
636 | #define KVM_CAP_PPC_BOOKE_WATCHDOG 83 | 637 | #define KVM_CAP_PPC_BOOKE_WATCHDOG 83 |
637 | #define KVM_CAP_PPC_HTAB_FD 84 | 638 | #define KVM_CAP_PPC_HTAB_FD 84 |
639 | #define KVM_CAP_ARM_PSCI 87 | ||
638 | 640 | ||
639 | #ifdef KVM_CAP_IRQ_ROUTING | 641 | #ifdef KVM_CAP_IRQ_ROUTING |
640 | 642 | ||
@@ -764,6 +766,11 @@ struct kvm_dirty_tlb { | |||
764 | #define KVM_REG_SIZE_U512 0x0060000000000000ULL | 766 | #define KVM_REG_SIZE_U512 0x0060000000000000ULL |
765 | #define KVM_REG_SIZE_U1024 0x0070000000000000ULL | 767 | #define KVM_REG_SIZE_U1024 0x0070000000000000ULL |
766 | 768 | ||
769 | struct kvm_reg_list { | ||
770 | __u64 n; /* number of regs */ | ||
771 | __u64 reg[0]; | ||
772 | }; | ||
773 | |||
767 | struct kvm_one_reg { | 774 | struct kvm_one_reg { |
768 | __u64 id; | 775 | __u64 id; |
769 | __u64 addr; | 776 | __u64 addr; |
@@ -932,6 +939,8 @@ struct kvm_s390_ucas_mapping { | |||
932 | #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg) | 939 | #define KVM_SET_ONE_REG _IOW(KVMIO, 0xac, struct kvm_one_reg) |
933 | /* VM is being stopped by host */ | 940 | /* VM is being stopped by host */ |
934 | #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad) | 941 | #define KVM_KVMCLOCK_CTRL _IO(KVMIO, 0xad) |
942 | #define KVM_ARM_VCPU_INIT _IOW(KVMIO, 0xae, struct kvm_vcpu_init) | ||
943 | #define KVM_GET_REG_LIST _IOWR(KVMIO, 0xb0, struct kvm_reg_list) | ||
935 | 944 | ||
936 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) | 945 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) |
937 | #define KVM_DEV_ASSIGN_PCI_2_3 (1 << 1) | 946 | #define KVM_DEV_ASSIGN_PCI_2_3 (1 << 1) |