Message ID | 20170120210437.26389-7-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 3596A60113 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2979D286CD for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C909286D4; Fri, 20 Jan 2017 21:22:04 +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 6F54A286CD for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 20 Jan 2017 21:22:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751776AbdATVUS (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 20 Jan 2017 16:20:18 -0500 Received: from mail-bl2nam02on0063.outbound.protection.outlook.com ([104.47.38.63]:50432 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751363AbdATVUM (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 20 Jan 2017 16:20:12 -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=dPRrjWjwBVkaPrv/mRfd3QIzHlPnhLoV3UxYedh3rE0=; b=Ia43d3caoViSZ+q9OksfketPJanBRpZMxCPcdEV/B6Q0mfeDsBv0wL5geq2pMZ/bsIn/NEP2+rEq79CNl7SX9H/CuSwvB/I3k11/Kf6LYJUD/HZdppYlCoYce9zI5Svp9ZInPHrJsEH1NR4DRfb0vyH5kx8PyxvtTN81ZUmQgfg= Received: from BLUPR02CA061.namprd02.prod.outlook.com (10.160.23.179) by CO1PR02MB047.namprd02.prod.outlook.com (10.242.163.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Fri, 20 Jan 2017 21:04:47 +0000 Received: from BY2FFO11OLC010.protection.gbl (2a01:111:f400:7c0c::110) by BLUPR02CA061.outlook.office365.com (2a01:111:e400:8ad::51) 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; Fri, 20 Jan 2017 21:04:46 +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 BY2FFO11OLC010.mail.protection.outlook.com (10.1.15.21) 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; Fri, 20 Jan 2017 21:04:45 +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 36.B8.65426.BA872885; Fri, 20 Jan 2017 12:53:00 -0800 (PST) Received: from milsmgip11.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; Fri, 20 Jan 2017 13:04:40 -0800 X-AuditID: 0ac94369-b62949800001ff92-22-588278ab2bad Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id A8.33.16817.86B72885; Fri, 20 Jan 2017 13:04:40 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Joerg Roedel <jroedel@suse.de>, Andy Lutomirski <luto@kernel.org>, "Michael S . Tsirkin" <mst@redhat.com>, Christoph Hellwig <hch@lst.de> Subject: [PATCH v3 06/37] lib/dma-noop: Only build dma_noop_ops for s390 and m32r Date: Fri, 20 Jan 2017 13:04:06 -0800 Message-ID: <20170120210437.26389-7-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170120210437.26389-1-bart.vanassche@sandisk.com> References: <20170120210437.26389-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsXCddJ5ke6aiqYIgynH2C2mr9jOYvHy/AdW i5WrjzJZTD41l8ni2aFeFovzu9ayWvz/9YrVgd3j4KNDbB6bVnWyeey+2cDm8X7fVTaPzaer PT5vkgtgi+KySUnNySxLLdK3S+DKWL16B2PBd/6KE92RDYwzeLsYOTkkBEwkllz9wNLFyMUh JLCUSeL7lUeMEM42Ron/c+cywlTdW3qVFSKxmVHi8adeFpAEm4CRxLf3M8FsEQE1iU2vFrGD FDEL9DNJvN1ymRkkISwQKDFzwSE2EJtFQ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maTzO+xK94cNaklTr/65LvbI8ccUlkIlluKMREMt5qLiRAAT8LTH0AEAAA== MIME-Version: 1.0 Content-Type: text/plain 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)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(2980300002)(438002)(199003)(189002)(97736004)(626004)(1076002)(53936002)(356003)(77096006)(92566002)(69596002)(33646002)(5660300001)(5003940100001)(36756003)(86362001)(305945005)(50466002)(68736007)(50226002)(106466001)(8936002)(6666003)(2950100002)(4326007)(48376002)(2270400002)(81166006)(2906002)(38730400001)(50986999)(8676002)(47776003)(54906002)(110136003)(6916009)(189998001)(81156014)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:CO1PR02MB047; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC010; 1:PFr58yza4ksgNVydYHz2w5YfCeWfhdvEcZCQSK0TKGsAnxbqTjj+v0SkBnxQU0tjxmPJK/6DBItnOma5I1Uvr+fRlW6gtCWomS1p8ijP7qlr6gJDiEf8rejxdAFJIZnOVcYn4NQL7M0F3MCAthYM3s1qdMKhbkqDvnzRZQyjS2PLuYe1NbOcs+4Qo2bsnFhUSKSY87jJ/152i1l+DnZL+S5uZa68Lr/LcCM6sG3GNWYsfeUmP7C+hosLL1FWES+8r/MotXiyjLOJtt/pJBMz5AQ2fwNwF2KlBAkxhrlT7MSuDy66hyc4K6rREIjk5JygOZYbp62uF6zWoArux371mlqm7mIqEc3SqNLBvMHsTcsYTrjIdEjvGRahOw4GSuAtgZNr2eWW7AvKCPhrhMvv/2W/4jq1ohG8qBkt+35cNQvBEH4TX41rP9OiTb5RCrRwF0mfGeuvH/xv08oh/rLMC5MLogx33EE7ekuzTmme1xgl1eeF2FCJUlUrXS/rOMjy X-MS-Office365-Filtering-Correlation-Id: 7e4cca64-1e8a-404b-e5a8-08d44177f662 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CO1PR02MB047; X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB047; 3:36gcAAQHBqft7zh2DFqlL8X/HiY1kmNSSlWB8PWSg4InvS+P8gzr7DrIUOOzu8d6o4Zf5u4q9AAzX5ouGFYwuzfV1A4fLGxvOg+Wp8czYinEV3MZcgl6wfQNd76lLJwomg5LhQ6ySWsbBrveqy4ViC05IWqA4Is4iQNRDXkHys56aoreanmT4sTSmqb/VdcGeCSIIutt5nHcR3KX/KnXH6P2578r24GPID1H5g+keDM41LtEb++01apQXi4/QZjBhhFf4nIoP3hSVUsZSy3nQBnOye+ybzGtdF7u7VGhsEnekGX5OXpEtB9SrYKlRHN3YBNMn/eP6Lf30A4tafs4n3v3WtyfHEA3Jr4tXSyw6OsL0YxF8FPe6tdeOnabBntcj/N9pynCCgeijAQa+7F5Tg==; 25:HF8iciH90tk2Y0SP3kM+SOVHrKdDdVWy+wjt9bLzd5YyIbgIz4++gmwseLSrMrIUoEp7YXPcuh1RJZZA9s02WWY9m0px1YnygVXUNx5wLb/DaIDQeu1X1upAFvhF7aJes1xrIEgJoHnxgqOTeDIpKqy3NHjzjhGkofvHFqTxkxLPZjf13g0Toofsp2eegopfK9QwQioxzkeFIMdPjdWgrwCj7vpfh/8O2O98hxjcUN6jVatrKyp4aKm0TVzcJ3A3sb83QdIF5p+wtK6Y56RluUJouuUesCrr3CTbR3f9hTSJQ7qQ3cJbp/E+ZV7MIdXHWOIuP2U7jYpDzhSbeWNrqK0hRsn2A2277wCP7qiiHezT7mb2LIEuiuxzLuNrjx8OXsbDP9m7iOGuDTowxYDA22FO+aSHxQvprCZHCc81HVUGtWrdglUhrndJQLNUD5d7PmiAYCI73jRvDTlJP+pCIQ== X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB047; 31:cGuvMU/g0V6Xygx0chZ8b56J5NVuodLcDKKNmBCDcYNnooMwTpyA8f2rum/8o3PK8kk0bzdG5+O2cKS9WQZ75qatKZAsHr7LY+dT4WvSrAFD3UeYhjb/1L2gG18XF8lOizlUtqYVgeUEk7g5FCFLq3/0PEckKNOnbVMBNQpaFVG6jeWIo3tkmhPV0mm5W1Jrf5ibpJ/ycDgj+5bjT4HUhJzau3g/xjusU8UloNoE9Il1eLWWxMbyEKoaMKzGQZj8R3wXrWokqTfPyz7lBp1KW9LC1BaWzi3e2fUkgG5Gc1A=; 20:/O2leNpmqGtgKIXfFCmpnI63Xxmud+d13NiDUidQiIwkutFHzwgcaipDk1qTfgswoC/T1YIIyGg0Js6TDTXzBQPg9JOZu0AjaiO+IiTFKXoTLJ1jH4kMmiOyCvODrVktzl/BBahs3ojajjUT/bZJAPzkM+7FC0k/nK2kx7BiSdhqYrk7b7CmF3wCPZmle0yr3KNU158ODriw0SZW8tyDuV1lIPPvYg9T9avOuD4n0/NylyDmEy9+1xQEXRk1lbsYy8FzOJnStE4jBgn6QC3eCNB4eWRZtwbU2zdSMxrRSlZ+CN9R7nW/ugXYLQcQrAMrwI9lcuqqib0x9gyn8G+MqF68U07W8TXQxZUCwaxRfe2QWQ25DrtEG8wgt7dttMZZxc9wHTHzEJiDKokHrSYXPGQuq9kzZi9s2vbkp9nptB5mMumuKv0jGTW+RRrP0DoWNWvMtPwW2pQu3xLM/+Me4AfS7huqCUIBFNcxBSH3Ocf54OG4UyNHNsywL1JVEAeF X-Microsoft-Antispam-PRVS: <CO1PR02MB04774F650844B25099A748C81710@CO1PR02MB047.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(190383065149520)(104084551191319)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148); SRVR:CO1PR02MB047; BCL:0; PCL:0; RULEID:; SRVR:CO1PR02MB047; X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB047; 4:RxjNkbkYX5u0mQ4nXY0iVa+ioz3++U3gSgbk7CM0pdl0/WuHQW19vdGqSqz5RwwAD+4axQwfZbeEKUqeIWenyf+isWw3sLbqQksAHf2w7cANekVOpyKeSuw9+622SK6qtvoUeramxs4awqT/2a0PeXnUkIxlRPe4nh5dkcEgGpJsrNOF9PxUW3ACYbd8cHk0faGLcPETNUJLNNv73KzWAUf1Zx1OYfiK5Js6dhRhuF4RtNq7MApBBJ/FGNkcw7dJkceOhjtS0n4idOPNOb2LrXEEv9DIY0VvVdhGbkvAVbFJH24j+nFLhJvWNnj69bHU6Zy94yo8rLdV6kjxcKr0OjiK9llDZaEe53bFuLx5F5HFj0RROyuxTO3F9vuEEbVXAd7oUm0wh9ludQvTD7Evn49wHOk66QkTEv6+KEvq30w+g6rsJP/eJRXuw6VJ1JltE4NZz5fPzbbCC2N5yIzxHf8ztopOSNKkghD+R73uQfFhRjqEJfn42jakPHhF79y3gyEEFwc1y/OJ2V404Vq0SLYG4gGVuM/6fRbmVqXX5CXKoPlmAFNYvlntnDRLzhcbLffEkraL9RxhfEznW8WERtSQ4DdLXjJE6jhYOqbE+Umw6JNLFwuQDqZjJuM2e6eYpXuPXLzIw+P1KtZ4HOMLZzPJ6IC51URf2Daj/mBKAo/W+9C+0BnrlYS7fphvdzHoZSjfHrRDrulvgeDGGB48tXyO6CcWM4Di2KfH29zxlG8= X-Forefront-PRVS: 01930B2BA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO1PR02MB047; 23:I76PCvrZ/o5yZgwXZJo2w9MmhWRsCoBz2/7AUWsado?= =?us-ascii?Q?nOnaaCXPgs5fsZJKSr/uisDWEx8TyN/dxzCK+m9DI6qdbZ+QGwmQUeyzFTjn?= =?us-ascii?Q?snPvH8wz2UjhBhLxSkBWsPAw7g+xxCtGxk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saMEEx4juOprVZMWaI8FNpCFjvM3obBg/jFyXQOJ13MnEEKyntDXsjou8p?= =?us-ascii?Q?c2dE84a/nprOoc0DebzPW6Qm7eNiDf3mLzi/svLwaG2y4owDvl6vs/tTqaEq?= =?us-ascii?Q?rie83VCro+n72zJzBT/Fxu2jLgmboDNC2iyWwT0qhDqUHu/PHarg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB047; 6:hVdTz9cHDrKhF2I54Dw0OCfDuqYvLuL8jBYkVbAxdqy6NRw1OEjnaekmchfdk3ZVO6n7OqTH7JfvziQmcl7SpxyiX/VWC3Yj11UGz/oZqJKtNrRwRy1XsAynWAXq5BDyhJSUqZAkQkO6WN2QFpli74596ZxnyoDyPDAJZnvsWk8o0nPgVgRtG4H7k7m4/rHUEaHUDSwXYvYftw3/236Etg2P6KCD10Z7P7P/e99TZxb6OtbnT2iBBlj9dfg7YQKnlbOEoq6oyag1PmjCkjauSdEPveMVNOtov2MVQXUwzwtHioPQT4YhgzhBsdMBIvot4R9JkJHW6k+XYm9UR/3SA2ItE4bMGpCHAlKfH0h4RYQkSDopTisTIXImgVIV+VN9iBDJJQzn/nLo1cWUUMK3C6U59loGY2z0md32N7B12v0EXwtWgqmGokpkKgUjTp44kal84E39ozzZyADMGfE4SQ==; 5:/wiVc0MGddzL2rhiJWCQ2NNruOQbsXoQNu79tPn2hKOQii8m5JBVaHUXm1fgUuveth1BtFKNI8vO6WCTUOJjEK+ZVi+CMWtMYitMMJdtfKAKcZSAo5qvx+Q2ssXmuNMTNbSivmnjzDkUjJnxSo7Gww==; 24:eaAnOesi8e2yqsiahI6yqPzLlpOFdAZ1qWNnXClvQ5zXnPskKA3P6PMoBkToOwsFdULp/gylZ/P/tSNT1pRTJi3QTDGnPgTFUFIqI8l6IxA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO1PR02MB047; 7:gTuR/V59cnnrjlt0QWW3a6QkRFjTaeqVDiP3EqbhbCB58jCIAk6vroeybpUmovyS7+HUmOcMmL93Eef4V3tzZAPZ4QEUo+Xeu/Jt+99LP2lJbidlfkurhv40/aT6FUEXfN1GNtR1OBL711IGrbyWHzJ5uSPhdhFYmN7DhTVaxt2XCB507qUPjhujct01xr+GhoiUoZiMARSYoBswSaOdKev0BRJTZO+AdRg0UYtR8i3zMDFd1g40cLVNv8rf/5b+ycSGop/2eLnQemTmTK6mbkEreX2HXJUzFJH4yqjPplaNoEGCFYzS9IidoARmf7vgRqoKuocBHxEs0CqMVOrRRebkRqLy0dXCuLHtV4AcIXDV8oqvi7LloAD86G9iwchQIqK9ntMNk0gELL0bLggqebrZzhvuTe3uGBAYbDDILjK6yMzr0NePLn0xH0QSkxcJbNCfgY4iyEsFAh1x6zAxEg== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:45.6048 (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: CO1PR02MB047 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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
Reduce the kernel size by only building dma_noop_ops for those architectures that actually use it. This was suggested by Christoph Hellwig. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Joerg Roedel <jroedel@suse.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Christoph Hellwig <hch@lst.de> --- arch/m32r/Kconfig | 1 + arch/s390/Kconfig | 1 + lib/Kconfig | 5 +++++ lib/Makefile | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-)