Re: [Qemu-devel] [PATCH 3/3] spapr_pci: fix "ibm, pe-total-#msi" value

2018-09-10 Thread Cédric Le Goater
On 09/11/2018 03:50 AM, David Gibson wrote: > On Mon, Sep 10, 2018 at 01:02:22PM +0200, Cédric Le Goater wrote: >> The "ibm,pe-total-#msi" property of the sPAPR PHB defines the number >> of allocatable MSI interrupts. This is currently set to XICS_IRQS_SPAPR >> which covers the full IRQ number spac

Re: [Qemu-devel] [PATCH 3/3] spapr_pci: fix "ibm, pe-total-#msi" value

2018-09-10 Thread David Gibson
On Mon, Sep 10, 2018 at 01:02:22PM +0200, Cédric Le Goater wrote: > The "ibm,pe-total-#msi" property of the sPAPR PHB defines the number > of allocatable MSI interrupts. This is currently set to XICS_IRQS_SPAPR > which covers the full IRQ number space of the machine. This is wrong. > > Fix the def

[Qemu-devel] [PATCH 3/3] spapr_pci: fix "ibm,pe-total-#msi" value

2018-09-10 Thread Cédric Le Goater
The "ibm,pe-total-#msi" property of the sPAPR PHB defines the number of allocatable MSI interrupts. This is currently set to XICS_IRQS_SPAPR which covers the full IRQ number space of the machine. This is wrong. Fix the definition by using the 'nr_msis' attribute of the sPAPRIrq class and remove XI