Skip to content

Start getting rid of the GPIO_NO_WAKE_IRQ

Maulik Shah linux-arm-msm linux-gpio lkml 3 versions – Applied

Status from this message: The following commit has been merged into the irq/irqchip-next branch of irqchip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Address comment to call irq_domain_trim_hierarchy() once on v2 patch 3.
- Remove patch2 of v2 as seen no more needed.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2irqdomain: Export irq_domain_disconnect_hierarchy()kernel/irq/irqdomain.c+1 -00 replies
2/2irqchip/qcom-pdc: Start getting rid of the GPIO_NO_WAKE_IRQdrivers/irqchip/qcom-pdc.c+11 -570 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMaulik Shah
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Start getting rid of the GPIO_NO_WAKE_IRQ

v3:
- Address comment to call irq_domain_trim_hierarchy() once on v2 patch 3.
- Remove patch2 of v2 as seen no more needed.

v2:
- Use fix from marc [1] and drop v1 patch 2
- Add new patch for fixes irq_domain_trim_hierarchy()

gpio_to_irq() reports error at irq_domain_trim_hierarchy() for non wakeup capable GPIOs that do not have dedicated interrupt at GIC.

Since PDC irqchip do not allocate irq at parent GIC domain for such GPIOs indicate same by using irq_domain_disconnect_hierarchy() for it own domain and all its parent domains.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/qcom-pdc-nowake&id=331b2ba388a4a79b5c40b8addf56cbe35099a410
[2] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=532669

Marc Zyngier (1):
irqchip/qcom-pdc: Start getting rid of the GPIO_NO_WAKE_IRQ

Maulik Shah (1):
irqdomain: Export irq_domain_disconnect_hierarchy()

 drivers/irqchip/qcom-pdc.c | 68 ++++++++--------------------------------------
 kernel/irq/irqdomain.c     |  1 +
 2 files changed, 12 insertions(+), 57 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation