Skip to content

Commit

Permalink
x86/xen: update cpuid.h from Xen-4.7
Browse files Browse the repository at this point in the history
Update cpuid.h header from xen hypervisor tree to get
XEN_HVM_CPUID_VCPU_ID_PRESENT definition.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
  • Loading branch information
Vitaly Kuznetsov authored and David Vrabel committed Jul 25, 2016
1 parent fbc872c commit de2f553
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/x86/include/asm/xen/cpuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,18 @@
/*
* Leaf 5 (0x40000x04)
* HVM-specific features
* EAX: Features
* EBX: vcpu id (iff EAX has XEN_HVM_CPUID_VCPU_ID_PRESENT flag)
*/

/* EAX Features */
/* Virtualized APIC registers */
#define XEN_HVM_CPUID_APIC_ACCESS_VIRT (1u << 0)
/* Virtualized x2APIC accesses */
#define XEN_HVM_CPUID_X2APIC_VIRT (1u << 1)
/* Memory mapped from other domains has valid IOMMU entries */
#define XEN_HVM_CPUID_IOMMU_MAPPINGS (1u << 2)
/* vcpu id is present in EBX */
#define XEN_HVM_CPUID_VCPU_ID_PRESENT (1u << 3)

#define XEN_CPUID_MAX_NUM_LEAVES 4

Expand Down

0 comments on commit de2f553

Please sign in to comment.