[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fb09bf39-80df-4e63-afe1-4990a752e97c@kernel.org>
Date: Mon, 7 Apr 2025 09:11:03 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Madhavan Srinivasan <maddy@...ux.ibm.com>
Cc: maz@...nel.org, linux-kernel@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Naveen N Rao <naveen@...nel.org>, linuxppc-dev@...ts.ozlabs.org,
tglx@...utronix.de
Subject: Re: [PATCH v2 08/57] irqdomain: ppc: Switch to of_fwnode_handle()
@PPC maintainers: if you have not read 00/57 [1], please route this
through your tree.
[1] https://lore.kernel.org/all/20250319092951.37667-1-jirislaby@kernel.org/
Thanks.
On 19. 03. 25, 10:29, 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@...nel.org>
> Cc: Madhavan Srinivasan <maddy@...ux.ibm.com>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Cc: Nicholas Piggin <npiggin@...il.com>
> Cc: Christophe Leroy <christophe.leroy@...roup.eu>
> Cc: Naveen N Rao <naveen@...nel.org>
> Cc: linuxppc-dev@...ts.ozlabs.org
> ---
> arch/powerpc/platforms/powernv/pci-ioda.c | 2 +-
> arch/powerpc/platforms/pseries/msi.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
> index ae4b549b5ca0..d8ccf2c9b98a 100644
> --- a/arch/powerpc/platforms/powernv/pci-ioda.c
> +++ b/arch/powerpc/platforms/powernv/pci-ioda.c
> @@ -1897,7 +1897,7 @@ static int __init pnv_msi_allocate_domains(struct pci_controller *hose, unsigned
> return -ENOMEM;
> }
>
> - hose->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(hose->dn),
> + hose->msi_domain = pci_msi_create_irq_domain(of_fwnode_handle(hose->dn),
> &pnv_msi_domain_info,
> hose->dev_domain);
> if (!hose->msi_domain) {
> diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c
> index f9d80111c322..5b191f70c088 100644
> --- a/arch/powerpc/platforms/pseries/msi.c
> +++ b/arch/powerpc/platforms/pseries/msi.c
> @@ -628,7 +628,7 @@ static int __pseries_msi_allocate_domains(struct pci_controller *phb,
> return -ENOMEM;
> }
>
> - phb->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(phb->dn),
> + phb->msi_domain = pci_msi_create_irq_domain(of_fwnode_handle(phb->dn),
> &pseries_msi_domain_info,
> phb->dev_domain);
> if (!phb->msi_domain) {
--
js
suse labs
Powered by blists - more mailing lists