Received: by 10.213.65.68 with SMTP id h4csp1270402imn; Sun, 18 Mar 2018 22:29:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELtzC2NVNjCYmQ294+ub7uZB/dSNXM+y4uK8k6+Xs057TUw8p0YL1x9XeAI9O6Ta60a0oLOl X-Received: by 2002:a17:902:f24:: with SMTP id 33-v6mr11086685ply.242.1521437386123; Sun, 18 Mar 2018 22:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521437386; cv=none; d=google.com; s=arc-20160816; b=MXJILViHMbaH4QHuxMk+uw+l4PQL2rhF4rUDmgCxsci/IBxHAENNsm2rMOYirg3zG+ vFfg3H5L4V6ynlrUrVAj0QESLb4hVPcD2z1CFUiKq3hDSFir/QYOL8ZAeOGmMPwI6yr/ ltDJ8PSmKwRq5HBdRzFoKAb3YskOly0+r0XkpYIRxlHr0MplsFcfSVt2ojPovR/83U0v w1+bPt3nukr12zlFQfxNUNHO8zyQeMydu9Y5YqV+5hlIUXu1yYEXRxsipSpnlwMnrSji aCqRg/6v25wgJ7nl34czNlztm/o4JO7axSI2cbUghs1gl2gtEV/j+U+vi/7Y1+1z1cfk lYow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Y2C8EH69TwLc2NUa9fzJhAZlCgKvPST/G/k126jyD8Y=; b=w0CjjNVKma6H/847IvFMty4lqJIFaXI0Bgr+yZ6vbS/Ner0Aot0xo+HH5UCkEstcJl Ggbz7ZygWfMGAoJfJWOvowrlP6gxcNq/9SD73Kgwd917BMAOzsa3S2Tgl4Q3dD2W06mj neQCpYZaYJ0cYfOBYCT/8bi6yNi4puBFiEnKalHkU2il2kAiagcVJhSEI61jfJnFrJy2 kC2D55/tS/YsO7kUFIl/g9UnEiOhAequA+BB0HC8JulHaeIu5pjyO+6CzZz/vBJCaYtX H84jQfes6TottDaOsYpd7URN8sRGOGkoHgvHDlGLxEwMNYp4N3lR2fF9LOXhOu1EDHs9 Zljg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=eq6MW/X0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3-v6si12519940plk.11.2018.03.18.22.29.29; Sun, 18 Mar 2018 22:29:46 -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=@nxp.com header.s=selector1 header.b=eq6MW/X0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755215AbeCSF1g (ORCPT + 99 others); Mon, 19 Mar 2018 01:27:36 -0400 Received: from mail-he1eur01on0044.outbound.protection.outlook.com ([104.47.0.44]:32157 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751084AbeCSF1Z (ORCPT ); Mon, 19 Mar 2018 01:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y2C8EH69TwLc2NUa9fzJhAZlCgKvPST/G/k126jyD8Y=; b=eq6MW/X0fz9chVSfhdGXUUTMHYZpXWOg+tYWh0w3C45g/YXpUfv/Xc5vKytVBuHuFYn90lk/hI+e6nOTtIj9sh/XLLN0VUaBDv8TU/i+dMkdy6PpGvBZmFXwAk0W7JWRlO2/LNpS/XDsU0cm1jKgOdx9GBSpedz7huc8oeStWMM= Received: from AM5PR04MB3267.eurprd04.prod.outlook.com (10.173.255.148) by AM5PR04MB3298.eurprd04.prod.outlook.com (10.173.255.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Mon, 19 Mar 2018 05:27:16 +0000 Received: from AM5PR04MB3267.eurprd04.prod.outlook.com ([fe80::b12e:292d:f037:6df4]) by AM5PR04MB3267.eurprd04.prod.outlook.com ([fe80::b12e:292d:f037:6df4%13]) with mapi id 15.20.0588.016; Mon, 19 Mar 2018 05:27:16 +0000 From: Madalin-cristian Bucur To: Geert Uytterhoeven , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Felipe Balbi , Greg Kroah-Hartman , "James E . J . Bottomley" , "Martin K . Petersen" , Andrew Morton , Mark Brown , Liam Girdwood , Tejun Heo , Herbert Xu , "David S . Miller" , Bartlomiej Zolnierkiewicz , Stefan Richter , Alan Tull , Moritz Fischer , Wolfram Sang , Jonathan Cameron , Joerg Roedel , Matias Bjorling , Jassi Brar , Mauro Carvalho Chehab , Ulf Hansson , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , Boris Brezillon , Richard Weinberger , Kalle Valo , Ohad Ben-Cohen , Bjorn Andersson , Eric Anholt , Stefan Wahren CC: "iommu@lists.linux-foundation.org" , "linux-usb@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "alsa-devel@alsa-project.org" , "linux-ide@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "linux-fbdev@vger.kernel.org" , "linux1394-devel@lists.sourceforge.net" , "linux-fpga@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-iio@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-media@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "netdev@vger.kernel.org" , "linux-remoteproc@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-spi@vger.kernel.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency Thread-Topic: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency Thread-Index: AQHTvTbO3Fftc0MO9kygVrbe1wAP/aPXCvPA Date: Mon, 19 Mar 2018 05:27:16 +0000 Message-ID: References: <1521208314-4783-1-git-send-email-geert@linux-m68k.org> <1521208314-4783-11-git-send-email-geert@linux-m68k.org> In-Reply-To: <1521208314-4783-11-git-send-email-geert@linux-m68k.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=madalin.bucur@nxp.com; x-originating-ip: [5.12.214.30] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5PR04MB3298;7:bLmoim5jZIV0JNynrlAIp1OacylTpscoTL5TBedb/4D70q7iNo5Q3pD46BOWiFq67JGCp/jVCPheVeAy6Zdl60b454ZIW2mZPDqegQlbNf6LA2BUaMsoIOdc9DJQZPceS9hfMJK10SNq5oQBlEDbqSJ8mD3w/njOJlKv4RY/BNeKV/YG3U/3vpTs3aIixNK9+jnTxL8U9Z3VvqKHdrlVHJwzh4HXof3bqgkhLIBZHlkgABpcQPcx/l6iYA/J1UCN x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9def5907-190c-49e3-3497-08d58d5a13fd x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:AM5PR04MB3298; x-ms-traffictypediagnostic: AM5PR04MB3298: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(143289334528602)(180628864354917)(9452136761055)(85827821059158)(258649278758335)(42262312472803)(58145275503218)(104084551191319)(146099531331640)(7411616537696); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231221)(944501300)(52105095)(10201501046)(6055026)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:AM5PR04MB3298;BCL:0;PCL:0;RULEID:;SRVR:AM5PR04MB3298; x-forefront-prvs: 06167FAD59 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(39380400002)(39860400002)(396003)(366004)(189003)(199004)(57704003)(13464003)(5660300001)(2900100001)(74316002)(97736004)(8676002)(54906003)(110136005)(81156014)(81166006)(7736002)(305945005)(8936002)(14454004)(59450400001)(26005)(53546011)(68736007)(6506007)(6436002)(7366002)(7416002)(7406005)(3660700001)(186003)(102836004)(478600001)(71446004)(53936002)(99286004)(66066001)(2906002)(2950100002)(9686003)(7696005)(6246003)(3280700002)(105586002)(76176011)(5250100002)(6116002)(55016002)(39060400002)(86362001)(229853002)(4326008)(3846002)(33656002)(106356001)(111086002)(316002)(25786009)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR04MB3298;H:AM5PR04MB3267.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: VK9CN+fvvtL3xdJ2wRkfu1Wi8p3LnG7QfDeP4k6en8RsfUhLkxC+f9SKlg6oV/aTS27qiXMbwqtObcBX9DXrFJMMKLxbnbRXjw6q1I+HPPka/t6DBpk/H5f3LOTHdlARHvjNEqwKFjyITFWj0cbcUJdWGhkEvW1BxQzCQV2v72eCtskhoDnxNBqnZoaGqoJ9lgpKczO7+3bCQ6pMuHWcsVNIr7oUP5FHFZeEDYZPY8nip0ArK/rZtgAbMiPjruh9MEoW4KwsihqtAyX2sRKZzWxHDpCmc4ZL+DwxWn/iRHdQuk7PyrVkNPZuH8bAe9anyeDgxObQ8IxDudFkAF207w== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9def5907-190c-49e3-3497-08d58d5a13fd X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2018 05:27:16.2696 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3298 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] > On Behalf Of Geert Uytterhoeven > Sent: Friday, March 16, 2018 3:52 PM > To: Christoph Hellwig ; Marek Szyprowski > ; Robin Murphy ; > Felipe Balbi ; Greg Kroah-Hartman > ; James E . J . Bottomley > ; Martin K . Petersen > ; Andrew Morton foundation.org>; Mark Brown ; Liam Girdwood > ; Tejun Heo ; Herbert Xu > ; David S . Miller ; > Bartlomiej Zolnierkiewicz ; Stefan Richter > ; Alan Tull ; Moritz Fischer > ; Wolfram Sang ; Jonathan Cameron > ; Joerg Roedel ; Matias Bjorling > ; Jassi Brar ; Mauro Carvalho > Chehab ; Ulf Hansson ; David > Woodhouse ; Brian Norris > ; Marek Vasut ; > Cyrille Pitchen ; Boris Brezillon > ; Richard Weinberger = ; > Kalle Valo ; Ohad Ben-Cohen ; > Bjorn Andersson ; Eric Anholt ; > Stefan Wahren > Cc: iommu@lists.linux-foundation.org; linux-usb@vger.kernel.org; linux- > scsi@vger.kernel.org; alsa-devel@alsa-project.org; linux-ide@vger.kernel.= org; > linux-crypto@vger.kernel.org; linux-fbdev@vger.kernel.org; linux1394- > devel@lists.sourceforge.net; linux-fpga@vger.kernel.org; linux- > i2c@vger.kernel.org; linux-iio@vger.kernel.org; linux-block@vger.kernel.o= rg; > linux-media@vger.kernel.org; linux-mmc@vger.kernel.org; linux- > mtd@lists.infradead.org; netdev@vger.kernel.org; linux- > remoteproc@vger.kernel.org; linux-serial@vger.kernel.org; linux- > spi@vger.kernel.org; devel@driverdev.osuosl.org; linux- > kernel@vger.kernel.org; Geert Uytterhoeven > Subject: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of > platform dependency >=20 > Remove dependencies on HAS_DMA where a Kconfig symbol depends on > another > symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". > In most cases this other symbol is an architecture or platform specific > symbol, or PCI. >=20 > Generic symbols and drivers without platform dependencies keep their > dependencies on HAS_DMA, to prevent compiling subsystems or drivers that > cannot work anyway. >=20 > This simplifies the dependencies, and allows to improve compile-testing. >=20 > Notes: > - FSL_FMAN keeps its dependency on HAS_DMA, as it calls set_dma_ops(), > which does not exist if HAS_DMA=3Dn (Do we need a dummy? The use of > set_dma_ops() in this driver is questionable), Hi, The set_dma_ops() is no longer required in the fsl/fman, I'll send a patch = to remove it. Thanks > - SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_PLATFORM loose their > dependency on HAS_DMA, as they are selected from > SND_SOC_APQ8016_SBC. >=20 > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Mark Brown > Acked-by: Robin Murphy > --- > v2: > - Add Reviewed-by, Acked-by, > - Drop RFC state, > - Split per subsystem. > --- > drivers/lightnvm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig > index 10c08982185a572f..9c03f35d9df113c6 100644 > --- a/drivers/lightnvm/Kconfig > +++ b/drivers/lightnvm/Kconfig > @@ -4,7 +4,7 @@ >=20 > menuconfig NVM > bool "Open-Channel SSD target support" > - depends on BLOCK && HAS_DMA && PCI > + depends on BLOCK && PCI > select BLK_DEV_NVME > help > Say Y here to get to enable Open-channel SSDs. > -- > 2.7.4