aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2021-08-23 13:34:40 +0530
committerMarc Zyngier <[email protected]>2021-08-23 09:45:31 +0100
commit9d4f24bfe043274d9274bcfe223b901bd8fb7182 (patch)
tree819aeb3ba26db80c0ed4601454f1acdde8cd9bcd /lib/test_overflow.c
parent131d326ba969847daa43d708ac11c27978d78566 (diff)
irqchip/qcom-pdc: Trim unused levels of the interrupt hierarchy
The QCOM PDC driver creates a bunch of unnecessary levels in the interrupt hierarchy when dealing with non-wakeup-capable interrupts. By definition, these lines are terminated at the PDC level, and everything below this is completely fake. This also results in additional complexity as most of the callbacks have to check for the validity of the parent level. Needless to say, this doesn't look very good. Solve this by disconnecting the interrupt hierarchy below the last valid level, and considerably simplify the handling of all the other interrupts by avoiding now unnecessary cheks. In most cases, the standard irq_*_parent() handlers are directly used. This also cures an issue reporting by Maulik where gpio_to_irq() returns an error after having observed a set of invalid levels. Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Maulik Shah <[email protected]> Tested-by: Maulik Shah <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions