Re: [Xen-devel] [PATCH] xen: add support for MSI message groups

2014-02-27 Thread Roger Pau Monné
On 27/02/14 17:33, Boris Ostrovsky wrote: > On 02/27/2014 10:45 AM, Roger Pau Monné wrote: >>> >>> @@ -291,7 +290,10 @@ static int xen_initdom_setup_msi_irqs(struct >>> pci_dev *dev, int nvec, int type) >>> (pci_domain_nr(dev->bus) << 16); >>>map_irq.devfn = dev->de

Re: [Xen-devel] [PATCH] xen: add support for MSI message groups

2014-02-27 Thread Boris Ostrovsky
On 02/27/2014 10:45 AM, Roger Pau Monné wrote: @@ -291,7 +290,10 @@ static int xen_initdom_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) (pci_domain_nr(dev->bus) << 16); map_irq.devfn = dev->devfn; -if (type == PCI_CAP_ID_MSIX) { +if (

Re: [Xen-devel] [PATCH] xen: add support for MSI message groups

2014-02-27 Thread Roger Pau Monné
On 27/02/14 15:55, Boris Ostrovsky wrote: > On 02/26/2014 11:24 AM, Roger Pau Monne wrote: >> Add support for MSI message groups for Xen Dom0 using the >> MAP_PIRQ_TYPE_MULTI_MSI pirq map type. >> >> In order to keep track of which pirq is the first one in the group all >> pirqs in the MSI group ex

Re: [Xen-devel] [PATCH] xen: add support for MSI message groups

2014-02-27 Thread Boris Ostrovsky
On 02/26/2014 11:24 AM, Roger Pau Monne wrote: Add support for MSI message groups for Xen Dom0 using the MAP_PIRQ_TYPE_MULTI_MSI pirq map type. In order to keep track of which pirq is the first one in the group all pirqs in the MSI group except for the first one have the newly introduced PIRQ_MS

Re: [Xen-devel] [PATCH] xen: add support for MSI message groups

2014-02-27 Thread David Vrabel
On 26/02/14 16:24, Roger Pau Monne wrote: > Add support for MSI message groups for Xen Dom0 using the > MAP_PIRQ_TYPE_MULTI_MSI pirq map type. > > In order to keep track of which pirq is the first one in the group all > pirqs in the MSI group except for the first one have the newly > introduced PI