diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2017-07-04 10:56:34 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-07-04 11:11:25 +0100 |
commit | 456c59c31c5126fe31c64956c43670060ea9debd (patch) | |
tree | 84210caf9ef36002a361f93a720073789e8be035 /tools/perf/scripts/python/stat-cpi.py | |
parent | 0a46230bf03549435156b36dee9e7489b8270be7 (diff) |
irqchip/gic-v2: Report failures in gic_irq_domain_alloc
If the GIC cannot map an IRQ via irq_domain_ops->alloc(), it doesn't
return an error code. This can cause a problem with drivers, where
it thinks it has successfully got an IRQ for the device, but requesting
the same ends up failure with -ENOSYS (as the IRQ's chip is not set).
Fixes: commit 9a1091ef0017c ("irqchip: gic: Support hierarchy irq domain.")
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions