[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171116162349.GG7627@lunn.ch>
Date: Thu, 16 Nov 2017 17:23:49 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Marc Gonzalez <marc_gonzalez@...madesigns.com>
Cc: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Mason <slash.tmp@...e.fr>,
Thibaud Cornic <thibaud_cornic@...madesigns.com>,
Mans Rullgard <mans@...sr.com>,
David Miller <davem@...emloft.net>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v3 3/4] net: nb8800: Move HW init to ndo_open()
> I'm starting to think there is some kind of race condition between
> SW and HW handling of descriptors. This might also explain the
> out-of-order warnings.
Hi Marc
Maybe take a look at your memory barriers. Most accesses using the
_relaxed() version, i.e, no barrier. And then there are specific
barriers when needed. One could be missing.
As a quick test, drop the _relaxed. Force a barrier with each
access. If that works, it is a clear indication you have a barrier
problem.
Andrew
Powered by blists - more mailing lists