linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip/irq-imx-gpcv2: forward irq type to parent
@ 2019-07-12 13:29 Lucas Stach
  2019-07-26 13:41 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2019-07-12 13:29 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier
  Cc: kernel, NXP Linux Team, linux-arm-kernel, patchwork-lst

The GPCv2 is a stacked IRQ controller below the ARM GIC. It doesn't
care about the IRQ type itself, but needs to forward the type to the
parent IRQ controller, so this one can be configured correctly.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/irqchip/irq-imx-gpcv2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
index bf2237ac5d09..4f74c15c4755 100644
--- a/drivers/irqchip/irq-imx-gpcv2.c
+++ b/drivers/irqchip/irq-imx-gpcv2.c
@@ -131,6 +131,7 @@ static struct irq_chip gpcv2_irqchip_data_chip = {
 	.irq_unmask		= imx_gpcv2_irq_unmask,
 	.irq_set_wake		= imx_gpcv2_irq_set_wake,
 	.irq_retrigger		= irq_chip_retrigger_hierarchy,
+	.irq_set_type		= irq_chip_set_type_parent,
 #ifdef CONFIG_SMP
 	.irq_set_affinity	= irq_chip_set_affinity_parent,
 #endif
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] irqchip/irq-imx-gpcv2: forward irq type to parent
  2019-07-12 13:29 [PATCH] irqchip/irq-imx-gpcv2: forward irq type to parent Lucas Stach
@ 2019-07-26 13:41 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2019-07-26 13:41 UTC (permalink / raw)
  To: Lucas Stach
  Cc: Jason Cooper, patchwork-lst, NXP Linux Team, kernel,
	Thomas Gleixner, linux-arm-kernel

On Fri, 12 Jul 2019 14:29:05 +0100,
Lucas Stach <l.stach@pengutronix.de> wrote:
> 
> The GPCv2 is a stacked IRQ controller below the ARM GIC. It doesn't
> care about the IRQ type itself, but needs to forward the type to the
> parent IRQ controller, so this one can be configured correctly.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  drivers/irqchip/irq-imx-gpcv2.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
> index bf2237ac5d09..4f74c15c4755 100644
> --- a/drivers/irqchip/irq-imx-gpcv2.c
> +++ b/drivers/irqchip/irq-imx-gpcv2.c
> @@ -131,6 +131,7 @@ static struct irq_chip gpcv2_irqchip_data_chip = {
>  	.irq_unmask		= imx_gpcv2_irq_unmask,
>  	.irq_set_wake		= imx_gpcv2_irq_set_wake,
>  	.irq_retrigger		= irq_chip_retrigger_hierarchy,
> +	.irq_set_type		= irq_chip_set_type_parent,
>  #ifdef CONFIG_SMP
>  	.irq_set_affinity	= irq_chip_set_affinity_parent,
>  #endif
> -- 
> 2.20.1
> 

Applied, thanks.

	M.

-- 
Jazz is not dead, it just smells funny.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-07-26 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 13:29 [PATCH] irqchip/irq-imx-gpcv2: forward irq type to parent Lucas Stach
2019-07-26 13:41 ` Marc Zyngier

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