diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 17:29:37 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 17:29:37 -0500 |
| commit | 6db167dfc013b0e114c81077ac091ba26a69f4ed (patch) | |
| tree | 1978b8a2774e0fdb3690065625b0b5eb84475552 /include/uapi/linux | |
| parent | 32f9aab8ebd886211a7b3e552753af014c3e5225 (diff) | |
| parent | 9cb543124a2d31af42ce61a4c30765ecc8e5f1fa (diff) | |
Merge branch 'for-linus-2' of git://git.linaro.org/people/rmk/linux-arm
Pull ARM updates (part two) from Russell King:
- breakpoint and perf updates from Will Deacon.
- hypervisor boot mode updates from Will.
- support for Power State Coordination Interface via the Hypervisor
- core ARM support for KVM
* 'for-linus-2' of git://git.linaro.org/people/rmk/linux-arm: (32 commits)
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
ARM: perf: simplify __hw_perf_event_init err handling
ARM: perf: remove unnecessary checks for idx < 0
ARM: perf: handle armpmu_register failing
ARM: perf: don't pretend to support counting of L1I writes
ARM: perf: remove redundant NULL check on cpu_pmu
...
Diffstat (limited to 'include/uapi/linux')
| -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) |
