Re: [PATCH v3 08/18] cxl: IRQ allocation for guests

2016-02-09 Thread Ian Munsie
Acked-by: Ian Munsie > +/* > + * Look for the interrupt number. > + * On bare-metal, we know the range 0 only contains the PSL > + * interrupt so, we could start counting at range 1 and initialize > + * afu_irq at 1. > + * In a guest, range 0 also contains AFU interrupts,

[PATCH v3 08/18] cxl: IRQ allocation for guests

2016-02-06 Thread Frederic Barrat
The PSL interrupt is not going to be multiplexed in a guest, so an interrupt will be allocated for it for each context. It will still be the first interrupt found in the first interrupt range, but is treated almost like any other AFU interrupt when creating/deleting the context. Only the handler is