Received: by 10.213.65.68 with SMTP id h4csp434238imn; Fri, 16 Mar 2018 07:39:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELsrelmfeQqTWrhXGa6visT7BPK1TQwyI9S9VrLs/enFt51FGeMyYrioqdBJZqFg8Kgf3N+r X-Received: by 2002:a17:902:2e43:: with SMTP id q61-v6mr2386874plb.404.1521211196728; Fri, 16 Mar 2018 07:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521211196; cv=none; d=google.com; s=arc-20160816; b=uKGp6iY6DFh3HjlZxErGTUueOOE/kYsKuPheQxFpSO9ptYYp8Ha7pLXvs+8YNFv7T2 AMKqhs4lEj2llo7nv7XyFYk4zHfW82J2dP8yIyeZhvcIk0pM3CW3Z38Wi3IU83UQM7Nz mVIgAB6vQdEkdk1cY5fqMQzZ2+5rYnbFnxefUEX+IjPEUJtb845VJ5etoLYDkUvnIwsz tQq3pVZislydiIg6bmpOppsbCUd7KmQIulT9SM0tBU7FVagpYrTkK80Y4Mk/sehgVZo5 MK8AI3pVoOkscCJMV28z+Qc5xtqzQPnFKUGRud/aFY+T6Ae7xBf2jKK98tOZBnzmPTom nKNg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=07kED9YisylQ4J6upLjR1oBhMVnz5L/WtNMAx8wLunY=; b=AApriJAnhDN1LgpEkyOeqpeHoUrtLk+VUzJ7fn1cVsr+rjCY2fjfNKTznh73YgdQeM Z4IJ0ebrGDHfSZoxMPPi5cIutcNptrEI8v5++3R8INxu2zJPhXfmap3PQ/NnfgKOefVm tjhMy6ewGdJ98CEINU4uoqqHO0zb6RnCe37ytTlq3moAXvRPgS5cmVQtLAoyKrZw5cBw zVfbQGauchLJnASNc/14xuR3qajirDr9Hc012Ww7cNKQdmanvI39clERwYmed9NIqZvE gKAOStfwU0tkjNXT24qvLlSL6kU4DcW9zRacNk3nSdrwnDPlUKcg5qlCnxxnOtxh/J3c dDxg== ARC-Authentication-Results: i=1; mx.google.com; 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 v186si5661082pfv.21.2018.03.16.07.39.42; Fri, 16 Mar 2018 07:39:56 -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; 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 S1752322AbeCPOh1 (ORCPT + 99 others); Fri, 16 Mar 2018 10:37:27 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:59882 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751334AbeCPOhV (ORCPT ); Fri, 16 Mar 2018 10:37:21 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DA04F2788756B; Fri, 16 Mar 2018 22:37:12 +0800 (CST) Received: from [127.0.0.1] (10.202.227.238) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.361.1; Fri, 16 Mar 2018 22:37:10 +0800 Subject: Re: [PATCH v2 17/21] scsi: hisi_sas: 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 , 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" References: <1521208314-4783-1-git-send-email-geert@linux-m68k.org> <1521208314-4783-18-git-send-email-geert@linux-m68k.org> CC: , , , , , , , , , , , , , , , , , , , , From: John Garry Message-ID: <0786b588-f165-6f71-7ede-7c26a27becbc@huawei.com> Date: Fri, 16 Mar 2018 14:36:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1521208314-4783-18-git-send-email-geert@linux-m68k.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.238] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/03/2018 13:51, 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. > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Mark Brown > Acked-by: Robin Murphy Acked-by: John Garry