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

Juliet Kim julietk at linux.vnet.ibm.com
Wed Sep 18 00:52:47 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 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

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 | 244 ++++++++++++++++++++++++++-----------
 drivers/net/ethernet/ibm/ibmvnic.h |   4 +
 2 files changed, 180 insertions(+), 68 deletions(-)

-- 
2.16.4



More information about the Linuxppc-dev mailing list