[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d67tp6notufq7c35fdlel74xjqdiwlviiadwcfmfveg5smkgr@cvoosjros3bz>
Date: Thu, 1 Aug 2024 14:48:17 +0300
From: Serge Semin <fancer.lancer@...il.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: Yanteng Si <siyanteng@...ngson.cn>, Jose.Abreu@...opsys.com,
chenhuacai@...nel.org, linux@...linux.org.uk, guyinggang@...ngson.cn,
netdev@...r.kernel.org, chris.chenfeiyang@...il.com, si.yanteng@...ux.dev,
Huacai Chen <chenhuacai@...ngson.cn>, peppe.cavallaro@...com, andrew@...n.ch, hkallweit1@...il.com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com, diasyzhang@...cent.com
Subject: Re: [PATCH net-next v15 11/14] net: stmmac: dwmac-loongson: Add
DT-less GMAC PCI-device support
Hi Paolo
On Thu, Aug 01, 2024 at 01:32:56PM +0200, Paolo Abeni wrote:
> On 7/29/24 14:23, Yanteng Si wrote:
> > The Loongson GMAC driver currently supports the network controllers
> > installed on the LS2K1000 SoC and LS7A1000 chipset, for which the GMAC
> > devices are required to be defined in the platform device tree source.
> > But Loongson machines may have UEFI (implies ACPI) or PMON/UBOOT
> > (implies FDT) as the system bootloaders. In order to have both system
> > configurations support let's extend the driver functionality with the
> > case of having the Loongson GMAC probed on the PCI bus with no device
> > tree node defined for it. That requires to make the device DT-node
> > optional, to rely on the IRQ line detected by the PCI core and to
> > have the MDIO bus ID calculated using the PCIe Domain+BDF numbers.
> >
> > In order to have the device probe() and remove() methods less
> > complicated let's move the DT- and ACPI-specific code to the
> > respective sub-functions.
> >
> > Signed-off-by: Feiyang Chen <chenfeiyang@...ngson.cn>
> > Signed-off-by: Yinggang Gu <guyinggang@...ngson.cn>
> > Acked-by: Huacai Chen <chenhuacai@...ngson.cn>
> > Signed-off-by: Yanteng Si <siyanteng@...ngson.cn>
>
> @Serge: I think this addresses your comment on the previous iteration, but
> it would be great if you could have a look!
Thanks for reaching me out. I'll have a look at the series later
today.
-Serge(y)
>
> Thanks,
>
> Paolo
>
Powered by blists - more mailing lists