]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stmmac-net'
authorDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:23:09 +0000 (16:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:23:09 +0000 (16:23 -0500)
commitdf39001c2cbcadfdaf2e2247d8816586a0765c81
tree546378e4ce446ed1b9883bb16307a3fb3cc9ca7a
parent6a4b4e0acfbdc4cca7c0781495e294bd66f2795e
parent64e06dd592d139b869505a9b8c56105d8c3397bd
Merge branch 'stmmac-net'

Giuseppe Cavallaro says:

====================
stmmac: review and fix lock and atomicity

Recently some issues have been reported for the driver for locking mechanism
and atomicity.

In fact, enabling DEBUG support to prove lock and to verify if sleeping while
atomic context some warnings occur at runtime. I have reproduced all on STi
platforms.

Concerning the tx path, I had provided a patch time ago but
I discarded the idea to completely remove locks; in this patch-set we can have
some useful fixes instead of.

This patch-set is to fix the atomicity in the PM stuff where I tried to collect
all the points and advice reported in the past weeks.
As final result, on my side no warnings and no problem when suspend/resume the
driver on STi boxes.

I also added a patch that fixes the locks for the EEE.
As pointed in some thread there was a design problem behind the eee
initialization and I have tried to fix that before.
As final result no issues when proving locks too.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>