Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp423532ybv; Wed, 5 Feb 2020 07:55:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwTAami6liVC7k1Q33amQ1/E3QadP2TwNOgy+aTxKqgxezuhNyRIsRXKNhYuYvabO+Qzlpe X-Received: by 2002:a05:6830:1317:: with SMTP id p23mr26928429otq.3.1580918154841; Wed, 05 Feb 2020 07:55:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580918154; cv=none; d=google.com; s=arc-20160816; b=d8yBBDLOn8fco+hw99XJpIrLyUfQ0jw039FUD7y2tRcaLq0nvhauQegw3i67z9dkJ+ zUX/mZrxJBVfUDBD1Ex5qLE3Hc2NaD7b04/cR+QCxdM6fn3IxKEJc9lVoUTr1f06rCPO JAY8snhx5P+/WLPstAuXS9wPce5Nhz4rVInrYregvKyhAy26PFcU4D2VLCHpMLF7UCq/ weB3F9c4E/xf3MqMdHUth4p5jn6HFM6FOKOWmq4Fum3Ir02rnu+w+WSzpfudYQrmMLxk 8RtbzCOVWDHBplR7IjFE78RfzCrGcCWMmTNmhtOhoYEVrrP9w2CwoqUZ1BiBDIzs1MXg 6ErQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=i0tu/hN5nPRoBqhYtWsd7kOpTFJDnB/EYcTe2/ffTnk=; b=AeztO/Kc+2NEv/wzWWQpR0bA0bOuXDoTiEs+1qpqxTBWH6DtkE4iZk4Bvy1JsiGxHL XzNjtD/BmKh8L6Kkn+ahBqEq5pziocaDvJHFw84qOR2D6hmgrNTchH4e3YsmlJPSFohH H7W+ut5msOWIlfTAOZICJH1YEa0v3yLQnlQ6tbUHHdMIGdC/5Xe9frzhheGSBqypM0c1 6zWa1vOTHZcMRGewD0LBLQxdjHnP//hXrOzJCBYX8/bHO6CFtlcJ3M44aDR9dYaYMfyi QvDHWaMsmAUmuw92g0sczeESsmV+YsjcXRIPm4PTDx1voAfoAiO9JXq+qEwcLxs1EUn2 XLaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PAhbp4fr; 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 f16si173611oib.269.2020.02.05.07.55.43; Wed, 05 Feb 2020 07:55:54 -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=fail header.i=@gmail.com header.s=20161025 header.b=PAhbp4fr; 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 S1727452AbgBEPyt (ORCPT + 99 others); Wed, 5 Feb 2020 10:54:49 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:36757 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgBEPys (ORCPT ); Wed, 5 Feb 2020 10:54:48 -0500 Received: by mail-pj1-f66.google.com with SMTP id gv17so1171524pjb.1 for ; Wed, 05 Feb 2020 07:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=i0tu/hN5nPRoBqhYtWsd7kOpTFJDnB/EYcTe2/ffTnk=; b=PAhbp4frFtPO4EcejiywOGYJLOdJYRZ93Sn7mtqxPgpWWVM8GdVmrPMUBUeqW3qxPk KOmH1lFXPIvWq3GETYAJGLBeRIpjcKNWAtXnu7AYjdq6NLTx7flJ/3QEx+9LgCjVPZ9Z K35MI4uw22Z1GnFob5wDhDzGbOfSjVmmDEeTCaj5F4M1KCXXih/auGv3291uj4E2DwyJ Q7aLPktqiCK0JRiVWdn/1LCfJg+y1JNnu3AkMIhISrT/81arqIagsBenLhIQ2pD35tWe xJafAorSX+kUzQQQ41eWMERKgKBKw8tSSpHgJu1yf+R8qg6g4KNJeBXLZl6VbcUiXt1F tAuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=i0tu/hN5nPRoBqhYtWsd7kOpTFJDnB/EYcTe2/ffTnk=; b=gpHgtXrOz9A9/mQ+v2lmY1d9qSBEuqh71kT7FoQI/YFQ2fk/mq9lHYnmocfginFJOd Uf7UkePtSP7rCECGOd67ggRgNPJO0zYQwCNvDwJMpg+SnB8QUw73znhppg0eKpLaZv18 Ff2ZIAkFwcJv5HZ0RD8TUS77sViDBgEk0wGOJKWg29DQ2J352hNI4X5YWE7I4sNA4kr7 OtDFwwD3XoJXWtCc4FE6/Qep6qxZLIbsdUTKqi8Az6iRvdWCf5r9Xve0A6tEhiCa6stM cdyxoqRrVdGf007UNhr4mxPUiMNWGRuRPZS9hAhn13Kzh4+WTm218LRDIHbaH0HZPqs5 h27A== X-Gm-Message-State: APjAAAVdCvY3cXQxpXW3nJAsX+4Edq7dhOp+eEjOTAsIKCUs2iduoyTO ZfY7OYDJjo2PJj6+2Z3+2x8= X-Received: by 2002:a17:902:968c:: with SMTP id n12mr36308895plp.144.1580918088401; Wed, 05 Feb 2020 07:54:48 -0800 (PST) Received: from emb-wallaby.amd.com ([165.204.156.251]) by smtp.gmail.com with ESMTPSA id z10sm195678pgz.88.2020.02.05.07.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 07:54:47 -0800 (PST) From: Arindam Nath To: Shyam Sundar S K , Jon Mason , Dave Jiang , Allen Hubbe , Jiasen Lin , Sanjay R Mehta Cc: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, Arindam Nath Subject: [PATCH 00/15] AMD ntb driver fixes and improvements Date: Wed, 5 Feb 2020 21:24:17 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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