Merge branch 'ibmvnic-serialization-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 25 Sep 2019 11:41:41 +0000 (13:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Sep 2019 11:41:41 +0000 (13:41 +0200)
commit8875cf9c7cde9b110a7370654cc7b51ff9a9d8fa
tree39af057ff37d6c677c89f83279134ee22aace6ab
parent5aafeb74b5bb65b34cc87c7623f9fa163a34fa3b
parent7ed5b31f4a6695a21f617df07646e9b15c6c1d29
Merge branch 'ibmvnic-serialization-fixes'

Juliet Kim says:

====================
net/ibmvnic: serialization fixes

This series includes two fixes. The first improves reset code to allow
linkwatch_event to proceed during reset. The second ensures that no more
than one thread runs in reset at a time.

v2:
- Separate change param reset from do_reset()
- Return IBMVNIC_OPEN_FAILED if __ibmvnic_open fails
- Remove setting wait_for_reset to false from __ibmvnic_reset(), this
  is done in wait_for_reset()
- Move the check for force_reset_recovery from patch 1 to patch 2

v3:
- Restore reset’s successful return in open failure case

v4:
- Change resetting flag access to atomic
====================

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