Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2088182rwb; Thu, 29 Sep 2022 06:10:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4t7WrUan2+Qy4ATGDpbYu5tUMHj7UOkvsKuXofGx1IaD3zOnkAMHF76vWavUQg2pFoxsBP X-Received: by 2002:a05:6402:1910:b0:450:fb10:fddf with SMTP id e16-20020a056402191000b00450fb10fddfmr3270360edz.321.1664457041491; Thu, 29 Sep 2022 06:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664457041; cv=none; d=google.com; s=arc-20160816; b=g+wyMC9sXbPX3C2xoAo2Meem+gXyGUYAKpGzKVjVzCwL3HFoS/gbafia7Fjg/hQ4sq qqZYOeVim/vEFSGjHcnCsUyU0ZAELiTBNzcCfWz8AZpO5FqzbGC7BikGkze80OxjXQbd h90J6OoGsXjH/wl7u8HBR5uon13LtKTk7vvtUITeeiRQpSEnEoYzNo9h2v82vR8h1UXB J8debCK8NGOVpl0cVucv7W+VYkm6RIDeBpAmVF0SmnLCint+r2ZvU1P8rQ7QyCbUtQnX dzFpQmPgFSeYowi+WVCC6zVxF/ogE7CwHaOKCys9+D4ZXXCXFPYJzQQyad7lMcU9kxsJ RQNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X68WnYC5kgwb52569LmLBN1C0Ar269aKP14XorkvhDw=; b=WM/S0mIB207u5Fq9IW+LowwVy1utSDx67ASFQXVw47H8V0hIM/FDAgG3BJ4F5OqRqn LoBvd1wL/V3BAjqXtT4Q01m+A+d5W+G/16LuKq57WZAg6TJPhZk+W607+X1Cxn1t9TW6 pODUNDlG5KTQrMNUB5q7fs+gtAe/Gg9JTKOSk7gFzkHWtSLPigv62hTD3MKOmYOLYg1o nrLS+7tXLRespiNunBnF4uVzfddn3EY9iEpMI09g+Q/C14tI8G+RSU3Z1YZweBY9nn/H zHNjuFnF2EsgBJRLE+do39HK3z7zCLWidZvqxMbVkcUIby7Ksxj9e6bJ5H+yIhyUckzy rL3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/3dWTa7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a17090649ce00b007386f4ab2a2si6889470ejv.638.2022.09.29.06.10.14; Thu, 29 Sep 2022 06:10:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="s/3dWTa7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234023AbiI2Mkc (ORCPT + 99 others); Thu, 29 Sep 2022 08:40:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235531AbiI2MkS (ORCPT ); Thu, 29 Sep 2022 08:40:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3310D72873; Thu, 29 Sep 2022 05:40:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 91DA9B82472; Thu, 29 Sep 2022 12:40:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A768C433D6; Thu, 29 Sep 2022 12:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664455211; bh=opJy4WGCjfCkazyMTKLVNlei3tkEp4TQKxWcany/vMU=; h=From:To:Cc:Subject:Date:From; b=s/3dWTa78Ao0dVG7TQeevFQztcsyLNAqvkq3t1UX+Fc5VhkmEWrlE8EMx3mbw8lVK d22VyOeQ+o9B6UxoffG73OpKrDuR9Vvu9Z0lYxAyeX0CYaH0N7hKhZA97R7xvGx0hM /gPqjkTgSXl+xkTrgs+hgMcQiJCh81DEm85zBNtNooJMuWBF+IopSl2b9D/ljA4gCy KkAgXYrSHI0we/QEtaD1c/rAWJh+yBBkRvyUjIM54MV1iOmIB59BXCUTtpaH5v3O88 0jiSkIyyJdVc7jwoibfekjZ9kE09Lxq+CN03SO+ov3AmrtZ84EABGCTj+jMVL3Kxwn C4zkpHCQ/7Tsw== From: broonie@kernel.org To: Doug Ledford , Jason Gunthorpe Cc: Haoyue Xu , Jason Gunthorpe , Jason Gunthorpe , Leon Romanovsky , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the rdma tree with the origin tree Date: Thu, 29 Sep 2022 13:40:05 +0100 Message-Id: <20220929124005.105149-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Today's linux-next merge of the rdma tree got conflicts in: drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_main.c between commit: 45baad7dd98f4 ("RDMA/hns: Remove the num_qpc_timer variable") from the origin tree and commits: 29dc063596772 ("RDMA/hns: Remove redundant 'use_lowmem' argument from hns_roce_init_hem_table()") 5436272c8cf4e ("RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'") from the rdma 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. diff --cc drivers/infiniband/hw/hns/hns_roce_hw_v2.c index c780646bd60ac,2d0192057d1af..0000000000000 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c @@@ -2272,7 -2270,7 +2270,6 @@@ static int hns_roce_query_pf_caps(struc caps->max_sq_inline = le16_to_cpu(resp_a->max_sq_inline); caps->max_rq_sg = le16_to_cpu(resp_a->max_rq_sg); caps->max_rq_sg = roundup_pow_of_two(caps->max_rq_sg); - caps->max_extend_sg = le32_to_cpu(resp_a->max_extend_sg); - caps->num_qpc_timer = le16_to_cpu(resp_a->num_qpc_timer); caps->max_srq_sges = le16_to_cpu(resp_a->max_srq_sges); caps->max_srq_sges = roundup_pow_of_two(caps->max_srq_sges); caps->num_aeq_vectors = resp_a->num_aeq_vectors; diff --cc drivers/infiniband/hw/hns/hns_roce_main.c index 4ccb217b2841d,53c53c20360d1..0000000000000 --- a/drivers/infiniband/hw/hns/hns_roce_main.c +++ b/drivers/infiniband/hw/hns/hns_roce_main.c @@@ -725,10 -734,10 +734,10 @@@ static int hns_roce_init_hem(struct hns ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qpc_timer_table, HEM_TYPE_QPC_TIMER, hr_dev->caps.qpc_timer_entry_sz, - hr_dev->caps.qpc_timer_bt_num, 1); - hr_dev->caps.num_qpc_timer); ++ hr_dev->caps.qpc_timer_bt_num); if (ret) { dev_err(dev, - "Failed to init QPC timer memory, aborting.\n"); + "failed to init QPC timer memory, aborting.\n"); goto err_unmap_ctx; } }