diff options
author | Marc Zyngier <[email protected]> | 2019-09-05 14:56:47 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2019-09-05 16:03:48 +0100 |
commit | c9c96e30ecaa0aafa225aa1a5392cb7db17c7a82 (patch) | |
tree | ceb525e1c9995fda422ce1cdb1213327615db6e1 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
parent | e89327f659dd517f30b6232b1fabd6f6c6777c3e (diff) |
irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
When allocating a range of LPIs for a Multi-MSI capable device,
this allocation extended to the closest power of 2.
But on the release path, the interrupts are released one by
one. This results in not releasing the "extra" range, leaking
the its_device. Trying to reprobe the device will then fail.
Fix it by releasing the LPIs the same way we allocate them.
Fixes: 8208d1708b88 ("irqchip/gic-v3-its: Align PCI Multi-MSI allocation on their size")
Reported-by: Jiaxing Luo <[email protected]>
Tested-by: John Garry <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions