Hello community,

here is the log from the commit of package u-boot for openSUSE:Factory checked 
in at 2020-01-30 22:36:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/u-boot (Old)
 and      /work/SRC/openSUSE:Factory/.u-boot.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "u-boot"

Thu Jan 30 22:36:53 2020 rev:122 rq:768556 version:2020.01

Changes:
--------
--- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes    2020-01-29 
13:16:52.610123711 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new.26092/u-boot.changes 2020-01-30 
22:37:01.348569565 +0100
@@ -1,0 +2,7 @@
+Thu Jan 30 10:43:44 UTC 2020 - Matthias Brugger <[email protected]>
+
+Patch queue updated from git://github.com/openSUSE/u-boot.git 
tumbleweed-2020.01
+* Patches added:
+  0017-net-phy-Fix-overlong-PHY-timeout.patch
+
+-------------------------------------------------------------------

New:
----
  0017-net-phy-Fix-overlong-PHY-timeout.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ u-boot.spec ++++++
--- /var/tmp/diff_new_pack.GKAhlB/_old  2020-01-30 22:37:03.612570654 +0100
+++ /var/tmp/diff_new_pack.GKAhlB/_new  2020-01-30 22:37:03.616570655 +0100
@@ -217,6 +217,7 @@
 Patch0014:      0014-Kconfig-add-btrfs-to-distro-boot.patch
 Patch0015:      0015-configs-Re-sync-with-CONFIG_DISTRO_.patch
 Patch0016:      0016-configs-am335x_evm-disable-BTRFS.patch
+Patch0017:      0017-net-phy-Fix-overlong-PHY-timeout.patch
 # Patches: end
 BuildRequires:  bc
 BuildRequires:  bison

++++++ 0017-net-phy-Fix-overlong-PHY-timeout.patch ++++++
>From 55cefec93c8fae1ad5bd0f2f892785610c142d91 Mon Sep 17 00:00:00 2001
From: Andre Przywara <[email protected]>
Date: Fri, 3 Jan 2020 22:08:47 +0000
Subject: [PATCH] net: phy: Fix overlong PHY timeout

Commit 27c3f70f3b50 ("net: phy: Increase link up delay in
genphy_update_link()") increased the per-iteration waiting time from
1ms to 50ms, without adjusting the timeout counter. This lead to the
timeout increasing from the typical 4 seconds to over three minutes.

Adjust the timeout counter evaluation by that factor of 50 to bring the
timeout back to the intended value.

Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Matthias Brugger <[email protected]>
---
 drivers/net/phy/phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 80a7664e49..5cf9c165b6 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -244,7 +244,7 @@ int genphy_update_link(struct phy_device *phydev)
                        /*
                         * Timeout reached ?
                         */
-                       if (i > PHY_ANEG_TIMEOUT) {
+                       if (i > (PHY_ANEG_TIMEOUT / 50)) {
                                printf(" TIMEOUT !\n");
                                phydev->link = 0;
                                return -ETIMEDOUT;



Reply via email to