[PATCH V2 0/4] irqchip/loongson: Add suspend/resume support for irqchip drivers

From: Huacai Chen
Date: Thu Oct 20 2022 - 03:37:21 EST


This series add suspend/resume support for Loongson-related irqchip
drivers (i.e., HTVECINTC, EIOINTC, PCH-PIC and PCH_LPC), which is needed
for LoongArch's upcoming suspend/hibernation support.

Note: this series is applicable after "irqchip/loongson-htvec: Add ACPI
init support".

V1 -> V2:
Holding irq_desc->lock while eiointc_set_irq_affinity().

Huacai Chen (4):
irqchip/loongson-htvec: Add suspend/resume support.
irqchip/loongson-eiointc: Add suspend/resume support.
irqchip/loongson-pch-pic: Add suspend/resume support.
irqchip/loongson-pch-lpc: Add suspend/resume support.

Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
---
drivers/irqchip/irq-loongson-eiointc.c | 31 ++++++++++++++++++++++
drivers/irqchip/irq-loongson-htvec.c | 27 +++++++++++++++++++
drivers/irqchip/irq-loongson-pch-lpc.c | 25 ++++++++++++++++++
drivers/irqchip/irq-loongson-pch-pic.c | 47 ++++++++++++++++++++++++++++++++++
4 files changed, 130 insertions(+)
--
2.27.0