>>> On 28.07.15 at 09:34, wrote:
>> From: Jan Beulich [mailto:jbeul...@suse.com]
>> Sent: Friday, July 24, 2015 11:28 PM
>> >>> On 23.07.15 at 13:35, 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 23.07.15 at 13:35, 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 *pci_dev
> -Original Message-
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com]
> Sent: Thursday, July 23, 2015 9:52 PM
> To: Wu, Feng; xen-devel@lists.xen.org
> Cc: Zhang, Yang Z; Tian, Kevin; Keir Fraser; Jan Beulich
> Subject: Re: [v4 11/17] vt-d: Add API to update IRTE when VT-d PI is u
On 23/07/15 17:00, Jan Beulich wrote:
On 23.07.15 at 17:55, wrote:
>> On 23/07/15 16:52, Jan Beulich wrote:
>> On 23.07.15 at 15:51, wrote:
On 23/07/15 12:35, Feng Wu wrote:
> +GET_IREMAP_ENTRY(ir_ctrl->iremap_maddr, remap_index, iremap_entries,
> p);
> +
> +
>>> On 23.07.15 at 17:55, wrote:
> On 23/07/15 16:52, Jan Beulich wrote:
> On 23.07.15 at 15:51, 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;
+
+/* S
On 23/07/15 16:52, Jan Beulich wrote:
On 23.07.15 at 15:51, 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.
>>> On 23.07.15 at 15:51, 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, pi_desc, g
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,
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
CC: Kevin Tian
CC: Keir Fraser
CC: Jan Beulich
CC: Andrew Cooper
Signed-off-by: Feng Wu
Acked-by: Kevin Tian
---
v4:
- Don't inline setup_posted_irte()
- con
10 matches
Mail list logo