Re: [PATCH v3 09/34] spapr: Clarify and fix handling of nr_irqs

2019-10-01 Thread Cédric Le Goater
On 02/10/2019 04:51, David Gibson wrote: > Both the XICS and XIVE interrupt backends have a "nr-irqs" property, but > it means slightly different things. For XICS (or, strictly, the ICS) it > indicates the number of "real" external IRQs. Those start at XICS_IRQ_BASE > (0x1000) and don't include t

[PATCH v3 09/34] spapr: Clarify and fix handling of nr_irqs

2019-10-01 Thread David Gibson
Both the XICS and XIVE interrupt backends have a "nr-irqs" property, but it means slightly different things. For XICS (or, strictly, the ICS) it indicates the number of "real" external IRQs. Those start at XICS_IRQ_BASE (0x1000) and don't include the special IPI vector. For XIVE, however, it inc