From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 1/2] net: ethernet: sxgbe: remove private tx queue lock Date: Sun, 18 Dec 2016 19:30:10 +0100 Message-ID: <20161218183010.GA7886@amd> References: <20161209112142.GA22710@amd> <20161211201104.GB20574@amd> <20161215210324.GA13878@amd> <6f43eac8-754b-cfa2-371d-050701deb4cd@gmx.de> <20161217173150.GA20231@amd> <20161218001507.GA5343@electric-eye.fr.zoreil.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Cc: Francois Romieu , bh74.an@samsung.com, ks.giri@samsung.com, vipul.pandya@samsung.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Lino Sanfilippo Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > - e1efa87241272104d6a12c8b9fcdc4f62634d447 >=20 > Yep, a sync of the dma descriptors before the hardware gets ownership of = the tx tail > idx is missing in the stmmac, too. I can reproduce failure with 4.4 fairly easily. I tried with dma_ variant of barriers, and it failed, too [ 1018.410012] stmmac: early irq [ 1023.939702] fpga_cmd_read:wait_event timed out! [ 1033.128692] ------------[ cut here ]------------ [ 1033.133329] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x264/0x284() [ 1033.141748] NETDEV WATCHDOG: eth0 (socfpga-dwmac): transmit queue 0 timed out [ 1033.148861] Modules linked in: Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlhW1bIACgkQMOfwapXb+vK6UACgu7qVL1N0vrlaIv2r4piJPpz7 K/wAniSpXOPzcwf5BWtzg83Sxx6O/f7V =YpvL -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--