Received: by 10.223.176.5 with SMTP id f5csp1619067wra; Sun, 4 Feb 2018 08:10:12 -0800 (PST) X-Google-Smtp-Source: AH8x226yStU/KyMHkx9gfZuP7yWDCWrGO3VZjHdvI3bl9k5jJ9/p973m08fz7e0xdlnPd4YpjXmP X-Received: by 2002:a17:902:b595:: with SMTP id a21-v6mr20823684pls.253.1517760612872; Sun, 04 Feb 2018 08:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517760612; cv=none; d=google.com; s=arc-20160816; b=rbrszUsOZz1kowpGh0UqxtMnqCcpz/Ixv+tqvMxZvR0Px1QTqX0Si6K4Af+itFIiF6 DD29dc01FnAT7eN5d+MJ+dkT64HkVYumL3SgDa0oivaFsBr5+e4EbLSyDlQpMUPcBwBM ubw1LuKBOb9S6GWUwxk4UTMnuer1NGRxh/AYpAKR7uMZxjvkAT0mQ6CX4tHYUJ9EIlfR uczIxlkwiANNkOBi1IbQSN0nxr++favejnTValuX8YkghN8J+QgO8sE1H1tkgRyuSEj1 Jpv8xCXhtf5pe9IIrr0u+aImWYEKBhMzXXJc2EnWDttla7jPvhHSdwHcHs+JxYkd9TbL 43dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:date:from:dkim-signature :arc-authentication-results; bh=WX6JGst/xxnp4hCFqUWRu0qJIEfTCIEh2bPHLO65H1A=; b=fmXUF+EeddAYmWqTD/vW4eKadUYAw06ZARqXr/JPCxmDB31CXRcFI0ohhwEzpvmKjx dMDHxmNBUTCyJDCsVjqEb2RwfNMZY1TKUjkDiiTtp7yVMRPgSDxekj9W1RzSsKS1hjFR yzDTu+KLYMnDjtHuVM6O6B9T6auH+GmCndoSXKb5BvVspszCYHc4tWzTRysxmb/GTxX9 NwgkIExtIC/bpMAgFdRT91gnjzPDduaZllm/z95rQIHik95F0IEMLbdz+zhylfvx8m1b SgfiI7M9yFDekSYy/O06UEMF8NITTZsryeGX/Ze+/okHAKzph5jgzRk/Qz1VPbsPmN21 2dMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=URZBCBOP; 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 i84si5508918pfj.10.2018.02.04.08.09.58; Sun, 04 Feb 2018 08:10:12 -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=URZBCBOP; 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 S1752019AbeBDQJH (ORCPT + 99 others); Sun, 4 Feb 2018 11:09:07 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:44513 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751597AbeBDQJD (ORCPT ); Sun, 4 Feb 2018 11:09:03 -0500 Received: by mail-qt0-f196.google.com with SMTP id l20so36741238qtj.11 for ; Sun, 04 Feb 2018 08:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=WX6JGst/xxnp4hCFqUWRu0qJIEfTCIEh2bPHLO65H1A=; b=URZBCBOPIpQNV75qQM3u52TXlOwo2OZJhqZn+z/GlVLHEZ6SYHk9ziChXajFLwLyLS uQa2PtcVUh2M6VlTV1zZlkB8zm9z/dwnNOL+japQRkBvkVZZ8bvshTqh3EDStsDvkaGB oykIMle9xVGeVib1HywhKApZa4b4r5Ob67cjkO7RbKCfDW+lk7mIB+mtCUZs+8YT1gig PMcCw3pgtGpTHiDP3rEBiNNADTiXxQxhXOVrMyS4eDYWPJdcUmyFFyLkDG3tS4A9jL/a c2XyaDiWIvygO0DkcsRPaUAyDk6vuK0M5sKzpj2QCmiRptRre4YMgFpIAi9JzT//YpKq BBgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=WX6JGst/xxnp4hCFqUWRu0qJIEfTCIEh2bPHLO65H1A=; b=MbvtCsvW4Pu1qEO6CWKY1kAJWBNrOQRuhBmxGE4aEaf8HFOAOsxgyVKW0/sjr8Co/W TQ/XeYVPS875aMhtAjzNe/1vgzK25mkS05oLvMU3BRynKNLpPbR2N04M3uYfzkCN/TZ8 0pMkZC6VRo660Re6HieC0BDzWbyOVnZJsqlMwToS54W7rvHA2KX4tdxiQq4QuEw1HRo9 iPTBAWslB2HYoWCo/mJZHm+XyczEXGvoCcoA3DGjjNCHYjGl8BNa5WpmFn1+yAcL5MUJ UtheN3znJk3dazD8Zs7TBTNPct9o9HGBXcESY9FDyqvvoeeZkDvcPLI4dI9v5B2fS3QZ WPgw== X-Gm-Message-State: AKwxyteV6HWV0DIt/abd479R7oOMdN6555tRaBOAG9k33u3qswXowoFz kmjoT5+pBfF6wmmHaNQBlFMWvAdS X-Received: by 10.237.55.233 with SMTP id j96mr75987725qtb.192.1517760542721; Sun, 04 Feb 2018 08:09:02 -0800 (PST) Received: from graymalkin ([98.122.141.161]) by smtp.gmail.com with ESMTPSA id m77sm4643744qkh.13.2018.02.04.08.09.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 08:09:02 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason Received: by graymalkin (sSMTP sendmail emulation); Sun, 04 Feb 2018 11:08:59 -0500 Date: Sun, 4 Feb 2018 11:08:59 -0500 To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com Subject: [GIT PULL] NTB bug fixes for v4.16 Message-ID: <20180204160859.GA20908@graymalkin.kudzu.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hello Linus, Here are a few NTB bug fixes, removal of a driver, and updated to the NTB tools to take advants of the multiport interface. They've been in linux-next for a little while. Please consider pulling them for 4.16. Thanks, Jon The following changes since commit d8a5b80568a9cb66810e75b182018e9edb68e8ff: Linux 4.15 (2018-01-28 13:20:33 -0800) are available in the Git repository at: git://github.com/jonmason/ntb tags/ntb-4.16 for you to fetch changes up to 3b28c987fb9547ca9aac73241d0e281cf646387c: NTB: ntb_perf: fix cast to restricted __le32 (2018-01-28 22:17:24 -0500) ---------------------------------------------------------------- Bug fixes galore, removal of the ntb atom driver, and updates to the ntb tools and tests to support the multi-port interface ---------------------------------------------------------------- Allen Hubbe (1): MAINTAINERS: NTB: Update contact info Arnd Bergmann (2): ntb_hw_switchtec: fix logic error NTB: ntb_perf: fix printing of resource_size_t Colin Ian King (2): NTB: switchtec_ntb: fix spelling mistake: "peforming" -> "performing" NTB: ntb_tool: fix memory leak on 'buf' on error exit path Dan Carpenter (1): ntb_perf: Fix an error code in perf_copy_chunk() Dave Jiang (1): ntb: remove Intel Atom NTB driver support Doug Meyer (1): NTB: ntb_hw_switchtec: Fix peer BAR bug in switchtec_ntb_init_shared_mw Greg Kroah-Hartman (1): ntb: remove unneeded DRIVER_LICENSE #defines Jon Mason (1): NTB: switchtec_ntb: Add new line on appropriate printks Kelvin Cao (1): ntb_hw_switchtec: Allow using Switchtec NTB in multi-partition setups Logan Gunthorpe (9): ntb_hw_switchtec: Keep track of the number of LUT windows used by the driver ntb_hw_switchtec: Create helper function to setup reserved LUT MWs ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more general ntb_hw_switchtec: Expand PFF CSR registers ntb_hw_switchtec: Add initialization code for crosslink ntb_hw_switchtec: Crosslink doorbells and messages ntb_hw_switchtec: Force down the link before initializing ntb_transport: Fix bug with max_mw_size parameter ntb_hw_switchtec: Check for alignment of the buffer in mw_set_trans() Serge Semin (16): 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 NTB: ntb_perf: fix cast to restricted __le32 Wei Yongjun (1): ntb_hw_switchtec: Make function switchtec_ntb_remove() static MAINTAINERS | 2 +- 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 | 313 +----- drivers/ntb/hw/intel/ntb_hw_intel.h | 58 - drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 603 ++++++++-- drivers/ntb/ntb.c | 4 +- drivers/ntb/ntb_transport.c | 3 + drivers/ntb/test/ntb_perf.c | 1824 ++++++++++++++++++++---------- drivers/ntb/test/ntb_pingpong.c | 450 +++++--- drivers/ntb/test/ntb_tool.c | 1827 +++++++++++++++++++++---------- include/linux/ntb.h | 51 +- include/linux/switchtec.h | 23 +- tools/testing/selftests/ntb/ntb_test.sh | 307 ++++-- 14 files changed, 3551 insertions(+), 1955 deletions(-)