Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964990AbbLWI6w (ORCPT ); Wed, 23 Dec 2015 03:58:52 -0500 Received: from mail-bl2on0077.outbound.protection.outlook.com ([65.55.169.77]:15264 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753135AbbLWI6r (ORCPT ); Wed, 23 Dec 2015 03:58:47 -0500 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; emc.com; dkim=none (message not signed) header.d=none;emc.com; dmarc=permerror action=none header.from=amd.com; X-WSS-ID: 0NZSYXC-08-YMK-02 X-M-MSG: From: Xiangliang Yu To: , , , , CC: , Xiangliang Yu Subject: [PATCH V2 0/3] Change notes of V2 Date: Wed, 23 Dec 2015 21:42:40 +0800 Message-ID: <1450878160-9259-1-git-send-email-Xiangliang.Yu@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(428002)(189002)(199003)(5008740100001)(87936001)(5003600100002)(92566002)(86362001)(5003940100001)(586003)(11100500001)(36756003)(48376002)(1096002)(50466002)(77096005)(1220700001)(106466001)(105586002)(97736004)(229853001)(2201001)(5001770100001)(47776003)(53416004)(50986999)(101416001)(189998001)(50226001)(7059030)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0719;H:atltwp02.amd.com;FPR:;SPF:None;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0719;2:36Q02ElDTOyekw2cRpAfP+NrGsUW8c0N7x1LV1kRQX+DItT7s3sGlDAAi+/Xf8ylABPZNBRTJMK6KBhLTWcxAmuaAlwbRuwf0VTcZncjztAm02DPS6/073GAU/aw7tMtlhXbJ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rx9N3w8AM6GHRg9Mo1t7nZEGJ4/YGFe/75KgOcHcH58W9YzFXqFhxqVTC;4:WlNQ0PQM6aoAPLzF7YkEYHRhu59GHTp7we57A3wcBXaL8GKng0y+AQ81cx/hf2OtObts23579EwrqZynluON6wF3mFaL1cwxLBFtlJRRsSU6lmIcWZFOeaZ4tjA9yxLxxwts7ZSKxF2N2Pg9JMUqO1YdQrD7nNvhfMd5aFP5QYMjhRo4QD3ATfyZLP37xJStUejaWCkRvHPU8mTvkwt1cbTZuHEtcZcCYL4dGIkzh3rZZ7s5w9+3DeBK5rQmaPTesAFvqHVQaXyo7xH7jgckkZB594wwDIh/EkwBFdKI8/aecfwsHErrh7FLFsIdnPLboM+OHbYM4YzLlZAgbrJScjFg/ClTH585WkxckLmrlm/jY2K0Wdz2L6A3uDgNbegf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:SN1PR12MB0719;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0719; X-Forefront-PRVS: 0799B1B2D7 X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0719;23:FkMOzcvDYIEzk/Sha+mcKPGOuVi1b9tpyvwYTetKUPN1GAcTkg/YXo6rEr87LRvFPo/WO0kMw9jnw0CZ+/G8sVIL04/xkCWxAkbGu2sPI2ykILIdp/Yc/aCUO+nKaAdSv4s/cOIprlv5y+yo+ynO42Ivyex9jo2Wf/5yPsUDIOEx3VbGzrvwNVc/7WjgyoIcuZKis6sgpxvVsCTi72OyUNZz9+GghLBcWxHAW5iK6VzzF3W2LtIuMM20cioQHr9a/t4OkJdM0La4JCMnn5Be/H91O/ks17k2f+38eyaHfqFo4ezqsCHkrVfuPE2SdgzpX5X6EaCBJgYvEQ4fi0O5HdwEBb1rCgzwG4QtKP3U03UBROMrQW6mIkSJbYw6RKgugK5cpC+aw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HbZ/L0JhqF1YgxnZZvH SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2015 08:44:04.0841 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.222];Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0719 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 31 Main changes in V2: 1. Fixed compiler warning; 2. Add marcro argument of ndev in NTB_READ_REG/NTB_WRITE_REG; 3. Add notes for flush and wakeup interfaces; Xiangliang Yu (3): NTB: Add AMD PCI-Express NTB driver NTB: Add AMD NTB support in Kconfig and Makefile NTB: Add flush_req and wakeup interface drivers/ntb/hw/Kconfig | 1 + drivers/ntb/hw/Makefile | 1 + drivers/ntb/hw/amd/Kconfig | 7 + drivers/ntb/hw/amd/Makefile | 1 + drivers/ntb/hw/amd/ntb_hw_amd.c | 1265 +++++++++++++++++++++++++++++++++++++++ drivers/ntb/hw/amd/ntb_hw_amd.h | 265 ++++++++ include/linux/ntb.h | 35 ++ 7 files changed, 1575 insertions(+) create mode 100644 drivers/ntb/hw/amd/Kconfig create mode 100644 drivers/ntb/hw/amd/Makefile create mode 100644 drivers/ntb/hw/amd/ntb_hw_amd.c create mode 100644 drivers/ntb/hw/amd/ntb_hw_amd.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/