From patchwork Thu Jan 12 19:06:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9514027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 203AE60762 for ; Thu, 12 Jan 2017 19:10:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1221B286DB for ; Thu, 12 Jan 2017 19:10:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 070A928712; Thu, 12 Jan 2017 19:10:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B22DF2870C for ; Thu, 12 Jan 2017 19:10:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751091AbdALTI3 (ORCPT ); Thu, 12 Jan 2017 14:08:29 -0500 Received: from mail-cys01nam02on0068.outbound.protection.outlook.com ([104.47.37.68]:59424 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750906AbdALTIL (ORCPT ); Thu, 12 Jan 2017 14:08:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ltdvD1yNmbpC0N+uGTRD5KMrNMZCoHHIBgtyLbrTdko=; b=QAxgu3M1NFsae8PreMXw/iOHzxR+nDBqVYOR14BUbjNAEHQO9gUY6ox+ktj9TCHOpsRtGv+K1y7Z5N+os09zIkMB2bYybZ4TyaEpmsRLFyT/h2O6kbWpyWAwgH4sxuvFaNWcFXCBwosQEKcbwnJ41JfW7kglv+sSkiNNTkkOHW4= Received: from BLUPR0201CA0028.namprd02.prod.outlook.com (10.163.116.38) by BN1PR02MB037.namprd02.prod.outlook.com (10.242.210.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Thu, 12 Jan 2017 19:08:07 +0000 Received: from BL2FFO11OLC003.protection.gbl (2a01:111:f400:7c09::190) by BLUPR0201CA0028.outlook.office365.com (2a01:111:e400:52e7::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Thu, 12 Jan 2017 19:08:07 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; lst.de; dkim=none (message not signed) header.d=none;lst.de; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11OLC003.mail.protection.outlook.com (10.173.161.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Thu, 12 Jan 2017 19:08:04 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 0F.90.65426.861D7785; Thu, 12 Jan 2017 10:56:40 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Thu, 12 Jan 2017 11:07:58 -0800 X-AuditID: 0ac94369-b62949800001ff92-e5-5877d168a803 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 28.DF.09762.E04D7785; Thu, 12 Jan 2017 11:07:58 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , , "Greg Kroah-Hartman" , Bart Van Assche , Christian Borntraeger , Joerg Roedel , Andy Lutomirski , "Michael S . Tsirkin" , Christoph Hellwig Subject: [PATCH v2 06/26] lib/dma-noop: Only build dma_noop_ops for m32r and s390 Date: Thu, 12 Jan 2017 11:06:58 -0800 Message-ID: <20170112190718.6728-7-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170112190718.6728-1-bart.vanassche@sandisk.com> References: <20170112190718.6728-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsXCddJ5kW7GxfIIg9PrVCymr9jOYvHy/AdW i+bF69ksVq4+ymQx+dRcJovLu+awWTw71MticX7XWlaL/79esTpwehx8dIjNY9OqTjaP/XPX sHvsvtnA5vF+31U2j82nqz0+b5ILYI/isklJzcksSy3St0vgyviz5B9LwST+io0T9zA1MB7h 6WLk4JAQMJFY8ZS9i5GLQ0hgKZPEj4OTmCCcbYwSPV2nGbsYOcGK3h/ZywqR2Mgoce/ramaQ BJuAkcS39zNZQGwRATWJTa8WsYPYzAKPmCQa3ziB2MICgRK35n8Ai7MIqEq8OXKeDcTmFbCT 2HV1OTPEAnmJXW0XWUFsTgF7iW//L4EtFgKpOfCfBWSxhMBRVolT068xQTQLSpyc+YQFYpmE xMEXL5ghGtQlTi6ZzzSBUWgWkrJZSMoWMDKtYhTLzcwpzk1PLTA01StOzEvJLM7WS87P3cQI iZTMHYx3n3gfYhTgYFTi4d1hUxYhxJpYVlyZe4hRgoNZSYR31vnyCCHelMTKqtSi/Pii0pzU 4kOM0hwsSuK8bve+hAkJpCeWpGanphakFsFkmTg4pRoYJ24ULk5kuzLNLqbm+RsZb9Zc6eWH rO8tvfQ5tfzxj/MPefrtgj+ca/Oo+umYeLn/Uz3bznRbuUVKpsnvk3pvr/gza+p3BpEbEs+M VD52mV6/ZnWu4pEZn8AmPttqi7C7oUZXL66/8zFMvEZ3noHQV9aPwQtnZW6t8N5wxuTa2k8V sRoVt5snKrEUZyQaajEXFScCAEJyh9iQAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLJMWRmVeSWpSXmKPExsXCtZGTTZfvSnmEwetTIhYHf7YxWkxfsZ3F 4uX5D6wWzYvXs1msXH2UyWLyqblMFpd3zWGzeHaol8Xi/K61rBb/f71ideDyOPjoEJvHplWd bB77565h99h9s4HN4/2+q2we09acZ/LYfLra4/MmuQCOKC6blNSczLLUIn27BK6MP0v+sRRM 4q/YOHEPUwPjEZ4uRk4OCQETifdH9rJ2MXJxCAmsZ5RY+H0nI0iCTcBI4tv7mSwgtoiAmsSm V4vYQWxmgWdMEk0TuUBsYYFAiVvzP4DFWQRUJd4cOc8GYvMK2Ek0rrjHBrFAXmJX20VWEJtT wF7i2/9LYPOFgGp2HfjPMoGRewEjwypGsdzMnOLc9MwCQyO94sS8lMzibL3k/NxNjJAAi9rB eH2i+SFGJg5OqQZG6ecLNge/Zn10c9Ix5guTLp77uqH5yoPdvvmtPvkSzIftVvXeMHkYci0k ev/nu64PNQxXnu2IKZ22Uj0vSn32NpMPhm53BCMkvkyWy3+z69LqnDfX3O5d8/kidV+i79jz x70ex6u/Lf1iJH2lbvuMNW+2283YX3tnd4TvjAZrtZe+n/+qxZktLVdiKc5INNRiLipOBAAt qcs84AEAAA== MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39850400002)(39410400002)(39450400003)(39840400002)(2980300002)(438002)(199003)(189002)(110136003)(106466001)(1076002)(92566002)(54906002)(97736004)(626004)(50986999)(76176999)(33646002)(38730400001)(77096006)(81156014)(47776003)(305945005)(8676002)(5660300001)(81166006)(48376002)(189998001)(69596002)(50466002)(2906002)(86362001)(4326007)(356003)(6916009)(2950100002)(36756003)(68736007)(5003940100001)(8936002)(2270400002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB037; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC003; 1:a7ws7Ug5Hhc4Joi+TOaEF0DpDsPclyV0qmrRe3TajT6i9fg5KjnHz9dDYFSATwJ/Q9Xt5JB1cGTTn3JhbpGKoQCDXPbH2yPIIoXKzKHDcdn5FBDGe5TACJuqePsykjxtwc1OUm9WL37GGzlgjoI4KxcVaArxulTNKM1YPIznBKg/XMIAhAGNpFEXaxO3b2NctwiAxBYvbOzAMXLeM46yQHY/l9upRNka5etCH4f3He7gM8Pltir3KF9rQxNV1atb/t74VQmv0Sazgh9OQUg6BMrxuiAtMDhUFQ7yQeO/Rj2qP5Q/r27egvvUBPno/hr3Xmbi+wg+pko9ygsa7kT7DrF5Rhp/d6AymcXXjGnCFA3TmlPTORS3Zrf+8NPfV2D9uGLblpWoBnWRX0bQhct4TDIWrJnVeqksSh8mXN1YbR48828IHnPThPt/wWf1F/rqSwNbwKcxWWCtD0iPgo+0J1yLQZdov997L1bfdDSjCcLjfo6BeNrXooOY6qSUc0Yw X-MS-Office365-Filtering-Correlation-Id: 33747f70-fd26-4249-e02c-08d43b1e5778 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN1PR02MB037; X-Microsoft-Exchange-Diagnostics: 1;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L X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(190383065149520)(104084551191319)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(20161123558021)(6072148); SRVR:BN1PR02MB037; BCL:0; PCL:0; RULEID:; SRVR:BN1PR02MB037; X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB037; 4:MLgi40hAwOvzNTzvZok0lRt/mIMN4MX3Jz58ohbYkuTw+UtEo+JwtxzWjFI5btdJPSQD5AtzdFXj9CT0hiXXiAohTd8XzxR2vL6yryeK49wSoCsI/Bw4C+R6Dd1zV8sZbHePHmkkDwyL3lqM4PmHPIascds4WI6YcA+BhZuR5p2fZZM9w77ALsYDufscu/WWXxVMIOEFqQFEGjd2MME455LvYUXb3WNG7wKPOqZBteTowaNyybj5GwO6H5d4FkPqHN5SmTEHW/9dapxbiKo7OwAmq8bnffRTMHx9Tubahi/pQFM+0ybVYzsO3aRZlq0VqZt/pZhwxSdA4i5J+u8aMtJW+iD5yG0Vd0OAT69GU5yunxtqgyt5LeH5Nw5paivxT3R+TbbYZoHA0zTljWIZXBeVCmO09IJZdx6UvcuCTWhWvRHO8IIEwO1z6e6fG2SF2JSJch0/zjhji1TPabeE43IxK3oUeEuBcqB2thNUtsLwky/tn49fzKVK6cpy8r/ClCr2+5s7PILwLR6abrHWQbefqopbHYC4UpoOyPkZWs7KAQbOgq+zFaYJtfTCqK1MJnqEoLNDiDIViN2tsb2tgYtHyBjulwJqkggxFDcZ/cq6Ma1Cg/zyfzSwH7izfmQ7m7NH/YSycKbJs2dDn8ZXE2OuEgPMcFfHp8Pa1fAR2WfkSkTvhevP73QQ1TXyjvMme43zJVSMNyIhLgZ4Mo4bNjdsoTGzDNE5HbX88qIxqGNVwGy2UFaMqDI07CFqVLlFonHTS8/bO8QRaR99Ul6yTQ== X-Forefront-PRVS: 018577E36E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR02MB037; 23:bsM+DBxX8adwJxUoExd8XBsOoYOyzbQG54z5udQbqM?= =?us-ascii?Q?o37fXoUnQOoYXc4zwP/uOOyiwugOf0mMEjByXjxEOnvBS3JNyvUzE7KSqw8C?= =?us-ascii?Q?uBYgq/g6qB1GsxHWwDML1+wCFEy/8lXOVpMghVNAWkfkASUSYR5b8gxJh3CZ?= =?us-ascii?Q?zGvs+o3QhRkxOsvvcAW4o/kV7J/A6p50XvfPTuKDiqstcFdUVEcHJdnhAegH?= =?us-ascii?Q?rs6HJGZWQPwf87+mEEPmz7O0u/UstnMH/Om774WD776LYklUFveReAJJ1TIj?= =?us-ascii?Q?xsx4Qjp8XwCUdE4EfjnE3ZVCDHIOH7hs5ydMz2EVsHE8IHsseNxStd9wYK8J?= =?us-ascii?Q?7uVxN+1aTU4KA3q34N6gPDRtS8Xd5YBVHbO93JE8HZmqzG+Ro205ytzpBkTC?= =?us-ascii?Q?TV9lt/A26QMs1KvF4Jz0B6410ciDHe5mGC0F7nN0Cp6XjCwG3V3kJPhJ/AQm?= =?us-ascii?Q?TvXnafmgnyBCwas/ouRoUbIuIPcgpGvUwn0lCMLcOX73dykhWSX8mXxK46Vg?= =?us-ascii?Q?OKal6tXuDklUBZ37Dffhxkqwn+3cueP4tGPGhBKk2cNGI3ZGvDXh99sEGr92?= =?us-ascii?Q?zjvK92c9Cww5RVfUCo1iqQdbNNL8LU6+zKmgmrcO5SX1wPH3OLSfutdvI62L?= =?us-ascii?Q?NOBVps9vc9ztCs4mOzY9T5HWKYU3MT6QL9byzTP/wbCRhR59kDCh8HpDFQRN?= =?us-ascii?Q?gkoX7ZlSTZUdF2lsbLXezGqXi8OzKXT0I8ugfb33qf4D5jVgZPkW1Wuz/vCC?= =?us-ascii?Q?6veBe/HhN29CfIUfwOhtwA71lDQyhH2F5s+kvoFhbbhVnGAvs34nAQRab4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FbZ1nRIJ+UyBLLRaKRSJLzBviC+oCVR6WTOIqYjRUXnnBlsm/YtoorHmArQjA5aEZm3aj0DmAYDyChCWRsZl9wyns= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB037; 7:cMWhVEwXW2lb+GPlzPPrUp2rcp7vDs//BWMY0tG0YUlBl05Q1E1HPWE6hDaOnEVnMBSuZBV2ZxizTQPgXWo61dXvNAx5sojm033brIdQ3u2oGNx/q+Brz9plDXKIhByTt1g1Nxi1pn8mbOO90HLUVWmXm1k9dExDxKE4keaYt9CX85oxYZ/b50wBnlwp1K6zc2b8om0lyZhW3nzRkTlKY3QV4OUX47grOUpYJgueBO91T5M+ry8eqMJZLfXjVwojs9ordqMFJLLKw6cFlVT6Cut26ChZrnwP2shjdTwZtT8GEDgJhpZv3chwzVhB/6Uxx5pc34z4ocxSNUgUhkDCa8KvHvEXxryM4SkR8yXL4Kli0GQPAdHvcVtDRPirnU5KM6mMK1x2A6NZ+AA+d0ZQFD/2syg1SwnUZZ04bMewNnJAuW36TZrOElpOwslqJffuT5MejWV2l7NXPbiN+Bvbdw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 19:08:04.3251 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR02MB037 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This was suggested by Christoph Hellwig. Signed-off-by: Bart Van Assche Cc: Christian Borntraeger Cc: Joerg Roedel Cc: Andy Lutomirski Cc: Michael S. Tsirkin Cc: Christoph Hellwig --- arch/m32r/Kconfig | 1 + arch/s390/Kconfig | 1 + lib/Kconfig | 5 +++++ lib/Makefile | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index d227a6988d6b..95474460b367 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -18,6 +18,7 @@ config M32R select MODULES_USE_ELF_RELA select HAVE_DEBUG_STACKOVERFLOW select CPU_NO_EFFICIENT_FFS + select DMA_NOOP_OPS config SBUS bool diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index c6722112527d..38ad42358c41 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -137,6 +137,7 @@ config S390 select HAVE_DEBUG_KMEMLEAK select HAVE_DMA_API_DEBUG select HAVE_DMA_CONTIGUOUS + select DMA_NOOP_OPS select HAVE_DYNAMIC_FTRACE select HAVE_DYNAMIC_FTRACE_WITH_REGS select HAVE_EFFICIENT_UNALIGNED_ACCESS diff --git a/lib/Kconfig b/lib/Kconfig index 260a80e313b9..b6baf0609e8b 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -395,6 +395,11 @@ config HAS_DMA depends on !NO_DMA default y +config DMA_NOOP_OPS + bool + depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT) + default n + config CHECK_SIGNATURE bool diff --git a/lib/Makefile b/lib/Makefile index bc4073a8cd08..ada06d5652e8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -26,7 +26,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ lib-$(CONFIG_MMU) += ioremap.o lib-$(CONFIG_SMP) += cpumask.o -lib-$(CONFIG_HAS_DMA) += dma-noop.o +lib-$(CONFIG_DMA_NOOP_OPS) += dma-noop.o lib-y += kobject.o klist.o obj-y += lockref.o