Re: [PATCH] irqchip: gic-v3-its: ensure nr_ites >= nr_lpis

2018-03-06 Thread Ard Biesheuvel
On 6 March 2018 at 16:00, Marc Zyngier wrote: > On 06/03/18 15:51, Ard Biesheuvel wrote: >> When struct its_device instances are created, the nr_ites member >> will be set to a power of 2 that equals or exceeds the requested >> number of MSIs passed to the msi_prepare() callback. At the same >> ti

Re: [PATCH] irqchip: gic-v3-its: ensure nr_ites >= nr_lpis

2018-03-06 Thread Marc Zyngier
On 06/03/18 15:51, Ard Biesheuvel wrote: > When struct its_device instances are created, the nr_ites member > will be set to a power of 2 that equals or exceeds the requested > number of MSIs passed to the msi_prepare() callback. At the same > time, the LPI map is allocated to be some multiple of 3