On Tue, 26 May 2015, Wu, Feng wrote:
On Mon, 25 May 2015, Feng Wu wrote:
+
+ /* We don't need to modify irte if the interrupt is for posting. */
+ if (irte-pst != 1)
+ modify_irte(ir_data-irq_2_iommu, irte);
I don't think this is correct. ir_data-irte_entry contains the
-Original Message-
From: Thomas Gleixner [mailto:t...@linutronix.de]
Sent: Tuesday, May 26, 2015 6:00 PM
To: Wu, Feng
Cc: j...@8bytes.org; dw...@infradead.org; jiang@linux.intel.com;
iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org
Subject: RE: [v7 4/8] iommu,
On Mon, 25 May 2015, Feng Wu wrote:
We don't need to migrate the irqs for VT-d Posted-Interrupts here.
When 'pst' is set in IRTE, the associated irq will be posted to
guests instead of interrupt remapping. The destination of the
interrupt is set in Posted-Interrupts Descriptor, and the
-Original Message-
From: Thomas Gleixner [mailto:t...@linutronix.de]
Sent: Monday, May 25, 2015 4:38 PM
To: Wu, Feng
Cc: j...@8bytes.org; dw...@infradead.org; jiang@linux.intel.com;
iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org
Subject: Re: [v7 4/8] iommu,