Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4847672imj; Wed, 13 Feb 2019 02:03:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IZZ9UHGJ97y5nKfQFgPO1ru8Ml25TIsYQuLmOotgprvhkGmuCcdK6kMgQ++YPtBgTW88ic8 X-Received: by 2002:a17:902:45:: with SMTP id 63mr8692486pla.272.1550052214857; Wed, 13 Feb 2019 02:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550052214; cv=none; d=google.com; s=arc-20160816; b=gAyDvzwAv0zQZlH9YZoGNP/4uv1YEuOmhcofLre7BAgM3fKu3Dku3r6lQEuako5oqf mlKZa6FVeCLSGWocuo7/gyb1+Nvh55N0EdAV4HKgytmCFnAex4jOM7obvpHZ7b4lovDk 5szcvNUN0tFoFe9+UBI06YlhRzQ+h0AdtFCuwuNhoTsOgaWWLN3FLfz4a/dY4BLBsf3U GGxH1pv9qyC5GuBpG+5iND/570SnNsLnpFz+j8E6UC4vAW6rjI0QBF2RhZMojhqOokVM q0AmphxRUrabnKorXpI/pn6XM+LhjUmqmmsxXEzHBvoQIGXJypJAcsyATMt3hE/J2DmY ccDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=p1ubNWXGHPnF8cNyX5xYmowXhYPVRyQWPlZNKdwfTas=; b=KUKUQc80Llq7XyMxyVkNzAnoxPCPjcIeoDj7xU64beHGu3g2paRLPJGmfKBde16mBT KedlNEH8qrnwESEDuCT1N4PRsskSonPfVe/NURDpRnLtWNfjhBYtMX7LNRvkdPThEonX lxGaTKsimxQUviH9bSWQKMhuwdZb7LXYwt7rv5FigVXp2ZQ+DBX5jWMxJk/zczENxpfU 7Md1AvxfnxJZkWO19Du41RfqSw53HyAWp52APATQfZYaw7giv/sqbcjWDbYP4ZySIYFN y3ARH8//bvaRQtiywqd8Ybk68cO2qbO0OJamLSUzesYkyUuIh2ofq7Lh6adSPCsFtE2i SMwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hKu2VKHT; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si587554pgl.117.2019.02.13.02.03.17; Wed, 13 Feb 2019 02:03:34 -0800 (PST) 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=@linaro.org header.s=google header.b=hKu2VKHT; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389617AbfBMH3g (ORCPT + 99 others); Wed, 13 Feb 2019 02:29:36 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36265 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732822AbfBMH3f (ORCPT ); Wed, 13 Feb 2019 02:29:35 -0500 Received: by mail-wr1-f68.google.com with SMTP id o17so1275325wrw.3 for ; Tue, 12 Feb 2019 23:29:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=p1ubNWXGHPnF8cNyX5xYmowXhYPVRyQWPlZNKdwfTas=; b=hKu2VKHT8ANYSMZfbVUfV7u6JKn6aZ8519m5/Q+ilXS/t8uBxsgQi92Uvx0cchs0k6 0GS0R8muSud7PJBYF6mhzHEBfe9kHAnBnFfxPan9BeHGfzI//T9ez9hqA3oo816RRmZW wpYHbtKPgeW+Ifb3dvO/LCCJgnFyIF4Rj5sXrvmMVbgCDp3Cd5JuqWaO5h2+dhhJag22 rf+lcITHUlTRnVPG0zKzo+0KtAz8LJKbeIrmRs8fVe5sfktMNzOu0VCf0FAn+CSFdDBx KCnYic2FHcgfPwIGxWieKHFvujUmy2bI44eRBnrSvNtkc+swOHwWm7gkl9cWoGDlDU6G LxHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=p1ubNWXGHPnF8cNyX5xYmowXhYPVRyQWPlZNKdwfTas=; b=mCk3CNEMxUE/QiSAdzuSC9TTDuriq9YTed9XgTde9M2+t4S7whaRsjIpBmfBcRFaFG QOFEzZKVDiMRCcG4BIHp2hMUE0nj+VOYy2pCDnjpSBcb7DVH7RbsFHaqM2dFBmwc+Zg3 VsxttF8lLgN1h5xobTP+CobWVLolurHQRQY1BT7HSnO6Ce422TtlSkNPJJlAfM+hzjuQ MfjM+OMoTcbhXCV/kcnz4wfR7csgLWWMYEahs5yMphLPQ7w1vx41agdZgP4+0O1TCoVZ EYUcBGM7pMIvx7nW0fpQuWp1J2qQHfAT2Q7ESV6L45y0au0c6b/d4MkP9eaDxBGzc2tW bgSg== X-Gm-Message-State: AHQUAuYmhmh0VIzJvLJCuZMznl5bfiApBF0M7SR3E6OOpGSUqzk4Gq/P 0VaGMaBwbBCeeBdmQmSrO+EMFjfYS9Q= X-Received: by 2002:a05:6000:6:: with SMTP id h6mr5767032wrx.68.1550042973913; Tue, 12 Feb 2019 23:29:33 -0800 (PST) Received: from dell ([2.27.35.171]) by smtp.gmail.com with ESMTPSA id q24sm4487482wmq.16.2019.02.12.23.29.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Feb 2019 23:29:33 -0800 (PST) Date: Wed, 13 Feb 2019 07:29:31 +0000 From: Lee Jones To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Greg Kroah-Hartman , x86@kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-xtensa@linux-xtensa.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/12] mfd/sm501: depend on HAS_DMA Message-ID: <20190213072931.GD1863@dell> References: <20190211133554.30055-1-hch@lst.de> <20190211133554.30055-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190211133554.30055-2-hch@lst.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Feb 2019, Christoph Hellwig wrote: > Currently the sm501 mfd driver can be compiled without any dependencies, > but through the use of dma_declare_coherent it really depends on > having DMA and iomem support. Normally we don't explicitly require DMA > support as we have stubs for it if on UML, but in this case the driver > selects support for dma_declare_coherent and thus also requires > memmap support. Guard this by an explicit dependency. > > Signed-off-by: Christoph Hellwig > --- > drivers/mfd/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index f461460a2aeb..f15f6489803d 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -1066,6 +1066,7 @@ config MFD_SI476X_CORE > > config MFD_SM501 > tristate "Silicon Motion SM501" > + depends on HAS_DMA > ---help--- > This is the core driver for the Silicon Motion SM501 multimedia > companion chip. This device is a multifunction device which may I would normally have taken this, but I fear it will conflict with [PATCH 06/12]. For that reason, just take my: Acked-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog