From: Max Uvarov <hidden> Date: 2017-08-10 07:47:54
Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
due to busy loop in wait(). Add small delay to relax cpu.
Signed-off-by: Max Uvarov <redacted>
---
v2: fix spelling in commit description.
drivers/net/ethernet/ti/davinci_mdio.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Max Uvarov <hidden> Date: 2017-08-10 07:47:55
Frequency can be adjusted in DT it make sense to
print current used value on driver init.
Signed-off-by: Max Uvarov <redacted>
---
drivers/net/ethernet/ti/davinci_mdio.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
From: Andrew Lunn <andrew@lunn.ch> Date: 2017-08-10 14:40:56
On Thu, Aug 10, 2017 at 10:47:46AM +0300, Max Uvarov wrote:
Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
due to busy loop in wait(). Add small delay to relax cpu.
Hi Max
Please include a cover note when you have multiple patches in a
series.
With 14 devices, it makes sense to swap to using PHY interrupts if you
can. That should prevent the PHY state machine polling the PHYs every
second.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
due to busy loop in wait(). Add small delay to relax cpu.
Signed-off-by: Max Uvarov <redacted>
yep. cover letter is good to have.
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
From: David Miller <davem@davemloft.net> Date: 2017-08-11 21:24:30
From: Max Uvarov <redacted>
Date: Thu, 10 Aug 2017 10:47:46 +0300
Polling 14 mdio devices on single mdio bus eats 30% of 1Ghz cpu time
due to busy loop in wait(). Add small delay to relax cpu.
Signed-off-by: Max Uvarov <redacted>