[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdVJjhd77PtV6SA0iFXznkH0X82iJTg5akaud7ZkMvRvkA@mail.gmail.com>
Date: Tue, 22 Mar 2022 09:53:22 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Greg KH <greg@...ah.com>, Arnd Bergmann <arnd@...db.de>,
David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Ioana Ciornei <ioana.ciornei@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Vinod Koul <vkoul@...nel.org>
Subject: Re: linux-next: manual merge of the char-misc tree with the net-next tree
Hi Stephen,
On Tue, Mar 15, 2022 at 6:45 AM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> Today's linux-next merge of the char-misc tree got a conflict in:
>
> drivers/phy/freescale/Kconfig
>
> between commit:
>
> 8f73b37cf3fb ("phy: add support for the Layerscape SerDes 28G")
>
> from the net-next tree and commit:
>
> 3d565bd6fbbb ("phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64")
>
> from the char-misc tree.
>
> I fixed it up (I think, see below) and can carry the fix as necessary.
> This is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> --- a/drivers/phy/freescale/Kconfig
> +++ b/drivers/phy/freescale/Kconfig
> @@@ -23,12 -26,4 +26,14 @@@ config PHY_FSL_IMX8M_PCI
> Enable this to add support for the PCIE PHY as found on
> i.MX8M family of SOCs.
>
> +config PHY_FSL_LYNX_28G
> + tristate "Freescale Layerscape Lynx 28G SerDes PHY support"
> + depends on OF
> + select GENERIC_PHY
> + help
> + Enable this to add support for the Lynx SerDes 28G PHY as
> + found on NXP's Layerscape platforms such as LX2160A.
> + Used to change the protocol running on SerDes lanes at runtime.
> + Only useful for a restricted set of Ethernet protocols.
> ++
> + endif
The above resolution is not correct: Layerscape is a different SoC
family than i.MX8, using ARCH_LAYERSCAPE instead of ARCH_MXC.
Hence PHY_FSL_LYNX_28G should be moved outside the if/endif block
(and gain a dependency on ARCH_LAYERSCAPE || COMPILE_TEST; I will
send a patch).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists