Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1458608imm; Fri, 8 Jun 2018 17:09:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLpCrOLDs5wL7MMh7Mgnw+Fa9Uc0cM1H8Z4uDTyVyV7o2Y4D5hDMBl4GA7zgINY43+M1lYv X-Received: by 2002:a17:902:8e8b:: with SMTP id bg11-v6mr8516127plb.95.1528502953808; Fri, 08 Jun 2018 17:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528502953; cv=none; d=google.com; s=arc-20160816; b=FDmAnWoJTnPdPYMrklFLlzQtGO4isUYQL9JVE44/gy5bhjfHOq0hI20+xAT07d9xqM SQvxD0Ae70stpMeHkXCvMam6iKy+IuDyHQ+3PmvIffEQED2vFfpN7k4UzMwgOnlvRwZF wqTQoYsz0AwOpjBZeUN3uNPl1cdBFpFAEA6/jsyyQErLcIHG3zMHd4J6jpCfVvFqx06X PCC8fCWmcT4m1R/MUqahowujx6+4dP0a3GXfoxYeAtQxdWNp8fHFogPkvM+sYxm2qHyK gH2RVHoPAIZZIhcI03pK2ZXtkRdmnsQoikCMDXLpU2hs3fZL5fzbtfu7XcKFmxMTnok4 8rkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:message-id:date:cc:to:from :arc-authentication-results; bh=+Pbthdvn/nSGMAd7VG2AfPYMvDgntcl8ftk6ZWimvGs=; b=kQaKUS64JIMYaXiAYrjcKgN7L40Eh50FvUuRwDkDgtQlN0wQQhOhJ72DIqYxuLHbkC 8874SEVa1RqYm18R8Xhk1SF2nxJw/6FV7p0nQdxFwsRI2+uMwUQCOwtIrAECwngudnII PjAYFmGWYmW5lI9As1Ty25KKA7loHG2U40DjkrKTkJtkWgW9jUodnifH8pnvCZTQhBjt JNJIvqfrKPgIcm4TCYMubiOXLgiHjjF7sNSNge8TvPtX0lYHkUPdtOfMe96NJnriZqQb UPAWfuLb5My5Vnp19uB8WO2AuHgeXvGH1xwaNdMvahvmovl2qqTStfzSN/ARK5p/r177 tJZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si8954727pfl.133.2018.06.08.17.08.59; Fri, 08 Jun 2018 17:09:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932137AbeFIAIc (ORCPT + 99 others); Fri, 8 Jun 2018 20:08:32 -0400 Received: from ale.deltatee.com ([207.54.116.67]:60560 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbeFIAI1 (ORCPT ); Fri, 8 Jun 2018 20:08:27 -0400 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRRQd-00043m-2R; Fri, 08 Jun 2018 18:08:26 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1fRRQb-0003cl-Cz; Fri, 08 Jun 2018 18:08:21 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com Cc: Jon Mason , Dave Jiang , Allen Hubbe , Serge Semin , Shyam Sundar S K , Shuah Khan , Logan Gunthorpe Date: Fri, 8 Jun 2018 18:08:10 -0600 Message-Id: <20180609000819.13883-1-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, jdmason@kudzu.us, dave.jiang@intel.com, allenbh@gmail.com, fancer.lancer@gmail.com, Shyam-sundar.S-k@amd.com, shuah@kernel.org, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE,MYRULES_NO_TEXT autolearn=ham autolearn_force=no version=3.4.1 Subject: [PATCH 0/8] Fix breakage caused by the NTB multi-port patchset X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, Here are all the fixes required to get ntb_test on switchtec working again after the multi-port test patches were merged. I'd appreciate it if future changes can be a) more careful about not breaking things, b) communicated more clearly so that better review can be done, and c) not merged until sufficient review actually is done. Note, I sent the first patch in this series earlier; please disregard the earlier one. Thanks, Logan Logan Gunthorpe (8): NTB: ntb_tool: reading the link file should not end in a NULL byte NTB: Setup the DMA mask globally for all drivers NTB: Fix the default port and peer numbers for legacy drivers NTB: ntb_pingpong: Choose doorbells based on port number NTB: perf: Don't require one more memory window than number of peers NTB: perf: Fix support for hardware that doesn't have port numbers NTB: perf: Fix race condition when run with ntb_test NTB: ntb_test: Fix bug when counting remote files drivers/ntb/hw/amd/ntb_hw_amd.c | 4 ---- drivers/ntb/hw/idt/ntb_hw_idt.c | 6 ------ drivers/ntb/hw/intel/ntb_hw_intel.c | 4 ---- drivers/ntb/ntb.c | 22 ++++++++++++++-------- drivers/ntb/test/ntb_perf.c | 22 +++++++++++++++++++--- drivers/ntb/test/ntb_pingpong.c | 14 ++++++-------- drivers/ntb/test/ntb_tool.c | 3 +-- tools/testing/selftests/ntb/ntb_test.sh | 2 +- 8 files changed, 41 insertions(+), 36 deletions(-) -- 2.11.0