Patch "net: broadcom: Add PTP_1588_CLOCK_OPTIONAL dependency for BCMGENET under ARCH_BCM2835" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: broadcom: Add PTP_1588_CLOCK_OPTIONAL dependency for BCMGENET under ARCH_BCM2835

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-broadcom-add-ptp_1588_clock_optional-dependency-.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 876f244f4ef1d9bd6121dee4e3066f26e179c573
Author: YueHaibing <yuehaibing@xxxxxxxxxx>
Date:   Fri Nov 25 19:50:03 2022 +0800

    net: broadcom: Add PTP_1588_CLOCK_OPTIONAL dependency for BCMGENET under ARCH_BCM2835
    
    [ Upstream commit 421f8663b3a775c32f724f793264097c60028f2e ]
    
    commit 8d820bc9d12b ("net: broadcom: Fix BCMGENET Kconfig") fixes the build
    that contain 99addbe31f55 ("net: broadcom: Select BROADCOM_PHY for BCMGENET")
    and enable BCMGENET=y but PTP_1588_CLOCK_OPTIONAL=m, which otherwise
    leads to a link failure. However this may trigger a runtime failure.
    
    Fix the original issue by propagating the PTP_1588_CLOCK_OPTIONAL dependency
    of BROADCOM_PHY down to BCMGENET.
    
    Fixes: 8d820bc9d12b ("net: broadcom: Fix BCMGENET Kconfig")
    Fixes: 99addbe31f55 ("net: broadcom: Select BROADCOM_PHY for BCMGENET")
    Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
    Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
    Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
    Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
    Link: https://lore.kernel.org/r/20221125115003.30308-1-yuehaibing@xxxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 7b79528d6eed..06aaeaadf2e9 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -63,6 +63,7 @@ config BCM63XX_ENET
 config BCMGENET
 	tristate "Broadcom GENET internal MAC support"
 	depends on HAS_IOMEM
+	depends on PTP_1588_CLOCK_OPTIONAL || !ARCH_BCM2835
 	select MII
 	select PHYLIB
 	select FIXED_PHY



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux