Merge branch 'misc' into k.o/for-next
authorDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 18:10:23 +0000 (14:10 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 18:10:23 +0000 (14:10 -0400)
Conflicts:
drivers/infiniband/core/iwcm.c - The rdma_netlink patches in
HEAD and the iwarp cm workqueue fix (don't use WQ_MEM_RECLAIM,
we aren't safe for that context) touched the same code.

Signed-off-by: Doug Ledford <dledford@redhat.com>
1  2 
drivers/infiniband/core/cm.c
drivers/infiniband/core/device.c
drivers/infiniband/core/iwcm.c
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/mthca/mthca_main.c
drivers/infiniband/hw/nes/nes.c
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
drivers/nvme/host/rdma.c
include/rdma/ib_addr.h

Simple merge
@@@ -523,10 -489,9 +523,10 @@@ int ib_register_device(struct ib_devic
        device->reg_state = IB_DEV_REGISTERED;
  
        list_for_each_entry(client, &client_list, list)
-               if (client->add && !add_client_context(device, client))
+               if (!add_client_context(device, client) && client->add)
                        client->add(device);
  
 +      device->index = __dev_new_index();
        down_write(&lists_rwsem);
        list_add_tail(&device->core_list, &device_list);
        up_write(&lists_rwsem);
@@@ -1175,9 -1175,13 +1175,9 @@@ static int __init iw_cm_init(void
        ret = iwpm_init(RDMA_NL_IWCM);
        if (ret)
                pr_err("iw_cm: couldn't init iwpm\n");
 -
 -      ret = ibnl_add_client(RDMA_NL_IWCM, ARRAY_SIZE(iwcm_nl_cb_table),
 -                            iwcm_nl_cb_table);
 -      if (ret)
 -              pr_err("iw_cm: couldn't register netlink callbacks\n");
 -
 +      else
 +              rdma_nl_register(RDMA_NL_IWCM, iwcm_nl_cb_table);
-       iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", WQ_MEM_RECLAIM);
+       iwcm_wq = alloc_ordered_workqueue("iw_cm_wq", 0);
        if (!iwcm_wq)
                return -ENOMEM;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge