[PATCH] davinci_mdio: Fix MDIO timeout check

2012-04-16 Thread Christian Riesch
Under heavy load (flood ping) it is possible for the MDIO timeout to expire before the loop checks the GO bit again. This patch adds an additional check whether the operation was done before actually returning -ETIMEDOUT. To reproduce this bug, flood ping the device, e.g., ping -f -l 1000 After

Re: davinci_mdio davinci_mdio.0: timed out waiting for user access

2012-04-16 Thread Christian Riesch
Hi, On Tue, Mar 6, 2012 at 9:57 AM, ravone ravoner...@gmail.com wrote: I send many ethernet packets with my Hawkboard (~4000 packet per sec.). After some work time happens stop send, hawkboard not answer to ping. In dmesg appeared this strings: root@hawkboard:/# dmesg | tail -n 2