[PATCH v3 3/4] net: nb8800: Move HW init to ndo_open()
Marc Gonzalez
marc_gonzalez at sigmadesigns.com
Thu Nov 16 08:52:02 PST 2017
On 16/11/2017 17:23, Andrew Lunn wrote:
> 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.
That was an interesting suggestion, thanks!
Unfortunately, adding wmb() in dozens of strategic places doesn't
prevent the issue where network connectivity is lost :-(
Regards.
More information about the linux-arm-kernel
mailing list