On Fri, 6 Oct 2017, Joerg Roedel wrote:

> From: Joerg Roedel <[email protected]>
> 
> For multi-MSI IRQ ranges the IRQ index needs to be aligned
> to the power-of-two of the requested IRQ count. Extend the
> alloc_irq_index() function to allow such an allocation.
> 
> Reported-by: Thomas Gleixner <[email protected]>
> Fixes: 2b324506341cb ('iommu/amd: Add routines to manage irq remapping 
> tables')
> Signed-off-by: Joerg Roedel <[email protected]>

Reviewed-by: Thomas Gleixner <[email protected]>

Reply via email to