diff options
| author | Marc Zyngier <[email protected]> | 2015-10-02 15:44:06 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-10-02 18:51:41 +0000 |
| commit | 791c76d58465a248cbd1ee422c8075cb90fa615f (patch) | |
| tree | 0587c21bf759c782127cb0dfb70840acbe4e80e6 /lib/string.c | |
| parent | irqchip/gic-v3-its: Silence warning when its_lpi_alloc_chunks gets inlined (diff) | |
| download | kernel-791c76d58465a248cbd1ee422c8075cb90fa615f.tar.gz kernel-791c76d58465a248cbd1ee422c8075cb90fa615f.zip | |
irqchip/gic-v3-its: Count additional LPIs for the aliased devices
When configuring the interrupt mapping for a new device, we
iterate over all the possible aliases to account for their
maximum MSI allocation. This was introduced by e8137f4f5088
("irqchip: gicv3-its: Iterate over PCI aliases to generate ITS configuration").
Turns out that the code doing that is a bit braindead, and repeatedly
accounts for the same device over and over.
Fix this by counting the actual alias that is passed to us by the
core code.
Signed-off-by: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: Alex Shi <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: David Daney <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
