linux-next: manual merge of the net-next tree with the rdma tree
Subsystems (5)
Mark Brown
maintainerHi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/infiniband/hw/ionic/ionic_admin.c
between commit:
f3085f053e5e6 ("RDMA/ionic: Wait the device command timeout for admin queue commands")
from the rdma tree and commit:
54b7ae13fea95 ("RDMA/ionic: Use the ionic command timeout for the admin queue")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
drivers/infiniband/hw/ionic/ionic_admin.c +0 -0
@@@ -18,8 -18,6 +18,6 @@@#define IONIC_ADMIN_BUSY_RETRY_COUNT 2000#define IONIC_ADMIN_BUSY_RETRY_MS 1 -/* admin queue will be considered failed if a command takes longer */ -#define IONIC_ADMIN_TIMEOUT (HZ * 5)#define IONIC_ADMIN_WARN (HZ / 8)/* will poll for admin cq to tolerate and report from missed event */ /* work queue for polling the event queue and admin cq */ struct workqueue_struct *ionic_evt_workq; +static unsigned long ionic_admin_timeout (struct ionic_ibdev *dev) + { +return HZ *ionic_cmd_timeout (dev->lif_cfg.lif); + } +static void ionic_admin_timedout (struct ionic_aq *aq) {struct ionic_ibdev *dev = aq->dev; }if (time_is_after_eq_jiffies (aq->stamp + -IONIC_ADMIN_TIMEOUT )) { +ionic_admin_timeout (dev))) {/* Timeout threshold not met */ ibdev_dbg (&dev->ibdev,"no progress after %ums\n" , (u32 )jiffies_to_msecs (jiffies - aq->stamp));
Jason Gunthorpe
maintainerQuoted 28 lines · Mark Brown
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/infiniband/hw/ionic/ionic_admin.cbetween commit:
f3085f053e5e6("RDMA/ionic: Wait the device command timeout for admin queue commands")from the rdma tree and commit:
54b7ae13fea95("RDMA/ionic: Use the ionic command timeout for the admin queue")from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
drivers/infiniband/hw/ionic/ionic_admin.c +0
-0
drivers/infiniband/hw/ionic/ionic_admin.c
Quoted 6 lines
drivers/infiniband/hw/ionic/ionic_admin.c +0
-2@@@ -18,8 -18,6 +18,6 @@@#define IONIC_ADMIN_BUSY_RETRY_COUNT 2000#define IONIC_ADMIN_BUSY_RETRY_MS 1 -/* admin queue will be considered failed if a command takes longer */ -#define IONIC_ADMIN_TIMEOUT (HZ * 5)#define IONIC_ADMIN_WARN (HZ / 8)
Hey AMD guys, what are you doing?
You sent a patch to net that removes this constant and a patch to rdma that changes it? This is exactly the un-coordinated stuff that makes Linus angry.
I think we should revert f3085f053e5e6 from the RDMA tree??
Jason
Quoted 2 lines · Jason Gunthorpe
I think we should revert
f3085f053e5e6from the RDMA tree??
Sorry about this. The conflict was mentioned in the net-next series' cover letter, but I should have raised it in the rdma thread as well:
https://lore.kernel.org/netdev/[email protected]/
On mainline the RDMA commit is redundant: 54b7ae13fea9 ("RDMA/ionic:
Use the ionic command timeout for the admin queue") in net-next removes IONIC_ADMIN_TIMEOUT and already defaults the admin queue watchdog to 5 seconds. Mark's resolution, taking the net-next version, is the right one.
Reverting f3085f053e5e6 from for-next is fine with me. Its only use is the Fixes: tag for stable kernels; if it is reverted, I can send the 2 to 5 second change to stable directly once the net-next series is in mainline. If you keep it, Mark's resolution is all that is needed.
Thanks,
Nikhil