Received: by 10.213.65.68 with SMTP id h4csp1035532imn; Sun, 18 Mar 2018 11:54:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELubnvxk836ILKoa9ZRWdLUELr1iIqy3r5xb+biMvpSlFyIBK95W2Ok8j1Zx+7GtpafMhkrS X-Received: by 10.101.67.198 with SMTP id n6mr7154193pgp.150.1521399295675; Sun, 18 Mar 2018 11:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521399295; cv=none; d=google.com; s=arc-20160816; b=W2oNRZcyGFWHk3w6A66uaOn44B6atfQHmd2HsBCI3nPltAcQhDF+9mDHsM3R1noaQT pr9QMLgxxYAqMF1MdR6R8EEogJ5IU08yRe9G39iqL9XDrfo5Fc78JGaqHB20prG8WWIE YqfdAzT7zZ+MCbPDyLMyP5IeuLRo50o1D7QDmKipo34PDxmHZ80j1dw9QdOWx5idJDdk XVGf/vFVdwuRbokFcojkuvsLYymNT6zXW4IhP4+4QPgH97MwFsHV6TIZ3mn8XXcl//oE zzfYvRD8ROBgZYxZwAqCk67BA39XMSQUFTySxNhquydO/b6XMiCK4MG/3kq2Il061Azb Qbmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Og7X/rl3kDVLhesEnkKjOJ+h6/NpuyIJgWyttam9V0g=; b=pBJhsvu0yc9nQKG+SdOKwhSTYRhhKJ/1jGY4Xp3TI4qCBetw1qw8u0bPkq+Y7t9Dm9 fNrsHO/uQbb18Een1UYANuo6ZAy+7xmMkFu5y8H5r2hD59PMabPx9+K0rs2ipVxUGS5O qSRi6/mX8Da9QpG1m6cvhFqgcxDjNnRmAA3U6SjkoQ6oACfJkVh6NKqBJsLY2OvZEPPC FPC1De4YhhU97FQvlqjvKU6bI2fouQjgAVwrgFOzutOLH5ePFmeHb7NA7hCemNVfzlZR bFJYKZUc45dR+ZbpV9eFUax+Y/EWuiTG/xQ8+3hKxIo8cutJMaj4g+QUR+v2yaNhDhBo dwGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=fzGsJ6U3; 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 h14-v6si370477plk.706.2018.03.18.11.54.23; Sun, 18 Mar 2018 11:54:55 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=fzGsJ6U3; 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 S1754417AbeCRSqe (ORCPT + 99 others); Sun, 18 Mar 2018 14:46:34 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:37792 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754166AbeCRSqQ (ORCPT ); Sun, 18 Mar 2018 14:46:16 -0400 Received: by mail-lf0-f66.google.com with SMTP id y19-v6so22244878lfd.4 for ; Sun, 18 Mar 2018 11:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Og7X/rl3kDVLhesEnkKjOJ+h6/NpuyIJgWyttam9V0g=; b=fzGsJ6U3dvJRF2QJhrbUKpd+PVoLPflIMZaz+668VsFCm96cjOQvPdBUWn4VXnJ3xv UoKnNA76WTG2sMA7k6qlYJQyihc6b4jpJ3wagtdXy8QUjE7bExW0zTz+GwzqsVNOMbns jYkJ76Hx2dhqvMbP807OEy5jf6b0q5Pby7wTnppEpU4d+odGDw434ZM3OZjg5kp8I72D NUrG2rYpH9OtaybYZ0dLrYFlyU5Dvp+5na2t71ajOI7fI4guqUOjFNKl9ID1LYqijwaE OUIyB6T7eiH4Ix/+3YQdNtFaFw2GrUyfHBmu50vM497W/rti0xBhUGj/5KsCDFtqA1i6 dQPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Og7X/rl3kDVLhesEnkKjOJ+h6/NpuyIJgWyttam9V0g=; b=DchStkzdtgAjLtkr+TcwFwwrOHubDYoTc043gri9Cu8T5jkHzsxbbVQ98Z9GlCb3VV VD2SH6QyEvSUrUvvXJsp44//QvrSTCW4uMN2xlZAjYUOvF8HO2zfm3DQR2RPOHaWDUL+ tEYoUfFPnB7x7ByCK2INvu0n2y3jZpwCWGVJ+vvDZY4MABfLELuxTCvIqnIbj6/9FH/7 kZZq2+SVZ7QDYEuVzz1PxsfigjMtereUOQcGnBDzhOyX0+Jcjvm8u6tsNeXL0HO4K2kw TDhlL5piGBLWra18Sc4HRMbaPPnTiIXavdwKn+GRbVCLap/RHBO7UxFbHfBMUe6gIHuL hS1A== X-Gm-Message-State: AElRT7H/1s00i8+E1i0pdOizoCaOLABFwJbbrdpbhf6nbcjqI1Btg5eR ASWVD0EDZYSRLHfy6Naf64B4nYxOEJ0= X-Received: by 10.46.66.83 with SMTP id p80mr6390662lja.3.1521398775075; Sun, 18 Mar 2018 11:46:15 -0700 (PDT) Received: from [192.168.0.10] (x1-6-a4-08-f5-18-3c-3a.cpe.webspeed.dk. [188.176.29.198]) by smtp.googlemail.com with ESMTPSA id r13-v6sm2105717lff.87.2018.03.18.11.46.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 11:46:14 -0700 (PDT) Subject: Re: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency 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 , 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 References: <1521208314-4783-1-git-send-email-geert@linux-m68k.org> <1521208314-4783-11-git-send-email-geert@linux-m68k.org> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <319a2b17-f08e-7219-cf5d-08e2df81d55c@lightnvm.io> Date: Sun, 18 Mar 2018 19:46:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1521208314-4783-11-git-send-email-geert@linux-m68k.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/16/2018 02:51 PM, Geert Uytterhoeven wrote: > 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. > > Generic symbols and drivers without platform dependencies keep their > dependencies on HAS_DMA, to prevent compiling subsystems or drivers that > cannot work anyway. > > This simplifies the dependencies, and allows to improve compile-testing. > > Notes: > - FSL_FMAN keeps its dependency on HAS_DMA, as it calls set_dma_ops(), > which does not exist if HAS_DMA=n (Do we need a dummy? The use of > set_dma_ops() in this driver is questionable), > - SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_PLATFORM loose their > dependency on HAS_DMA, as they are selected from > SND_SOC_APQ8016_SBC. > > 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(-) > > 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 @@ > > 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. > Looks good. Reviewed-by: Matias Bjørling