mbox series

[V3,0/4] irqchip: Support to set irq type for ACPI path

Message ID 20221009064431.18839-1-lvjianmin@loongson.cn (mailing list archive)
Headers show
Series irqchip: Support to set irq type for ACPI path | expand

Message

吕建民 Oct. 9, 2022, 6:44 a.m. UTC
For ACPI path of pch-pic and liointc driver, setting irq
type is not supported yet, so the patch series add code
to implement it.

And a bug in translate callback of irqchip/loongson-pch-pic, which
is introduced by previous patch, is fixed.

GSI for legacy irqs of PCI devices are mapped in pch-pic domain, after
supporting setting_irq_type for pch-pic domain, we add the workaround
for LoongArch based PCI controller with high-level trigger intterrupt
so that the high-level trigger type is passed into acpi_register_gsi().
  
V1 -> V2
- Change comment information and fix a bug for DT path in patch[1].

V2 -> V3
- Separate original patch[1] to three patches[1][2][3].

Jianmin Lv (4):
  ACPI / PCI: fix LPIC irq model default PCI IRQ polarity
  irqchip/loongson-pch-pic: fix translate callback for DT path
  irqchip/loongson-pch-pic: Support to set irq type for ACPI path
  irqchip/loongson-liointc: Support to set irq type for ACPI path

 drivers/acpi/pci_irq.c                 |  6 ++++--
 drivers/irqchip/irq-loongson-liointc.c |  7 ++++++-
 drivers/irqchip/irq-loongson-pch-pic.c | 14 ++++++++++----
 3 files changed, 20 insertions(+), 7 deletions(-)