Pull KVM update from Paolo Bonzini: "Fairly small update, but there are some interesting new features. Common: Optional support for adding a small amount of polling on each HLT instruction executed in the guest (or equivalent for other architectures). This can improve latency up to 50% on some scenarios (e.g. O_DSYNC writes or TCP_RR netperf tests). This also has to be enabled manually for now, but the plan is to auto-tune this in the future. ARM/ARM64: The highlights are support for GICv3 emulation and dirty page tracking s390: Several optimizations and bugfixes. Also a first: a feature exposed by KVM (UUID and long guest name in /proc/sysinfo) before it is available in IBM's hypervisor! :) MIPS: Bugfixes. x86: Support for PML (page modification logging, a new feature in Broadwell Xeons that speeds up dirty page tracking), nested virtualization improvements (nested APICv---a nice optimization), usual round of emulation fixes. There is also a new option to reduce latency of the TSC deadline timer in the guest; this needs to be tuned manually. Some commits are common between this pull and Catalin's; I see you have already included his tree. Powerpc: Nothing yet. The KVM/PPC changes will come in through the PPC maintainers, because I haven't received them yet and I might end up being offline for some part of next week" * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (130 commits) KVM: ia64: drop kvm.h from installed user headers KVM: x86: fix build with !CONFIG_SMP KVM: x86: emulate: correct page fault error code for NoWrite instructions KVM: Disable compat ioctl for s390 KVM: s390: add cpu model support KVM: s390: use facilities and cpu_id per KVM KVM: s390/CPACF: Choose crypto control block format s390/kernel: Update /proc/sysinfo file with Extended Name and UUID KVM: s390: reenable LPP facility KVM: s390: floating irqs: fix user triggerable endless loop kvm: add halt_poll_ns module parameter kvm: remove KVM_MMIO_SIZE KVM: MIPS: Don't leak FPU/DSP to guest KVM: MIPS: Disable HTW while in guest KVM: nVMX: Enable nested posted interrupt processing KVM: nVMX: Enable nested virtual interrupt delivery KVM: nVMX: Enable nested apic register virtualization KVM: nVMX: Make nested control MSRs per-cpu KVM: nVMX: Enable nested virtualize x2apic mode KVM: nVMX: Prepare for using hardware MSR bitmap ...
Showing the changes to include/uapi/linux (1 of 88 files). Show all
Unified · Split
| @@ -491,6 +491,11 @@ struct kvm_s390_emerg_info { · 490 unmodified lines | ||
| 491 | 491 | __u16 code; |
| 492 | 492 | }; |
| 493 | 493 | |
| 494 | +#define KVM_S390_STOP_FLAG_STORE_STATUS 0x01 | |
| 495 | +struct kvm_s390_stop_info { | |
| 496 | + __u32 flags; | |
| 497 | +}; | |
| 498 | + | |
| 494 | 499 | struct kvm_s390_mchk_info { |
| 495 | 500 | __u64 cr14; |
| 496 | 501 | __u64 mcic; |
| @@ -509,6 +514,7 @@ struct kvm_s390_irq { · 12 unmodified lines | ||
| 509 | 514 | struct kvm_s390_emerg_info emerg; |
| 510 | 515 | struct kvm_s390_extcall_info extcall; |
| 511 | 516 | struct kvm_s390_prefix_info prefix; |
| 517 | + struct kvm_s390_stop_info stop; | |
| 512 | 518 | struct kvm_s390_mchk_info mchk; |
| 513 | 519 | char reserved[64]; |
| 514 | 520 | } u; |
| @@ -753,6 +759,7 @@ struct kvm_ppc_smmu_info { · 238 unmodified lines | ||
| 753 | 759 | #define KVM_CAP_PPC_FIXUP_HCALL 103 |
| 754 | 760 | #define KVM_CAP_PPC_ENABLE_HCALL 104 |
| 755 | 761 | #define KVM_CAP_CHECK_EXTENSION_VM 105 |
| 762 | +#define KVM_CAP_S390_USER_SIGP 106 | |
| 756 | 763 | |
| 757 | 764 | #ifdef KVM_CAP_IRQ_ROUTING |
| 758 | 765 | |
| @@ -952,6 +959,8 @@ enum kvm_device_type { · 193 unmodified lines | ||
| 952 | 959 | #define KVM_DEV_TYPE_ARM_VGIC_V2 KVM_DEV_TYPE_ARM_VGIC_V2 |
| 953 | 960 | KVM_DEV_TYPE_FLIC, |
| 954 | 961 | #define KVM_DEV_TYPE_FLIC KVM_DEV_TYPE_FLIC |
| 962 | + KVM_DEV_TYPE_ARM_VGIC_V3, | |
| 963 | +#define KVM_DEV_TYPE_ARM_VGIC_V3 KVM_DEV_TYPE_ARM_VGIC_V3 | |
| 955 | 964 | KVM_DEV_TYPE_MAX, |
| 956 | 965 | }; |
| 957 | 966 | |