Skip to content

Commit de29428

Browse files
bijudasKAGA-KOKO
authored andcommitted
irqchip/renesas-rzv2h: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
The interrupt controller found on RZ/G3E doesn't provide any facility to configure the wakeup sources. That's the reason why the driver lacks the irq_set_wake() callback for the interrupt chip. But this prevent to properly enter power management states like "suspend to idle". Enable the flags IRQCHIP_SKIP_SET_WAKE and IRQCHIP_MASK_ON_SUSPEND so the interrupt suspend logic can handle the chip correctly. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/all/20250701105923.52151-1-biju.das.jz@bp.renesas.com
1 parent 128ab2c commit de29428

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/irqchip/irq-renesas-rzv2h.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,9 @@ static const struct irq_chip rzv2h_icu_chip = {
427427
.irq_retrigger = irq_chip_retrigger_hierarchy,
428428
.irq_set_type = rzv2h_icu_set_type,
429429
.irq_set_affinity = irq_chip_set_affinity_parent,
430-
.flags = IRQCHIP_SET_TYPE_MASKED,
430+
.flags = IRQCHIP_MASK_ON_SUSPEND |
431+
IRQCHIP_SET_TYPE_MASKED |
432+
IRQCHIP_SKIP_SET_WAKE,
431433
};
432434

433435
static int rzv2h_icu_alloc(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs,

0 commit comments

Comments
 (0)