Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753145AbdLEXgx (ORCPT ); Tue, 5 Dec 2017 18:36:53 -0500 Received: from ale.deltatee.com ([207.54.116.67]:54292 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753092AbdLEXgt (ORCPT ); Tue, 5 Dec 2017 18:36:49 -0500 To: Serge Semin , jdmason@kudzu.us, dave.jiang@intel.com, Allen.Hubbe@emc.com, Shyam-sundar.S-k@amd.com, Xiangliang.Yu@amd.com, gary.hook@amd.com Cc: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org References: <20171203191736.3399-1-fancer.lancer@gmail.com> <20171205223918.28727-1-fancer.lancer@gmail.com> From: Logan Gunthorpe Message-ID: <131e9052-bc88-bd41-7f6e-904e85064b25@deltatee.com> Date: Tue, 5 Dec 2017 16:36:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171205223918.28727-1-fancer.lancer@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com, gary.hook@amd.com, Xiangliang.Yu@amd.com, Shyam-sundar.S-k@amd.com, Allen.Hubbe@emc.com, dave.jiang@intel.com, jdmason@kudzu.us, fancer.lancer@gmail.com X-SA-Exim-Mail-From: logang@deltatee.com Subject: Re: [PATCH v3 00/15] NTB: Add full multi-port API support to the test drivers 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2237 Lines: 50 Please be kind to your reviewers and list all your changes in the cover letter. Also, your Sergey.Semin@t-platforms.ru email which was CC'd doesn't seem to work for me so I've dropped it from my responses. Thanks, Logan On 05/12/17 03:39 PM, Serge Semin wrote: > The multi-port NTB API was introduced in kernel 4.13 as well as the > first driver for the true multi-port devices of IDT PCIe-switches > series. But the test drivers still were left almost unchanged. Yes, > they didn't fail being used with new NTB API, but they only worked > with two-ports NTB devices. This patchset is intended to fix the > issue by amending the NTB test drivers and script so they would be > fully compatible with multi-port NTB API. > > Additionally I found a few NTB subsystem issues while developing the > submitted patches. So they are also fixed in this patchset. > > Serge Semin (15): > NTB: Rename NTB messaging API methods > NTB: Set dma mask and dma coherent mask to NTB devices > NTB: Fix UB/bug in ntb_mw_get_align() > NTB: ntb_pp: Add full multi-port NTB API support > NTB: ntb_tool: Add full multi-port NTB API support > NTB: ntb_perf: Add full multi-port NTB API support > NTB: ntb_test: Safely use paths with whitespace > NTB: ntb_test: Add ntb_tool port tests > NTB: ntb_test: Update ntb_tool link tests > NTB: ntb_test: Update ntb_tool DB tests > NTB: ntb_test: Update ntb_tool Scratchpad tests > NTB: ntb_test: Add ntb_tool Message tests > NTB: ntb_test: Update ntb_tool MW tests > NTB: ntb_test: Update ntb_perf tests > NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology > > drivers/ntb/hw/amd/ntb_hw_amd.c | 4 + > drivers/ntb/hw/idt/ntb_hw_idt.c | 37 +- > drivers/ntb/hw/intel/ntb_hw_intel.c | 4 + > drivers/ntb/ntb.c | 1 - > drivers/ntb/test/ntb_perf.c | 1825 +++++++++++++++++++++---------- > drivers/ntb/test/ntb_pingpong.c | 450 +++++--- > drivers/ntb/test/ntb_tool.c | 1823 ++++++++++++++++++++---------- > include/linux/ntb.h | 36 +- > tools/testing/selftests/ntb/ntb_test.sh | 307 ++++-- > 9 files changed, 3022 insertions(+), 1465 deletions(-) >