linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/4] irqchip: Support to set irq type for ACPI path
@ 2022-10-20  8:22 Jianmin Lv
  2022-10-20  8:22 ` [PATCH V4 1/4] ACPI / PCI: fix LPIC IRQ model default PCI IRQ polarity Jianmin Lv
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jianmin Lv @ 2022-10-20  8:22 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: linux-kernel, loongarch, Jiaxun Yang, Huacai Chen, Bjorn Helgaas,
	Len Brown, rafael, linux-pci, linux-acpi

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].

V3 -> V4
- Improve commit log

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-22  2:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20  8:22 [PATCH V4 0/4] irqchip: Support to set irq type for ACPI path Jianmin Lv
2022-10-20  8:22 ` [PATCH V4 1/4] ACPI / PCI: fix LPIC IRQ model default PCI IRQ polarity Jianmin Lv
2022-10-20 16:47   ` Bjorn Helgaas
2022-10-21  1:58     ` Jianmin Lv
2022-10-21 12:01       ` Bjorn Helgaas
2022-10-22  2:05         ` Jianmin Lv
2022-10-20  8:22 ` [PATCH V4 2/4] irqchip/loongson-pch-pic: fix translate callback for DT path Jianmin Lv
2022-10-20  8:22 ` [PATCH V4 3/4] irqchip/loongson-pch-pic: Support to set IRQ type for ACPI path Jianmin Lv
2022-10-20  8:22 ` [PATCH V4 4/4] irqchip/loongson-liointc: " Jianmin Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).