* [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
@ 2025-05-06 13:17 Thomas Gleixner
2025-05-06 14:27 ` Caleb James DeLisle
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Thomas Gleixner @ 2025-05-06 13:17 UTC (permalink / raw)
To: LKML; +Cc: Jiri Slaby (SUSE), Caleb James DeLisle
irq_domain_add_linear() is about to be removed. Switch to
irq_domain_create_linear().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
drivers/irqchip/irq-econet-en751221.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/irqchip/irq-econet-en751221.c
+++ b/drivers/irqchip/irq-econet-en751221.c
@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
econet_mask_all();
- domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
+ domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
+ &econet_domain_ops, NULL);
if (!domain) {
pr_err("%pOF: Failed to add irqdomain\n", node);
ret = -ENOMEM;
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
@ 2025-05-06 14:27 ` Caleb James DeLisle
2025-05-06 15:22 ` [tip: irq/drivers] " tip-bot2 for Thomas Gleixner
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Caleb James DeLisle @ 2025-05-06 14:27 UTC (permalink / raw)
To: Thomas Gleixner, LKML; +Cc: Jiri Slaby (SUSE)
On 06/05/2025 15:17, Thomas Gleixner wrote:
> irq_domain_add_linear() is about to be removed. Switch to
> irq_domain_create_linear().
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Caleb James DeLisle <cjd@cjdns.fr>
> ---
> drivers/irqchip/irq-econet-en751221.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- a/drivers/irqchip/irq-econet-en751221.c
> +++ b/drivers/irqchip/irq-econet-en751221.c
> @@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
>
> econet_mask_all();
>
> - domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
> + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
> + &econet_domain_ops, NULL);
> if (!domain) {
> pr_err("%pOF: Failed to add irqdomain\n", node);
> ret = -ENOMEM;
^ permalink raw reply [flat|nested] 6+ messages in thread
* [tip: irq/drivers] irqchip/econet-en751221: Switch to irq_domain_create_linear()
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
2025-05-06 14:27 ` Caleb James DeLisle
@ 2025-05-06 15:22 ` tip-bot2 for Thomas Gleixner
2025-05-12 8:30 ` [PATCH] " Jiri Slaby
2025-05-12 8:55 ` Jiri Slaby
3 siblings, 0 replies; 6+ messages in thread
From: tip-bot2 for Thomas Gleixner @ 2025-05-06 15:22 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Thomas Gleixner, Caleb James DeLisle, x86, linux-kernel
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 85cf5c63d32f39874d0dc1cd6c12b40e1ba8370e
Gitweb: https://git.kernel.org/tip/85cf5c63d32f39874d0dc1cd6c12b40e1ba8370e
Author: Thomas Gleixner <tglx@linutronix.de>
AuthorDate: Tue, 06 May 2025 15:17:46 +02:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 06 May 2025 17:18:31 +02:00
irqchip/econet-en751221: Switch to irq_domain_create_linear()
irq_domain_add_linear() is about to be removed. Switch to
irq_domain_create_linear().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Caleb James DeLisle <cjd@cjdns.fr>
Link: https://lore.kernel.org/all/877c2top39.ffs@tglx
---
drivers/irqchip/irq-econet-en751221.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-econet-en751221.c b/drivers/irqchip/irq-econet-en751221.c
index 886d60c..fd65dfe 100644
--- a/drivers/irqchip/irq-econet-en751221.c
+++ b/drivers/irqchip/irq-econet-en751221.c
@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_no
econet_mask_all();
- domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
+ domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
+ &econet_domain_ops, NULL);
if (!domain) {
pr_err("%pOF: Failed to add irqdomain\n", node);
ret = -ENOMEM;
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
2025-05-06 14:27 ` Caleb James DeLisle
2025-05-06 15:22 ` [tip: irq/drivers] " tip-bot2 for Thomas Gleixner
@ 2025-05-12 8:30 ` Jiri Slaby
2025-05-12 8:55 ` Jiri Slaby
3 siblings, 0 replies; 6+ messages in thread
From: Jiri Slaby @ 2025-05-12 8:30 UTC (permalink / raw)
To: Thomas Gleixner, LKML; +Cc: Caleb James DeLisle
On 06. 05. 25, 15:17, Thomas Gleixner wrote:
> irq_domain_add_linear() is about to be removed. Switch to
> irq_domain_create_linear().
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Late, but:
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Thanks for fixing this new one.
--
js
suse labs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
` (2 preceding siblings ...)
2025-05-12 8:30 ` [PATCH] " Jiri Slaby
@ 2025-05-12 8:55 ` Jiri Slaby
2025-05-12 19:07 ` Thomas Gleixner
3 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2025-05-12 8:55 UTC (permalink / raw)
To: Thomas Gleixner, LKML; +Cc: Caleb James DeLisle
On 06. 05. 25, 15:17, Thomas Gleixner wrote:
> irq_domain_add_linear() is about to be removed. Switch to
> irq_domain_create_linear().
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> drivers/irqchip/irq-econet-en751221.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- a/drivers/irqchip/irq-econet-en751221.c
> +++ b/drivers/irqchip/irq-econet-en751221.c
> @@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
>
> econet_mask_all();
>
> - domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
> + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
Actually, of_node_to_fwnode() is dying. I will send a patch to convert
to of_fwnode_handle() on the top of this one.
thanks,
--
js
suse labs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
2025-05-12 8:55 ` Jiri Slaby
@ 2025-05-12 19:07 ` Thomas Gleixner
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Gleixner @ 2025-05-12 19:07 UTC (permalink / raw)
To: Jiri Slaby, LKML; +Cc: Caleb James DeLisle
On Mon, May 12 2025 at 10:55, Jiri Slaby wrote:
> On 06. 05. 25, 15:17, Thomas Gleixner wrote:
>> irq_domain_add_linear() is about to be removed. Switch to
>> irq_domain_create_linear().
>>
>> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>> ---
>> drivers/irqchip/irq-econet-en751221.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> --- a/drivers/irqchip/irq-econet-en751221.c
>> +++ b/drivers/irqchip/irq-econet-en751221.c
>> @@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
>>
>> econet_mask_all();
>>
>> - domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
>> + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
>
> Actually, of_node_to_fwnode() is dying. I will send a patch to convert
> to of_fwnode_handle() on the top of this one.
Hrmpf. Yes....
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-05-12 19:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
2025-05-06 14:27 ` Caleb James DeLisle
2025-05-06 15:22 ` [tip: irq/drivers] " tip-bot2 for Thomas Gleixner
2025-05-12 8:30 ` [PATCH] " Jiri Slaby
2025-05-12 8:55 ` Jiri Slaby
2025-05-12 19:07 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox