mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip: renesas-rzg2l: Enhance driver to support interrupt affinity setting
@ 2023-10-11 19:53 Prabhakar
  2023-10-13 10:31 ` [tip: irq/core] irqchip/renesas-rzg2l: " tip-bot2 for Lad Prabhakar
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar @ 2023-10-11 19:53 UTC (permalink / raw)
  To: Geert Uytterhoeven, Thomas Gleixner, Marc Zyngier
  Cc: linux-kernel, linux-renesas-soc, Biju Das, Claudiu Beznea,
	Prabhakar, Lad Prabhakar

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Add support to set the affinity of the IRQC interrupt by implementing
the irq_set_affinity callback.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/irqchip/irq-renesas-rzg2l.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c
index 2cee5477be6b..6390d1d78f2e 100644
--- a/drivers/irqchip/irq-renesas-rzg2l.c
+++ b/drivers/irqchip/irq-renesas-rzg2l.c
@@ -247,6 +247,7 @@ static const struct irq_chip irqc_chip = {
 	.irq_set_irqchip_state	= irq_chip_set_parent_state,
 	.irq_retrigger		= irq_chip_retrigger_hierarchy,
 	.irq_set_type		= rzg2l_irqc_set_type,
+	.irq_set_affinity	= irq_chip_set_affinity_parent,
 	.flags			= IRQCHIP_MASK_ON_SUSPEND |
 				  IRQCHIP_SET_TYPE_MASKED |
 				  IRQCHIP_SKIP_SET_WAKE,
-- 
2.34.1


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

* [tip: irq/core] irqchip/renesas-rzg2l: Enhance driver to support interrupt affinity setting
  2023-10-11 19:53 [PATCH] irqchip: renesas-rzg2l: Enhance driver to support interrupt affinity setting Prabhakar
@ 2023-10-13 10:31 ` tip-bot2 for Lad Prabhakar
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Lad Prabhakar @ 2023-10-13 10:31 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Lad Prabhakar, Thomas Gleixner, x86, linux-kernel, maz

The following commit has been merged into the irq/core branch of tip:

Commit-ID:     f881feb180fd0563809b62faa3f7da234e81d42b
Gitweb:        https://git.kernel.org/tip/f881feb180fd0563809b62faa3f7da234e81d42b
Author:        Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
AuthorDate:    Wed, 11 Oct 2023 20:53:24 +01:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Fri, 13 Oct 2023 12:25:31 +02:00

irqchip/renesas-rzg2l: Enhance driver to support interrupt affinity setting

Add support to set the affinity of the IRQC interrupt by implementing
the irq_set_affinity callback via the parent interrupt chip.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20231011195324.66807-1-prabhakar.mahadev-lad.rj@bp.renesas.com

---
 drivers/irqchip/irq-renesas-rzg2l.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c
index 4bbfa2b..e3029dd 100644
--- a/drivers/irqchip/irq-renesas-rzg2l.c
+++ b/drivers/irqchip/irq-renesas-rzg2l.c
@@ -247,6 +247,7 @@ static const struct irq_chip irqc_chip = {
 	.irq_set_irqchip_state	= irq_chip_set_parent_state,
 	.irq_retrigger		= irq_chip_retrigger_hierarchy,
 	.irq_set_type		= rzg2l_irqc_set_type,
+	.irq_set_affinity	= irq_chip_set_affinity_parent,
 	.flags			= IRQCHIP_MASK_ON_SUSPEND |
 				  IRQCHIP_SET_TYPE_MASKED |
 				  IRQCHIP_SKIP_SET_WAKE,

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

end of thread, other threads:[~2023-10-13 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11 19:53 [PATCH] irqchip: renesas-rzg2l: Enhance driver to support interrupt affinity setting Prabhakar
2023-10-13 10:31 ` [tip: irq/core] irqchip/renesas-rzg2l: " tip-bot2 for Lad Prabhakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®