On 28.07.15 at 09:34, feng...@intel.com wrote:
From: Jan Beulich [mailto:jbeul...@suse.com]
Sent: Friday, July 24, 2015 11:28 PM
On 23.07.15 at 13:35, feng...@intel.com wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index,
iremap_entries, p);
+
+old_ire = new_ire = *p;
-Original Message-
From: Jan Beulich [mailto:jbeul...@suse.com]
Sent: Friday, July 24, 2015 11:28 PM
To: Wu, Feng
Cc: Andrew Cooper; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir
Fraser
Subject: Re: [v4 11/17] vt-d: Add API to update IRTE when VT-d PI is used
On
On 23.07.15 at 13:35, feng...@intel.com wrote:
+int pi_update_irte(struct vcpu *v, struct pirq *pirq, uint8_t gvec)
More constification is possible here.
+{
+struct irq_desc *desc;
+const struct msi_desc *msi_desc;
+int remap_index;
+int rc = 0;
+const struct pci_dev
On 23/07/15 12:35, Feng Wu wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index, iremap_entries, p);
+
+old_ire = new_ire = *p;
+
+/* Setup/Update interrupt remapping table entry. */
+setup_posted_irte(new_ire, pi_desc, gvec);
+ret = cmpxchg16b(p, old_ire,
On 23.07.15 at 17:55, andrew.coop...@citrix.com wrote:
On 23/07/15 16:52, Jan Beulich wrote:
On 23.07.15 at 15:51, andrew.coop...@citrix.com wrote:
On 23/07/15 12:35, Feng Wu wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index, iremap_entries,
p);
+
+old_ire = new_ire = *p;
On 23.07.15 at 15:51, andrew.coop...@citrix.com wrote:
On 23/07/15 12:35, Feng Wu wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index, iremap_entries, p);
+
+old_ire = new_ire = *p;
+
+/* Setup/Update interrupt remapping table entry. */
+setup_posted_irte(new_ire,
On 23/07/15 16:52, Jan Beulich wrote:
On 23.07.15 at 15:51, andrew.coop...@citrix.com wrote:
On 23/07/15 12:35, Feng Wu wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index, iremap_entries,
p);
+
+old_ire = new_ire = *p;
+
+/* Setup/Update interrupt remapping table
On 23/07/15 17:00, Jan Beulich wrote:
On 23.07.15 at 17:55, andrew.coop...@citrix.com wrote:
On 23/07/15 16:52, Jan Beulich wrote:
On 23.07.15 at 15:51, andrew.coop...@citrix.com wrote:
On 23/07/15 12:35, Feng Wu wrote:
+GET_IREMAP_ENTRY(ir_ctrl-iremap_maddr, remap_index, iremap_entries,
This patch adds an API which is used to update the IRTE
for posted-interrupt when guest changes MSI/MSI-X information.
CC: Yang Zhang yang.z.zh...@intel.com
CC: Kevin Tian kevin.t...@intel.com
CC: Keir Fraser k...@xen.org
CC: Jan Beulich jbeul...@suse.com
CC: Andrew Cooper