aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Pau Monné <roger.pau@citrix.com>2022-02-18 08:17:47 +0000
committerColin Percival <cperciva@FreeBSD.org>2026-03-28 05:54:37 +0000
commit8c986d1645312487adf21a9104d667ac1e19c25f (patch)
tree8bde64e878fd2b69c80e6b26ec6d2d0323549430
parent9ab5aa3d4c7879d5518afc7587a864ba880e7ee9 (diff)
-rw-r--r--sys/contrib/xen/arch-x86/cpuid.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/contrib/xen/arch-x86/cpuid.h b/sys/contrib/xen/arch-x86/cpuid.h
index ce46305bee99..f2b2b3632c2d 100644
--- a/sys/contrib/xen/arch-x86/cpuid.h
+++ b/sys/contrib/xen/arch-x86/cpuid.h
@@ -102,6 +102,13 @@
#define XEN_HVM_CPUID_IOMMU_MAPPINGS (1u << 2)
#define XEN_HVM_CPUID_VCPU_ID_PRESENT (1u << 3) /* vcpu id is present in EBX */
#define XEN_HVM_CPUID_DOMID_PRESENT (1u << 4) /* domid is present in ECX */
+/*
+ * With interrupt format set to 0 (non-remappable) bits 55:49 from the
+ * IO-APIC RTE and bits 11:5 from the MSI address can be used to store
+ * high bits for the Destination ID. This expands the Destination ID
+ * field from 8 to 15 bits, allowing to target APIC IDs up 32768.
+ */
+#define XEN_HVM_CPUID_EXT_DEST_ID (1u << 5)
/*
* Leaf 6 (0x40000x05)