History

Merge tag 'virt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

Pull ARM virtualization changes: "This contains parts of the ARM KVM support that have dependencies on other patches merged through the arm-soc tree. In combination with patches coming through Russell's tree, this will finally add full support for the kernel based virtual machine on ARM, which has been awaited for some time now. Further, we now have a separate platform for virtual machines and qemu booting that is used by both Xen and KVM, separating these from the Versatile Express reference implementation. Obviously, this new platform is multiplatform capable so it can be combined with existing machines in the same kernel." * tag 'virt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (38 commits) ARM: arch_timer: include linux/errno.h arm: arch_timer: add missing inline in stub function ARM: KVM: arch_timers: Wire the init code and config option ARM: KVM: arch_timers: Add timer world switch ARM: KVM: arch_timers: Add guest timer core support ARM: KVM: Add VGIC configuration option ARM: KVM: VGIC initialisation code ARM: KVM: VGIC control interface world switch ARM: KVM: VGIC interrupt injection ARM: KVM: vgic: retire queued, disabled interrupts ARM: KVM: VGIC virtual CPU interface management ARM: KVM: VGIC distributor handling ARM: KVM: VGIC accept vcpu and dist base addresses from user space ARM: KVM: Initial VGIC infrastructure code ARM: KVM: Keep track of currently running vcpus KVM: ARM: Introduce KVM_ARM_SET_DEVICE_ADDR ioctl ARM: gic: add __ASSEMBLY__ guard to C definitions ARM: gic: define GICH offsets for VGIC support ARM: gic: add missing distributor defintions ARM: mach-virt: fixup machine descriptor after removal of sys_timer ...

Linus Torvalds committed 13 years ago

Commit 8b5628a2 parents a8f3740 fe7dc7239 files · +3466 −878Browse files

Showing the changes to include/uapi/linux (1 of 39 files). Show all

Unified · Split

include/uapi/linux/kvm.h+8−0
@@ -637,6 +637,7 @@ struct kvm_ppc_smmu_info { · 636 unmodified lines
637637 #define KVM_CAP_PPC_BOOKE_WATCHDOG 83
638638 #define KVM_CAP_PPC_HTAB_FD 84
639639 #define KVM_CAP_ARM_PSCI 87
640+#define KVM_CAP_ARM_SET_DEVICE_ADDR 88
640641
641642 #ifdef KVM_CAP_IRQ_ROUTING
642643
@@ -784,6 +785,11 @@ struct kvm_msi { · 141 unmodified lines
784785 __u8 pad[16];
785786 };
786787
788+struct kvm_arm_device_addr {
789+ __u64 id;
790+ __u64 addr;
791+};
792+
787793 /*
788794 * ioctls for VM fds
789795 */
@@ -869,6 +875,8 @@ struct kvm_s390_ucas_mapping { · 79 unmodified lines
869875 #define KVM_ALLOCATE_RMA _IOR(KVMIO, 0xa9, struct kvm_allocate_rma)
870876 /* Available with KVM_CAP_PPC_HTAB_FD */
871877 #define KVM_PPC_GET_HTAB_FD _IOW(KVMIO, 0xaa, struct kvm_get_htab_fd)
878+/* Available with KVM_CAP_ARM_SET_DEVICE_ADDR */
879+#define KVM_ARM_SET_DEVICE_ADDR _IOW(KVMIO, 0xab, struct kvm_arm_device_addr)
872880
873881 /*
874882 * ioctls for vcpu fds