History

Merge branch 'kvm-ppc-cap-210' into kvm-next-5.18

Paolo Bonzini committed 4 years ago

Commit 4dfc4ec2 parents 0828824 93b71803 files · +17 −1Browse files

Unified · Split

3 files
  1. Documentation/virt/kvm/api.rst +14 −0
  2. include/uapi/linux/kvm.h +2 −1
  3. tools/include/uapi/linux/kvm.h +1 −0
Documentation/virt/kvm/api.rst+14−0
@@ -7065,6 +7065,20 @@ indicated by the fd to the VM this is called on. · 7064 unmodified lines
7065This is intended to support intra-host migration of VMs between userspace VMMs,7065This is intended to support intra-host migration of VMs between userspace VMMs,
7066upgrading the VMM process without interrupting the guest.7066upgrading the VMM process without interrupting the guest.
7067 7067
70687.30 KVM_CAP_PPC_AIL_MODE_3
7069-------------------------------
7070
7071:Capability: KVM_CAP_PPC_AIL_MODE_3
7072:Architectures: ppc
7073:Type: vm
7074
7075This capability indicates that the kernel supports the mode 3 setting for the
7076"Address Translation Mode on Interrupt" aka "Alternate Interrupt Location"
7077resource that is controlled with the H_SET_MODE hypercall.
7078
7079This capability allows a guest kernel to use a better-performance mode for
7080handling interrupts and system calls.
7081
70688. Other capabilities.70828. Other capabilities.
7069======================7083======================
7070 7084
include/uapi/linux/kvm.h+2−1
@@ -1140,7 +1140,8 @@ struct kvm_ppc_resize_hpt { · 1139 unmodified lines
1140#define KVM_CAP_VM_GPA_BITS 2071140#define KVM_CAP_VM_GPA_BITS 207
1141#define KVM_CAP_XSAVE2 2081141#define KVM_CAP_XSAVE2 208
1142#define KVM_CAP_SYS_ATTRIBUTES 2091142#define KVM_CAP_SYS_ATTRIBUTES 209
1143#define KVM_CAP_S390_MEM_OP_EXTENSION 2101143#define KVM_CAP_PPC_AIL_MODE_3 210
1144#define KVM_CAP_S390_MEM_OP_EXTENSION 211
1144 1145
1145#ifdef KVM_CAP_IRQ_ROUTING1146#ifdef KVM_CAP_IRQ_ROUTING
1146 1147
tools/include/uapi/linux/kvm.h+1−0
@@ -1134,6 +1134,7 @@ struct kvm_ppc_resize_hpt { · 1133 unmodified lines
1134#define KVM_CAP_VM_GPA_BITS 2071134#define KVM_CAP_VM_GPA_BITS 207
1135#define KVM_CAP_XSAVE2 2081135#define KVM_CAP_XSAVE2 208
1136#define KVM_CAP_SYS_ATTRIBUTES 2091136#define KVM_CAP_SYS_ATTRIBUTES 209
1137#define KVM_CAP_PPC_AIL_MODE_3 210
1137 1138
1138#ifdef KVM_CAP_IRQ_ROUTING1139#ifdef KVM_CAP_IRQ_ROUTING
1139 1140