Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8005212rwn; Wed, 14 Sep 2022 07:38:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR5+yfwBxgnxw4TqXF1exCR0uPHblvzyptVfkGy8nuaWsxRggbegix2GHmaunm8Fgk8fsQkt X-Received: by 2002:a63:1a23:0:b0:434:4395:8b5a with SMTP id a35-20020a631a23000000b0043443958b5amr31420418pga.428.1663166282342; Wed, 14 Sep 2022 07:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663166282; cv=none; d=google.com; s=arc-20160816; b=TNZJ1ThxKF+bldTzZCI3tFWeHkfIPRdMGMdJQ+/+OgFvwBzTwDIwdZUBNpxPOokhNo pBsLmZYEZIPFf7PDGsuv62HmtZsHIwJIFigwyFG0thXY2glznODblH9UL9+dY0jctQfK 19keZ4562RP8YzM3Xh5kd6LO0ZmxtDOiGpfEuGZFnNu26SpKttWCEafLRqWYfE17pGRJ GGoulMqNp6afgPP7dR830K2XwR+BBmPHaBDbhT44YXUhKan05YmWGHHl696SFTgeExNi 7rRno9ayvlEsjBSmsb7+tj4lJ6J9VdnVVbMhYbgs6mOLhArk5ljupSdph54JctqMTMFK jy5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=0UwiLm9wU3WSNfSxDyHppyIXzHYDWSLCX7HdL5pdjGA=; b=smzLX9ZlYUNY3/sZf5wWIeJ/kUAo3M1yQNxCFlx8qEPuNH5d/h7V+IbL36Xk5OMUX7 2kOB3euIVr9N0JnNvzWBiUwfqUQleY9S1y7kw4fkG2BubZCfcuSrIRlvihBOG2hEddc6 YVBzY02v+d2BRXsfoWTLmqRMTA0XF5Wn5SFejnuD++jN6NYdz40SMoVVJ/3rU8akNNkC X0gn/1MeRFhoKOzz7Os/iQQZXdme2evTv+Dk0SdiGSqfu+50z+jI7bX7jHk7q2pUCfhu rWU6coE02klHVgmCej5gEOO9xI0CNp14EGhEwh+f9q2zy/0V5e2dgwvLGbzt3MlvUfHu LvyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=U8HqBi9P; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=kY8Pbjar; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g14-20020a63200e000000b0041c506dde92si2793914pgg.636.2022.09.14.07.37.50; Wed, 14 Sep 2022 07:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=U8HqBi9P; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=kY8Pbjar; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbiINOdr (ORCPT + 99 others); Wed, 14 Sep 2022 10:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230146AbiINOdh (ORCPT ); Wed, 14 Sep 2022 10:33:37 -0400 X-Greylist: delayed 178 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 14 Sep 2022 07:33:35 PDT Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5CB2C125; Wed, 14 Sep 2022 07:33:35 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 6A99E2B059AB; Wed, 14 Sep 2022 10:33:34 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 14 Sep 2022 10:33:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1663166013; x=1663169613; bh=0UwiLm9wU3 WSNfSxDyHppyIXzHYDWSLCX7HdL5pdjGA=; b=U8HqBi9PfsGkfsCdkrz12F+ZAc 0cDBzVgonGcmcjSkr4ufqkTjDbFfL+iykG8prjDotuDt9xGH1BidESVImJmytVUU DGdHM+ct1xwQaeQ9jvRHGniTW49a4WSdOKqYuy40WAtuunl6xhqpHNkCeEZ9nwiJ v/apP+JayoIOeb88koFTXLQGH1GHrHSwiprrv2gPNNg1mENDVPW0bnDgTaTl3iEN LkJeowub6uYfqaogrZdkjwatc3N4sKVVHUYZjIqMDrTncNgoFyj1GLsAOW+Gbr+/ DdTkNyXr5wyJbixWuW88qeU7SfwBteAJ0/B1VpfMdVq8urlk7FvnxRoXK59g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663166013; x=1663169613; bh=0UwiLm9wU3WSNfSxDyHppyIXzHYD WSLCX7HdL5pdjGA=; b=kY8PbjarEfWRSC0PCGKMCFhPOEFU9xjnQSuLRvepFcxi MDZt5RTJvqtetLam3jL7Bf60+2rUoevFWdGTOKK5CYATmXtIWuO3gj3uDnQ7JTmX mjh7gMEYza6vCcRLv/9XszYzFrduAi92m+IsHcQ3ghzs8JxGvfb/Y/LRqulDIKF0 Ow6jfbDoxVBs+xyVbbNKzqJ+cgwPPLjul2S2NukfBXm7kRvm63LOXnwaLJMa1uLD ocR/sSBihW44Oi1QhfpCah0jXdEy630ICrVtN3Ks/lQJtlFOL2Iz9PxehI4tezo2 wsNpnsDTjp0G/GONo1NnxGuB5lzuAQEuI+WuBtBNpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduiedgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7A394B60086; Wed, 14 Sep 2022 10:33:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-934-g6274855a4c-fm-20220913.002-g6274855a Mime-Version: 1.0 Message-Id: <0485fd4d-21f3-4972-8667-91959180e60f@www.fastmail.com> In-Reply-To: <20220914142713.29351-2-lukas.bulwahn@gmail.com> References: <20220914142713.29351-1-lukas.bulwahn@gmail.com> <20220914142713.29351-2-lukas.bulwahn@gmail.com> Date: Wed, 14 Sep 2022 16:33:13 +0200 From: "Arnd Bergmann" To: "Lukas Bulwahn" , "Linus Walleij" , "Russell King" , "Catalin Marinas" , "Will Deacon" , "Damien Le Moal" , linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ata: make PATA_PLATFORM selectable only for suitable architectures Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 14, 2022, at 4:27 PM, Lukas Bulwahn wrote: > It is currently possible to select "Generic platform device PATA support" > in two situations: > > - architecture allows the generic platform device PATA support and > indicates that with "select HAVE_PATA_PLATFORM". > - if the user claims to be an EXPERT by setting CONFIG_EXPERT to yes > > However, there is no use case to have Generic platform device PATA support > in a kernel build if the architecture definition, i.e., the selection of > configs by an architecture, does not support it. > > If the architecture definition is wrong, i.e., it just misses a 'select > HAVE_PATA_PLATFORM', then even an expert that configures the kernel build > should not just fix that by overruling the claimed support by an > architecture. If the architecture definition is wrong, the expert should > just provide a patch to correct the architecture definition instead---in > the end, if the user is an expert, sending a quick one-line patch should > not be an issue. > > In other words, I do not see the deeper why an expert can overrule the > architecture definition in this case, as the expert may not overrule the > config selections defined by the architecture in the large majority > ---or probably all other (modulo some mistakes)---of similar cases. > > Signed-off-by: Lukas Bulwahn Sounds reasonable. My best guess about the intention of the EXPERT dependency is that it would be used for users with third-party board files or dts files referencing these. We can't really help users with out-of-tree boardfiles, and the external dts case would be covered by your patch 1/2. Reviewed-by: Arnd Bergmann