Re: [PATCH v3 -tip 2/5] x86, MSI: Allocate as many multiple IRQs as requested

2012-10-01 Thread Ingo Molnar
* Alexander Gordeev wrote: > When multiple MSIs are enabled with pci_enable_msi_block() the number of > allocated IRQs 'nvec' is rounded up to the nearest value of power of two. > That could lead to a condition when number of requested and used IRQs is > less than number of actually allocated IR

[PATCH v3 -tip 2/5] x86, MSI: Allocate as many multiple IRQs as requested

2012-10-01 Thread Alexander Gordeev
When multiple MSIs are enabled with pci_enable_msi_block() the number of allocated IRQs 'nvec' is rounded up to the nearest value of power of two. That could lead to a condition when number of requested and used IRQs is less than number of actually allocated IRQs. This fix introduces 'msi_desc::nv