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
70657065 This is intended to support intra-host migration of VMs between userspace VMMs,
70667066 upgrading the VMM process without interrupting the guest.
70677067
7068+7.30 KVM_CAP_PPC_AIL_MODE_3
7069+-------------------------------
7070+
7071+:Capability: KVM_CAP_PPC_AIL_MODE_3
7072+:Architectures: ppc
7073+:Type: vm
7074+
7075+This capability indicates that the kernel supports the mode 3 setting for the
7076+"Address Translation Mode on Interrupt" aka "Alternate Interrupt Location"
7077+resource that is controlled with the H_SET_MODE hypercall.
7078+
7079+This capability allows a guest kernel to use a better-performance mode for
7080+handling interrupts and system calls.
7081+
70687082 8. Other capabilities.
70697083 ======================
70707084
include/uapi/linux/kvm.h+2−1
@@ -1140,7 +1140,8 @@ struct kvm_ppc_resize_hpt { · 1139 unmodified lines
11401140 #define KVM_CAP_VM_GPA_BITS 207
11411141 #define KVM_CAP_XSAVE2 208
11421142 #define KVM_CAP_SYS_ATTRIBUTES 209
1143−#define KVM_CAP_S390_MEM_OP_EXTENSION 210
1143+#define KVM_CAP_PPC_AIL_MODE_3 210
1144+#define KVM_CAP_S390_MEM_OP_EXTENSION 211
11441145
11451146 #ifdef KVM_CAP_IRQ_ROUTING
11461147
tools/include/uapi/linux/kvm.h+1−0
@@ -1134,6 +1134,7 @@ struct kvm_ppc_resize_hpt { · 1133 unmodified lines
11341134 #define KVM_CAP_VM_GPA_BITS 207
11351135 #define KVM_CAP_XSAVE2 208
11361136 #define KVM_CAP_SYS_ATTRIBUTES 209
1137+#define KVM_CAP_PPC_AIL_MODE_3 210
11371138
11381139 #ifdef KVM_CAP_IRQ_ROUTING
11391140