Re: [Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi

2014-05-04 Thread Alexander Graf
> Am 04.05.2014 um 12:28 schrieb Alexey Kardashevskiy : > >> On 04/29/2014 07:40 PM, Alexander Graf wrote: >> >>> On 29.04.14 05:17, Alexey Kardashevskiy wrote: >>> Recently a check for maximum supported MSIX vectors number has been >>> added. However the check always assumed that MSIX is the o

Re: [Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi

2014-05-04 Thread Alexey Kardashevskiy
On 04/29/2014 07:40 PM, Alexander Graf wrote: > > On 29.04.14 05:17, Alexey Kardashevskiy wrote: >> Recently a check for maximum supported MSIX vectors number has been >> added. However the check always assumed that MSIX is the only case >> and failed on devices which have MSI but do not have MSIX

Re: [Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi

2014-04-29 Thread Alexander Graf
On 29.04.14 05:17, Alexey Kardashevskiy wrote: Recently a check for maximum supported MSIX vectors number has been added. However the check always assumed that MSIX is the only case and failed on devices which have MSI but do not have MSIX such as QEMU's PCI Bridge. This results in assert in xic

[Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi

2014-04-28 Thread Alexey Kardashevskiy
Recently a check for maximum supported MSIX vectors number has been added. However the check always assumed that MSIX is the only case and failed on devices which have MSI but do not have MSIX such as QEMU's PCI Bridge. This results in assert in xics_alloc_block() as req_num is zero. This adds a c