Received: by 10.223.176.46 with SMTP id f43csp100085wra; Thu, 18 Jan 2018 14:32:10 -0800 (PST) X-Google-Smtp-Source: ACJfBotNI47r/QGtq6SuirvPfZyYZ4CNCaZ9xi0EJD/Y0JMhhc50BLyL1dhLCWFMHthSXxl9f+qQ X-Received: by 2002:a17:902:82cb:: with SMTP id u11-v6mr513629plz.389.1516314729977; Thu, 18 Jan 2018 14:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516314729; cv=none; d=google.com; s=arc-20160816; b=RArBWYwe5IGSmgiPhoUv1zUs8s8+Qh9qO0zL2WW/MGqkbmwQA2qTNHvDCwPMnDqoMX UDWmLRpavznCJ0cgudQeIVdshZJSiO+Jn3O4lGwSKWG1WFva8lJCfpYIcM+xncHfLKms ON8Wamibu9yKnfZpj/jXiPJ1f1XcCQGlsJf/BgotZrOPU6OcQbxapHaFfKZgockp2HoB 08qVRLN23mZpxPjjjda3dtmwZTyRPrLFhxtfH69zcyMkiyEdaCWqx1hUWtxpUN/YyOSj ugh43SUiOWNAroBk1Ufbzz1xr+ovFvdj2Wcy+ywyqiW7ycb8ZS9x9XViDkAfOor4X7MD d/iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=lRvUZJixp9Q/OLVpbqcjMfL+Z0mn0XOopdo35oZoyF0=; b=akoOQrlKz3j73Jj3EFrXjU9Q2fnfVqnsownOmTf40DPJuqSL39vlZVVXdrHrH7E8KP JRE7xJJMWIq7OZstougKkGaM1iKTdca5lwUtS4VYYArc9qsB6x0f5svqh40cDDg+svZX pm0kCYk5VYIuFG/suODsYpwzzrM0e/JRPSVpCewguIyVSqs+NXCYMZW8Yw0t43QEgJ8g y409ByEJxt3ZH+bvH5bTXIpjDnqFJ3af4v6mrygZEPUVYrLYVOSaqvrFJebe2oX8SkpA hSRnuntsjCcP4tin8TfwfsSDe/Cj+urXwx3IWqQJe65f7DERrx33Io88qBp6uBfkslT+ H4tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=eL41rkJe; 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 o30-v6si261159pli.689.2018.01.18.14.31.56; Thu, 18 Jan 2018 14:32:09 -0800 (PST) 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; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=eL41rkJe; 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 S1754809AbeARW3A (ORCPT + 99 others); Thu, 18 Jan 2018 17:29:00 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:33234 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753189AbeARW2x (ORCPT ); Thu, 18 Jan 2018 17:28:53 -0500 Received: by mail-qt0-f196.google.com with SMTP id e2so34310978qti.0 for ; Thu, 18 Jan 2018 14:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lRvUZJixp9Q/OLVpbqcjMfL+Z0mn0XOopdo35oZoyF0=; b=eL41rkJe0rd94aqs7rpi3S5qyMyTvAJvhv/eeddw0wmct+4q5aIyc/rh9vZDQw+DDN BJXOmnmDzub/+M3J+wcS8N/Ja0KH1Wt4TPG1WOPUYC+zp+v1YEUqK/OUOPY3keooMV3p vM3hecUN6a9fkDqEmvyOBbs++eclar4PfdlaFMdOrxDrTSWx3gQbNFc63YVBkBWyjEmZ gvzqU+PvbUlhceHW6nna2+LDT1gmdsxpLI7FpMlHP8hIccBLt9TW96IHkQalV3Cs9rNI JWQHn4PmncReATz2JmzFra6XaC5rfswELpRPrD/IC95vH8MIMiiEWEUd7wTc8Q1NgESW HiDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lRvUZJixp9Q/OLVpbqcjMfL+Z0mn0XOopdo35oZoyF0=; b=rwD/Y6uzkWK9Ju303yttQqSZeHtJDublsWGUeHr+l2PuJC1ABM+7G9FCyERc82Akb7 qvEopl5/4ks3OAjadTq6n1OqKA6F5yF/pd2Out9tByLIOMwM0X+phFjKTETQhcNbs34W Qgu7PJi5fVadqMQBTMKti2OkO+fgs/jpXDZvogVQK3t3gO37vlfjhIeNl1B9ZdF8kTnu zybNX9dZGPkek5eMSKyKDE0lpPui8pHXI5AB+amQR/HrBUD+pe06UrGTi8l4uITdNMMn yu6hv1DupHPJxhJhf8gx5ZkOmmZoHOtPWcqEmJYpsG8ODJqfEEab7uloErV56c5s9joF zARw== X-Gm-Message-State: AKwxytfgDNDS9//ny0OAXVTaItJUnTUB7THe53cV6wyAX1zsUcbg9nwm ChlXxY2USmifh5+p2YQvWaiwOQ== X-Received: by 10.200.46.139 with SMTP id h11mr3548785qta.111.1516314532286; Thu, 18 Jan 2018 14:28:52 -0800 (PST) Received: from kudzu.us ([98.122.141.161]) by smtp.gmail.com with ESMTPSA id b62sm5112522qkg.21.2018.01.18.14.28.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 14:28:52 -0800 (PST) Date: Thu, 18 Jan 2018 17:28:49 -0500 From: Jon Mason To: Serge Semin Cc: dave.jiang@intel.com, Allen.Hubbe@emc.com, Shyam-sundar.S-k@amd.com, Xiangliang.Yu@amd.com, gary.hook@amd.com, Sergey.Semin@t-platforms.ru, linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 00/15] NTB: Add full multi-port API support to the test drivers Message-ID: <20180118222849.GA25893@kudzu.us> References: <20171205223918.28727-1-fancer.lancer@gmail.com> <20171206143206.14665-1-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171206143206.14665-1-fancer.lancer@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 06, 2017 at 05:31:51PM +0300, 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. > > The patchset is applied on top of the recent Jon Mason's repo state: > https://github.com/jonmason/ntb > Particularly the "ntb/ntb-next" branch is used. The last commit hash > had been: > commit ("ntb_hw_switchtec: Force down the link before") Series applied to ntb-next. Thanks, Jon > > 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 | 1820 +++++++++++++++++++++---------- > drivers/ntb/test/ntb_pingpong.c | 447 +++++--- > drivers/ntb/test/ntb_tool.c | 1820 +++++++++++++++++++++---------- > include/linux/ntb.h | 36 +- > tools/testing/selftests/ntb/ntb_test.sh | 307 ++++-- > 9 files changed, 3018 insertions(+), 1458 deletions(-) > > -- > 2.12.0 >