From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe CAVALLARO Subject: Re: [PATCH v3 0/8] arm64: rockchip: Initial GeekBox enablement Date: Wed, 9 Mar 2016 10:52:19 +0100 Message-ID: <56DFF253.9050208@st.com> References: <1457294038-14243-1-git-send-email-afaerber@suse.de> <56DD7172.4000707@suse.de> <2714888.1DdqvJZ8cb@diego> <56DD7593.5060003@suse.de> <56DD8176.2080603@st.com> <56DD8FBE.9010200@suse.de> <56DD99A4.5030004@st.com> <56DDA26C.3050301@suse.de> <56DDA3D5.3090209@st.com> <56DDB749.1020808@suse.de> <56DE7E1D.5070508@st.com> <56DFE55B.2090806@st.com> <56DFE64B.8060606@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Tomeu Vizoso , Fabrice GASNIER Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Dinh Nguyen , =?UTF-8?B?SGVpa28gU3TDvGJuZXI=?= , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, =?UTF-8?B?RnJhbmsgU2Now6RmZXI=?= , "open list:ARM/Rockchip SoC..." , Gabriel Fernandez , =?UTF-8?B?QW5kcmVhcyBGw6Ry?= =?UTF-8?B?YmVy?= , LAKML , Alexandre TORGUE List-Id: devicetree@vger.kernel.org On 3/9/2016 10:42 AM, Tomeu Vizoso wrote: > On 9 March 2016 at 10:00, Giuseppe CAVALLARO wrote: >> On 3/9/2016 9:56 AM, Giuseppe CAVALLARO wrote: >>> >>> Hello >>> >>> On 3/9/2016 9:35 AM, Tomeu Vizoso wrote: >>>> >>>> >>>> in order to get the onboard network on the Radxa Rock2 to work at all >>>> on today's linux-next, I had to revert both commits: >>>> >>>> * "stmmac: Fix 'eth0: No PHY found' regression" for the drivers to >>>> probe and the link to come up, and >>> >>> >>> I've just sent two patches (on top of net.git) to fix this problem >>> pls let me know if these help on your side too. >>> >>>> >>>> * "stmmac: first frame prep at the end of the xmit routine" for the >>>> network interface to work at all. >>> >>> >>> I cannot reproduce it right now but I am looking at this again and let >>> you know. >>> I will check your output file too >> >> >> hmm, I think that the problem is around the "normal descriptor" >> management that is configured on the boxes where the driver is >> failing now. Using enhanced descriptors the network is ok. >> I will keep you up-to-date. > > Hi, > > I have done some tests and these are the results: > > * net.git (133800d1f028): probe failed ok, failure due to the "stmmac: Fix 'eth0: No PHY found' regression" > > * net.git (133800d1f028) + revert: everything fine ok that is expected but the fixed-link will be NOK > > * net.git (133800d1f028) + revert + "stmmac: fix MDIO settings": everything fine thx for having tested it. So it works on real transceiver (tested by you) and with the fixed-link (tested by me). > > * today's linux-next: probe failed > > * today's linux-next + revert of 88f8b1bb41c6 stmmac: Fix 'eth0: No > PHY found' regression: probe succeeded but no network at all > > * today's linux-next + revert of 88f8b1bb41c6 (stmmac: Fix 'eth0: No > PHY found' regression) + revert of 0e80bdc9a72d (stmmac: first frame > prep at the end of xmit routine): probe succeeded, dhcp succeeds and > nfsroot works for a few seconds before timing out ok, I was looking at this problem now that seems to related the "stmmac: first frame prep at the end of xmit routine" that, at first glance, is breaking the gmac 3.50 with normal descriptor. > Btw, could you CC LKML on future patches that need testing? sure peppe > > Thanks, > > Tomeu > >> peppe >> >> >>> >>> Regards >>> peppe >>> >>> >>>> But a few seconds into the nfsroot boot I start getting: >>>> >>>> [ 9.136701] systemd[1]: Started Load Kernel Modules. >>>> [ 18.116321] nfs: server 10.42.0.1 not responding, still trying >>>> [ 18.516224] ------------[ cut here ]------------ >>>> [ 18.521024] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:303 >>>> dev_watchdog+0x284/0x288 >>>> [ 18.529456] NETDEV WATCHDOG: eth0 (rk_gmac-dwmac): transmit queue 0 >>>> timed out >>>> >>>> I'm attaching the full boot log. >>>> >>>> Regards, >>>> >>>> Tomeu >>>> >>> >>> >> > >