OSDN Git Service

genirq: introduce irq_chip_mask_ack_parent()
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Feb 2019 02:16:23 +0000 (21:16 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Feb 2019 08:23:05 +0000 (09:23 +0100)
commit5aa5bd563ce041d931c0dc1fc436dd18c27c60a7
treef01d80a8f43b6fa082a78240aaaf2e484ed95c59
parentb5c231d8c8037f63d34199ea1667bbe1cd9f940f
genirq: introduce irq_chip_mask_ack_parent()

The hierarchical irqchip never before ran into a situation
where the parent is not "simple", i.e. does not implement
.irq_ack() and .irq_mask() like most, but the qcom-pm8xxx.c
happens to implement only .irq_mask_ack().

Since we want to make ssbi-gpio a hierarchical child of this
irqchip, it must *also* only implement .irq_mask_ack()
and call down to the parent, and for this we of course
need irq_chip_mask_ack_parent().

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/irq.h
kernel/irq/chip.c