Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2008472ybe; Thu, 12 Sep 2019 03:05:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXeDcomRp02xfriVu/LosCvXm/fT04qOZoQe0aoliMdDLnq0KjH506D8mnz296py1nnDbL X-Received: by 2002:aa7:d317:: with SMTP id p23mr26042686edq.17.1568282734959; Thu, 12 Sep 2019 03:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568282734; cv=none; d=google.com; s=arc-20160816; b=VyPw2wK/+Mu2yrdp3/KIb4amkWSc+Eu8Wc3/vIdtWhRVvixc7PpUJL4PJN2ww3rsPY 6kU/yFOQ9jrCIYfGQrzO9e+3lqcpuq9Y9pz6u21GokCp078lzHKm2f5QH5YGtVPhIpBo RRXwLiy59HTH22Rvj61+KloJISA7FtmbahNjSHMIoO+NI88TfH7aTiIULSB1xqM3lWNg bvEsduQeTF6FH1MNE66tmKQZOlDtlepxlrgMERtepiT4re0qLFtdGcX34i01BiaGqpk0 EKB3k2jMB8OooFcSwjO0IMjYszliOQD/zeWLU4g1BIsF0++smOOABd8Zkg88olRH+vhU WxLQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fKTvRv6acI6xTKbQcP4YowzP1qiooahYb40b5oOq4F8=; b=EZ0CzMS+43DxyyBUMWLj6GSlbD3lv2TLNNtNuhb02LMLTUuLE017b7vIy10o6ieBRv 2jMg96UAQtwTaswBzgZBaVNySX44tJ5cWClnSIxF7lFrM/cglLG6Vsk11bWBQAUaNVwR 7aTy/9Z4pgWQJNYS8mDKLU+XpvSYg3/0ZAbp4ZewZyQynYxcPEYtLyAEqm9f3eH9ci+H Ql94Xg0Sn/snK4sgm5ODL3eJz0vmqQDA0oxF6+NfJYVINZKBQBt0kO9WQF55Namva3yc Ondjrqmw7HTDODU8Os8061WjkdefjTtRsytmsAKdkEqKnyCxuJULkkMjjf/W7MDhOOkm QtOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=LVfeEOZx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si15625842edz.299.2019.09.12.03.05.10; Thu, 12 Sep 2019 03:05:34 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=LVfeEOZx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730951AbfILKDS (ORCPT + 99 others); Thu, 12 Sep 2019 06:03:18 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:54698 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730580AbfILKDR (ORCPT ); Thu, 12 Sep 2019 06:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fKTvRv6acI6xTKbQcP4YowzP1qiooahYb40b5oOq4F8=; b=LVfeEOZxnZs9uLcyFI5eOvY0Y sHTEK9YhOvAX4uoCWNT+ZXbnxfhjIhq2IKF2WPB/K+pwwTogjzyHr3njGvltSjsEbrN61/dsd2zi4 HckiBBMdLRqYpztgOJOcJ7f7J8msc14CMj0ZugjpX/Bei6tDG7lgmfhnL7/OXspPSXlWk=; Received: from 195-23-252-136.net.novis.pt ([195.23.252.136] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i8LwT-0006Tr-73; Thu, 12 Sep 2019 10:03:09 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 7DAE7D00AB0; Thu, 12 Sep 2019 11:03:08 +0100 (BST) Date: Thu, 12 Sep 2019 11:03:08 +0100 From: Mark Brown To: Arnd Bergmann Cc: Amit Kucheria , "linux-kernel@vger.kernel.org" , Linux ARM , arm-soc , Bartosz Golaszewski , Catalin Marinas , Kishon Vijay Abraham I , Liam Girdwood , Linus Walleij , Lorenzo Pieralisi , Michael Turquette , Sebastian Reichel , Stephen Boyd , Will Deacon , linux-clk , "open list:GPIO SUBSYSTEM" , linux-pci , Linux PM list Subject: Re: [PATCH 0/4] Cleanup arm64 driver dependencies Message-ID: <20190912100308.GJ2036@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2+N3zU4ZlskbnZaJ" Content-Disposition: inline In-Reply-To: X-Cookie: Be careful! UGLY strikes 9 out of 10! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2+N3zU4ZlskbnZaJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 12, 2019 at 11:29:00AM +0200, Arnd Bergmann wrote: > Generally speaking, the way that works best is > config SUBSYS_DRIVER_FOO > tristate "SUBSYS support for FOO platform" > depends on ARCH_FOO || COMPILE_TEST > depends on SUBSYS > default "m" if ARCH_FOO > This means it's enabled as a loadable module by default (use > default "y" instead where necessary) as long as the platform > is enabled, but an x86 allmodconfig build also includes it > because of COMPILE_TEST, while any configuration without > ARCH_FOO that is not compile-testing cannot enable it. Indeed, though we shouldn't be adding any default m/y to things that don't already default on. --2+N3zU4ZlskbnZaJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl16F9sACgkQJNaLcl1U h9Ci2Af7B7FanodOlLyNC/81WlZgesS4wjgnyaCyQT3+zuq2s1GhWqi5hjCHjEoj ETYClFdHppnDJyaZOc5r5Qsfc70PFx9yOhfW+CCj+HSKr5t+vdCBUDgvt3g96iOD 7ysX9c0wyFOkUrz925HBBAiQ0itApHDy/4T8RvruV/N3AfDWO/PWIEbycIXIoFez 9v3E3yq5VgiiGY6zrOY8eWXWDGCkGvyxNef+b5QfezQ9KN64Z4MxaQ1gIVv5e/3Y 8D2CLhuuyEhs17nVO8SdkWi9n2XTFO0WrKgw+clKE42DwYTQvaeT82ZDO7QKF67t UTzhdPw57kbA4tBu966JVyebsrMBMw== =+Vyp -----END PGP SIGNATURE----- --2+N3zU4ZlskbnZaJ--