History

Merge tag 'kvmarm-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm updates for 4.20 - Improved guest IPA space support (32 to 52 bits) - RAS event delivery for 32bit - PMU fixes - Guest entry hardening - Various cleanups

Paolo Bonzini committed 8 years ago

Commit e42b4a52 parents 1e58e5e e4e11cc65 files · +1118 −565Browse files

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

Unified · Split

include/uapi/linux/kvm.h+10−0
@@ -757,6 +757,15 @@ struct kvm_ppc_resize_hpt { · 756 unmodified lines
757757
758758 #define KVM_S390_SIE_PAGE_OFFSET 1
759759
760+/*
761+ * On arm64, machine type can be used to request the physical
762+ * address size for the VM. Bits[7-0] are reserved for the guest
763+ * PA size shift (i.e, log2(PA_Size)). For backward compatibility,
764+ * value 0 implies the default IPA size, 40bits.
765+ */
766+#define KVM_VM_TYPE_ARM_IPA_SIZE_MASK 0xffULL
767+#define KVM_VM_TYPE_ARM_IPA_SIZE(x) \
768+ ((x) & KVM_VM_TYPE_ARM_IPA_SIZE_MASK)
760769 /*
761770 * ioctls for /dev/kvm fds:
762771 */
@@ -965,6 +974,7 @@ struct kvm_ppc_resize_hpt { · 202 unmodified lines
965974 #define KVM_CAP_COALESCED_PIO 162
966975 #define KVM_CAP_HYPERV_ENLIGHTENED_VMCS 163
967976 #define KVM_CAP_EXCEPTION_PAYLOAD 164
977+#define KVM_CAP_ARM_VM_IPA_SIZE 165
968978
969979 #ifdef KVM_CAP_IRQ_ROUTING
970980

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t