Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2840461ybb; Mon, 30 Mar 2020 14:09:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvwj/xHL0hVw0m8nyV+qlYC8M1jiMuslGlz8S1EoctAvum2REPBS03PmtIHlIfJ1sbQ7Y32 X-Received: by 2002:a05:6830:1408:: with SMTP id v8mr10298621otp.123.1585602595118; Mon, 30 Mar 2020 14:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585602595; cv=none; d=google.com; s=arc-20160816; b=FGk1harQTyleKa+gVBMEdFcrtqzeqC/VEH7Z5hUlSjxUrtx74Aj5468KEICLQS/ZGS gA7JoWzQCh9C58j89jD/4q7h++VqhJykNfCheaxhic2ByTyxuowmjAk6NABtAU5EpOHi xZfUfHCyeIQ8DQ+woF2Yw6JwBuwmhHJiVPap0kDysrFsPuOFn8kd4j2bN9m089cPy41Q i91/VYO5LD+8P/JBT2Q+mVq/V+BJ8Xq+w0DAdN45XsWO3TLYY9uo8rIMT5hI92dcKWyM QSoXZMStJZt78yBVx1od+KfFsl8kA9ebA95/oHRpHYVkd88L1qkbZ4pf/JdPwYZbHY/6 qDug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LQMmWKFXXDNKTWX4CIpxQrEHPSRiPfMjq8jxaS3pzgU=; b=I1yrcAM7+Kl6+oNSOYnM2ZNOgoWMCgf3A1fK8IcNJgIG/32bVI7osivmqQCh+zgxN4 X15UZiMxzMkyQ/1FfDvwnR2xby4fDEKGNhuBJ2653+5By0wnFZSP0YsE61GsvxdK7fdh wmKwDbuHlcrvUnyIMnjsOOVcctddxfIaMthDT4gZB6vg4XcXCw4Is8Wx/GsDcH5a+T13 d6amDX1GCiJs6CnBhQcen92ST6pIy/RFUp7m7dKIJ8v7V+aDV+0gF7ZeZTdadXsf4rBO z9SbR0VpnS0JjMoOpLiwElyWuAWPyVZi5mJ/eIVtHHWYxLaoCV7FCr5r+C6PY0DMr4mz QuGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b="n/qvynkE"; 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 u207si6102687oia.176.2020.03.30.14.09.42; Mon, 30 Mar 2020 14:09:55 -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; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b="n/qvynkE"; 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 S1728453AbgC3VJV (ORCPT + 99 others); Mon, 30 Mar 2020 17:09:21 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:43544 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728317AbgC3VJU (ORCPT ); Mon, 30 Mar 2020 17:09:20 -0400 Received: by mail-io1-f65.google.com with SMTP id x9so12977011iom.10 for ; Mon, 30 Mar 2020 14:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LQMmWKFXXDNKTWX4CIpxQrEHPSRiPfMjq8jxaS3pzgU=; b=n/qvynkEWyNEa3pa13rLSf65JlYY1/YvcGeTiYdIJCkUnXt2SN8RSqQEyF7ow4Qkez zVKg8d6SSd63M/GP/5HxXc9zcwpHLIMlbML0bzAXUvwaqsX8hlR9sNQmAwsp0S9BvrDl e1/PmGDOOZJ0za/9tOliaroZqFdTYHy3QBmOQVAYEtAY0PvlL84DVjj3OrhZRI2sJIEF fQH3stLrEBImpI2kg7TWcDmyn+UiLZwQ4POfqIusIJATlVf4NPEJONpe1RC9vbK4nnUm /C1xpFqEPdr0pwTBt7gFG+vYxcTbjMHb67FiJnME4fn2FLD/nAPPmnS7Z3Zqe8oF+DaE 9gHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LQMmWKFXXDNKTWX4CIpxQrEHPSRiPfMjq8jxaS3pzgU=; b=B4JOSLAjcYcEYvLHTlbYZ7inEFpFuhCivoLEj/5uaCVzDynmuMXzZQOIlN/ajLRYGu 81/n54Z6r/4cEGQuCQhh1lFSSYKE8e2pGMtMEt8xsSKGrKYzuUclhYdqeR5S+VfH63yE dQk4yKOvI8stwlvW3gXHl9bDiXq/JZ4dyRHvBygSBECKBc3lKdSkvZ/MYyHnVcWNhQxY vN/eD8RDOJLipclAg7hXfvE4ILJ94Tg06vXcpPoaKmMPisACcFKSrCNIIB0AJWsBAjwO 1sUZUxl3Es3ylyhxGiUnwvqGB+uCXPaznonvu5nd6w/F20hD6QzWvYMz9jUpMFtMekfi SnKQ== X-Gm-Message-State: ANhLgQ1OL0eARdCYihE9VWYAtw4tOAGFIGlqu1MzDTd4ufpxF2iSCPBn 9VoexgP7w8fEn/c/QLDh+DBEPsFE5cjmeHAN1pWewQ== X-Received: by 2002:a05:6602:164b:: with SMTP id y11mr12569834iow.3.1585602559415; Mon, 30 Mar 2020 14:09:19 -0700 (PDT) MIME-Version: 1.0 References: <20200313002524.GB13046@kudzu.us> In-Reply-To: From: Jon Mason Date: Mon, 30 Mar 2020 17:09:08 -0400 Message-ID: Subject: Re: [PATCH 00/15] AMD ntb driver fixes and improvements To: "Nath, Arindam" Cc: "Mehta, Sanju" , "S-k, Shyam-sundar" , Dave Jiang , Allen Hubbe , Jiasen Lin , "linux-ntb@googlegroups.com" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 30, 2020 at 2:43 PM Nath, Arindam wrote: > > > -----Original Message----- > > From: Jon Mason > > Sent: Friday, March 13, 2020 05:55 > > To: Mehta, Sanju > > Cc: Nath, Arindam ; S-k, Shyam-sundar > sundar.S-k@amd.com>; Dave Jiang ; Allen Hubbe > > ; Jiasen Lin ; Mehta, Sanju > > ; linux-ntb@googlegroups.com; linux- > > kernel@vger.kernel.org > > Subject: Re: [PATCH 00/15] AMD ntb driver fixes and improvements > > > > On Fri, Feb 07, 2020 at 04:28:53PM +0530, Sanjay R Mehta wrote: > > > > > > > > > On 2/5/2020 9:24 PM, Arindam Nath wrote: > > > > [CAUTION: External Email] > > > > > > > > This patch series fixes some bugs in the existing > > > > AMD NTB driver, cleans-up code, and modifies the > > > > code to handle NTB link-up/down events. The series > > > > is based on Linus' tree, > > > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > > > > > > Arindam Nath (15): > > > > NTB: Fix access to link status and control register > > > > NTB: clear interrupt status register > > > > NTB: Enable link up and down event notification > > > > NTB: define a new function to get link status > > > > NTB: return the side info status from amd_poll_link > > > > NTB: set peer_sta within event handler itself > > > > NTB: remove handling of peer_sta from amd_link_is_up > > > > NTB: handle link down event correctly > > > > NTB: handle link up, D0 and D3 events correctly > > > > NTB: move ntb_ctrl handling to init and deinit > > > > NTB: add helper functions to set and clear sideinfo > > > > NTB: return link up status correctly for PRI and SEC > > > > NTB: remove redundant setting of DB valid mask > > > > NTB: send DB event when driver is loaded or un-loaded > > > > NTB: add pci shutdown handler for AMD NTB > > > > > > The patch series looks good to me. Thanks for the changes. > > > > > > For all the ntb_hw_amd changes: > > > > > > Reviewed-by: Sanjay R Mehta > > > > I had to rework the first patch, since Jiasen's patch was already in > > my tree for a couple months. The rest applied fine and will be in my > > git trees on github in a couple of hours (sanity build pending). > > > > Hi Jon, > > Just wanted to know whether the changes are in your tree now? You should see them in my ntb branch and I'll be sending out a pull req > > Thanks, > Arindam > > > Thanks, > > Jon > > > > > > > > > > > > > > > > drivers/ntb/hw/amd/ntb_hw_amd.c | 290 > > ++++++++++++++++++++++++++------ > > > > drivers/ntb/hw/amd/ntb_hw_amd.h | 8 +- > > > > 2 files changed, 247 insertions(+), 51 deletions(-) > > > > > > > > -- > > > > 2.17.1 > > > >