* [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
@ 2025-04-15 10:47 Jiri Slaby (SUSE)
2025-04-16 4:30 ` Gupta, Nipun
0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby (SUSE) @ 2025-04-15 10:47 UTC (permalink / raw)
To: nipun.gupta; +Cc: tglx, maz, linux-kernel, Jiri Slaby (SUSE), Nikhil Agarwal
of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
defined of_fwnode_handle(). The former is in the process of being
removed, so use the latter instead.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Nipun Gupta <nipun.gupta@amd.com>
Cc: Nikhil Agarwal <nikhil.agarwal@amd.com>
---
This is an indepent patch, please apply directly.
The patch was previously a part of a large series [1], but I would like
maintainers to feed the independent parts through their trees.
[1] https://lore.kernel.org/all/20250319092951.37667-1-jirislaby@kernel.org/
---
drivers/cdx/cdx_msi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/cdx/cdx_msi.c b/drivers/cdx/cdx_msi.c
index 06d723978232..3388a5d1462c 100644
--- a/drivers/cdx/cdx_msi.c
+++ b/drivers/cdx/cdx_msi.c
@@ -165,7 +165,7 @@ struct irq_domain *cdx_msi_domain_init(struct device *dev)
struct device_node *parent_node;
struct irq_domain *parent;
- fwnode_handle = of_node_to_fwnode(np);
+ fwnode_handle = of_fwnode_handle(np);
parent_node = of_parse_phandle(np, "msi-map", 1);
if (!parent_node) {
@@ -173,7 +173,7 @@ struct irq_domain *cdx_msi_domain_init(struct device *dev)
return NULL;
}
- parent = irq_find_matching_fwnode(of_node_to_fwnode(parent_node), DOMAIN_BUS_NEXUS);
+ parent = irq_find_matching_fwnode(of_fwnode_handle(parent_node), DOMAIN_BUS_NEXUS);
if (!parent || !msi_get_domain_info(parent)) {
dev_err(dev, "unable to locate ITS domain\n");
return NULL;
--
2.49.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
2025-04-15 10:47 [PATCH] irqdomain: cdx: Switch to of_fwnode_handle() Jiri Slaby (SUSE)
@ 2025-04-16 4:30 ` Gupta, Nipun
2025-04-16 4:58 ` Jiri Slaby
0 siblings, 1 reply; 6+ messages in thread
From: Gupta, Nipun @ 2025-04-16 4:30 UTC (permalink / raw)
To: Jiri Slaby (SUSE), Greg KH; +Cc: tglx, maz, linux-kernel, Nikhil Agarwal
This will go via Greg's char-misc tree.
On 15-04-2025 16:17, Jiri Slaby (SUSE) wrote:
> of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
> defined of_fwnode_handle(). The former is in the process of being
> removed, so use the latter instead.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
> Cc: Nipun Gupta <nipun.gupta@amd.com>
> Cc: Nikhil Agarwal <nikhil.agarwal@amd.com>
Acked-by: Nipun Gupta <nipun.gupta@amd.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
2025-04-16 4:30 ` Gupta, Nipun
@ 2025-04-16 4:58 ` Jiri Slaby
2025-04-16 5:05 ` Greg KH
2025-04-16 5:06 ` Gupta, Nipun
0 siblings, 2 replies; 6+ messages in thread
From: Jiri Slaby @ 2025-04-16 4:58 UTC (permalink / raw)
To: Gupta, Nipun, Greg KH; +Cc: tglx, maz, linux-kernel, Nikhil Agarwal
On 16. 04. 25, 6:30, Gupta, Nipun wrote:
> This will go via Greg's char-misc tree.
Ah, then I should've sent this to him in the first place :). Uhm, but
MAINTAINERS says:
AMD CDX BUS DRIVER
M: Nipun Gupta <nipun.gupta@amd.com>
M: Nikhil Agarwal <nikhil.agarwal@amd.com>
S: Maintained
F: Documentation/devicetree/bindings/bus/xlnx,versal-net-cdx.yaml
F: drivers/cdx/*
F: include/linux/cdx/*
@Greg: do you want me to resend, or will you dig it out with b4? It's:
20250415104734.106849-1-jirislaby@kernel.org
> On 15-04-2025 16:17, Jiri Slaby (SUSE) wrote:
>> of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
>> defined of_fwnode_handle(). The former is in the process of being
>> removed, so use the latter instead.
>>
>> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
>> Cc: Nipun Gupta <nipun.gupta@amd.com>
>> Cc: Nikhil Agarwal <nikhil.agarwal@amd.com>
>
> Acked-by: Nipun Gupta <nipun.gupta@amd.com>
thanks,
--
js
suse labs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
2025-04-16 4:58 ` Jiri Slaby
@ 2025-04-16 5:05 ` Greg KH
2025-04-16 5:06 ` Gupta, Nipun
1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2025-04-16 5:05 UTC (permalink / raw)
To: Jiri Slaby; +Cc: Gupta, Nipun, tglx, maz, linux-kernel, Nikhil Agarwal
On Wed, Apr 16, 2025 at 06:58:43AM +0200, Jiri Slaby wrote:
> On 16. 04. 25, 6:30, Gupta, Nipun wrote:
> > This will go via Greg's char-misc tree.
>
> Ah, then I should've sent this to him in the first place :). Uhm, but
> MAINTAINERS says:
> AMD CDX BUS DRIVER
> M: Nipun Gupta <nipun.gupta@amd.com>
> M: Nikhil Agarwal <nikhil.agarwal@amd.com>
> S: Maintained
> F: Documentation/devicetree/bindings/bus/xlnx,versal-net-cdx.yaml
> F: drivers/cdx/*
> F: include/linux/cdx/*
>
>
> @Greg: do you want me to resend, or will you dig it out with b4? It's:
>
> 20250415104734.106849-1-jirislaby@kernel.org
I can dig it out. but yes, the cdx stuff is a mess at times, it would
be nice if the maintainers there would get a better workflow :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
2025-04-16 4:58 ` Jiri Slaby
2025-04-16 5:05 ` Greg KH
@ 2025-04-16 5:06 ` Gupta, Nipun
2025-04-16 5:14 ` Jiri Slaby
1 sibling, 1 reply; 6+ messages in thread
From: Gupta, Nipun @ 2025-04-16 5:06 UTC (permalink / raw)
To: Jiri Slaby, Greg KH; +Cc: tglx, maz, linux-kernel, Nikhil Agarwal
On 16-04-2025 10:28, Jiri Slaby wrote:
> On 16. 04. 25, 6:30, Gupta, Nipun wrote:
>> This will go via Greg's char-misc tree.
>
> Ah, then I should've sent this to him in the first place :). Uhm, but
> MAINTAINERS says:
> AMD CDX BUS DRIVER
> M: Nipun Gupta <nipun.gupta@amd.com>
> M: Nikhil Agarwal <nikhil.agarwal@amd.com>
> S: Maintained
> F: Documentation/devicetree/bindings/bus/xlnx,versal-net-cdx.yaml
> F: drivers/cdx/*
> F: include/linux/cdx/*
As a MAINTAINER, I/Nikhil need to review. We do not maintain a tree and
patches go via Greg's tree.
Regards,
Nipun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] irqdomain: cdx: Switch to of_fwnode_handle()
2025-04-16 5:06 ` Gupta, Nipun
@ 2025-04-16 5:14 ` Jiri Slaby
0 siblings, 0 replies; 6+ messages in thread
From: Jiri Slaby @ 2025-04-16 5:14 UTC (permalink / raw)
To: Gupta, Nipun, Greg KH; +Cc: tglx, maz, linux-kernel, Nikhil Agarwal
On 16. 04. 25, 7:06, Gupta, Nipun wrote:
>
>
> On 16-04-2025 10:28, Jiri Slaby wrote:
>> On 16. 04. 25, 6:30, Gupta, Nipun wrote:
>>> This will go via Greg's char-misc tree.
>>
>> Ah, then I should've sent this to him in the first place :). Uhm, but
>> MAINTAINERS says:
>> AMD CDX BUS DRIVER
>> M: Nipun Gupta <nipun.gupta@amd.com>
>> M: Nikhil Agarwal <nikhil.agarwal@amd.com>
>> S: Maintained
>> F: Documentation/devicetree/bindings/bus/xlnx,versal-net-cdx.yaml
>> F: drivers/cdx/*
>> F: include/linux/cdx/*
>
> As a MAINTAINER, I/Nikhil need to review. We do not maintain a tree and
> patches go via Greg's tree.
Yes, I understand, but how are patches supposed to reach him? If he
maintains this in his tree, perhaps drivers/cdx/* deserves an entry in
the MISC entry too?
--
js
suse labs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-04-16 5:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 10:47 [PATCH] irqdomain: cdx: Switch to of_fwnode_handle() Jiri Slaby (SUSE)
2025-04-16 4:30 ` Gupta, Nipun
2025-04-16 4:58 ` Jiri Slaby
2025-04-16 5:05 ` Greg KH
2025-04-16 5:06 ` Gupta, Nipun
2025-04-16 5:14 ` Jiri Slaby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox