On 24.06.15 at 07:18, feng...@intel.com wrote:
--- a/xen/drivers/passthrough/vtd/iommu.h
+++ b/xen/drivers/passthrough/vtd/iommu.h
@@ -289,29 +289,43 @@ struct dma_pte {
/* interrupt remap entry */
struct iremap_entry {
union {
-u64 lo_val;
+struct { u64 lo, hi; };
From: Wu, Feng
Sent: Wednesday, June 24, 2015 1:18 PM
Extend struct iremap_entry according to VT-d Posted-Interrupts Spec.
Signed-off-by: Feng Wu feng...@intel.com
Acked-by: Kevin Tian kevin.t...@intel.com
___
Xen-devel mailing list
On 24/06/15 06:18, Feng Wu wrote:
diff --git a/xen/drivers/passthrough/vtd/iommu.h
b/xen/drivers/passthrough/vtd/iommu.h
index e807253..49daa70 100644
--- a/xen/drivers/passthrough/vtd/iommu.h
+++ b/xen/drivers/passthrough/vtd/iommu.h
@@ -289,29 +289,43 @@ struct dma_pte {
/* interrupt
...@suse.com
Subject: Re: [Xen-devel] [v3 09/15] vt-d: Extend struct iremap_entry to
support
VT-d Posted-Interrupts
On 24/06/15 06:18, Feng Wu wrote:
diff --git a/xen/drivers/passthrough/vtd/iommu.h
b/xen/drivers/passthrough/vtd/iommu.h
index e807253..49daa70 100644
--- a/xen/drivers
Extend struct iremap_entry according to VT-d Posted-Interrupts Spec.
Signed-off-by: Feng Wu feng...@intel.com
---
v3:
- Use u32 instead of u64 to define the bitfields in 'struct iremap_entry'
- Limit using bitfield if possible
xen/drivers/passthrough/vtd/intremap.c | 92