[PATCH v3 0/2] net/ibmvnic: serialization fixes

Juliet Kim julietk at linux.vnet.ibm.com
Wed Sep 18 03:15:50 AEST 2019


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 in open failiure case
- 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

Juliet Kim (2):
  net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run
  net/ibmvnic: prevent more than one thread from running in reset

 drivers/net/ethernet/ibm/ibmvnic.c | 245 +++++++++++++++++++++++++++----------
 drivers/net/ethernet/ibm/ibmvnic.h |   4 +
 2 files changed, 181 insertions(+), 68 deletions(-)

-- 
2.16.4



More information about the Linuxppc-dev mailing list