Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1599076rwj; Sun, 18 Dec 2022 11:28:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ztxtcIOaDVjC7P8E+v4QNVGXskn3rpp1eUaH0eiu41OkUYkIwLOTWoXp/bDPdWI4Vnkb8 X-Received: by 2002:a17:906:1984:b0:7c0:8c83:79b8 with SMTP id g4-20020a170906198400b007c08c8379b8mr34110568ejd.53.1671391693804; Sun, 18 Dec 2022 11:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671391693; cv=none; d=google.com; s=arc-20160816; b=mDi3yy1Akth/AtY0OjYl4vJY0omIHtLBixhYW+a5KgCx4H8ggdhmVyFX0Wzmrplfhl JCQwYG/bxcK1QBtUPhNe+6iM/kGsnpVcnAxO5OtRsOLSq5KuX7cP+8Fw3kbIGlWT9Vv4 JyEMagPU+mlpMcyz36tJqCbXCD5aNEuqry8JWxJ/xrMxHdEWRlxZ4qIMiBrw50WvUKFf wklFGhVmQdfx+9uZY5qN1eJ0x8hJEI9j9mOQ/IZWdbHAERmQ9BISyhbUXCKJRjsbKR4j 2VlhbFvvaJszq2xbjMREXY1BCQRAHKiPT7yRUluhfn76FxkrjaDFcWwlDzKpkpFrfndG C8fg== 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=Lr3MWV45UBkC+Upx5XL3PAvGROvHCsXEucBbusCtnP0=; b=0Qb7z9nU423GeNdo4m5W5dl58v0ZUSMaztsX0wFmXRecZ8AwtxWwd9H9Y6JPwl8hkU 4WsU/GMj2G7sVaTgPXdWr7IGQRGSw265c73+prrq0BVqJkl6AWNcvyX8E4geXHSLsjjS mZ3Sa1W5+h83ZYfnGOBjdtqsIIf5kivuKvG7Fmk+OnTMVWwwOnNPnUxcAr3tPVTWd6Fi peW0odz5EBi/fQmUjsLlenKVjCOTEpv3JVWp2Q9tdnHmWGAUbOGzJZDBm1NrcA45UZ2Y 9zgPJut0CD9fG3jqQ/kCvxMxxbK+25ng99sJWgTP9cqkH+yH0zBMDQuYpWZ4lkJ0LFqM akBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=eJl4LtUI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Qh8aFDtT; 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 cs14-20020a170906dc8e00b007ae37a89b5bsi7345513ejc.601.2022.12.18.11.27.57; Sun, 18 Dec 2022 11:28:13 -0800 (PST) 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=eJl4LtUI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Qh8aFDtT; 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 S231142AbiLRS3d (ORCPT + 70 others); Sun, 18 Dec 2022 13:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbiLRS3I (ORCPT ); Sun, 18 Dec 2022 13:29:08 -0500 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D9052ADB; Sun, 18 Dec 2022 09:56:45 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 7D0563200805; Sun, 18 Dec 2022 12:56:44 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sun, 18 Dec 2022 12:56:45 -0500 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=1671386204; x=1671472604; bh=Lr3MWV45UB kC+Upx5XL3PAvGROvHCsXEucBbusCtnP0=; b=eJl4LtUIB9x18YUGZrQ4GBqrKA 9CzU5TZPAy7j+3eWm/GVppdUM4HAOIBMnvYbv16dUTug5nUsFzrmkJNWEzVCzr/A Tm4d6Tjh8hktklG13uv+veEEUySiw9F9kNPveUJqrEGUKi3yjlasAckU3kAzYvsb EXf6RevLcQrqBLLCa2orfRqOc43rl3rv5FXcXvadRwD1Kc5x0z7KOgy4nczXPd3j Lz9PB4YBV17Np68rBvOqZPZXrOJW50mKQ4qtQ2ejmrUy0osUvaIQU5G30Opr/qEF FO6wP5rql3XyGtY/dLHH6N+cHgVS0b8pMjvAS2KI1/ZBh/rlgj13uf1vkPlA== 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=1671386204; x=1671472604; bh=Lr3MWV45UBkC+Upx5XL3PAvGROvH CsXEucBbusCtnP0=; b=Qh8aFDtTYLdyWF+Gnt6+zQ9YyI69LxH6w+GokqsfG5xk kqTwB18D3XM5n26ONAAZePkNCdV+h4CBD8YoyvtGejqg2hS0kZMUEWiwrjIOblA5 4TEzvj8ijL6PEUBEsNZw0q5tBuWR9H7jcu7Yk1IUVTrY6hjk5gC4a51M13V/74mj 3CBZ1J6XFMRuRbswn1SI2Hhd9lW+JDP5R9oGYPLIOtN6oAVymtouaFjl0La1jrnG I7hA6FO3VGylZO9pMVwyN6NIztJ28D4ydEo4+r5nxGWoYYSDaRwAHf0alW7bLHUl 94NGshuQ1eeZgG0w8Mx3prCKkXTHXhiPxquf4pVdGw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedugddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A00EDB60086; Sun, 18 Dec 2022 12:56:43 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <60290159-8d63-4358-9ff1-a65cc335e0c6@app.fastmail.com> In-Reply-To: <20221218142231.qhczawk2zhpgh6dl@mobilestation> References: <20221215165247.1723462-1-arnd@kernel.org> <20221218142231.qhczawk2zhpgh6dl@mobilestation> Date: Sun, 18 Dec 2022 18:56:24 +0100 From: "Arnd Bergmann" To: "Serge Semin" , "Arnd Bergmann" Cc: "Mark Brown" , "Serge Semin" , "Ramil Zaripov" , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: dw_bt1: fix MUX_MMIO dependencies 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 Sun, Dec 18, 2022, at 15:22, Serge Semin wrote: > Hi Arnd > > On Thu, Dec 15, 2022 at 05:52:34PM +0100, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> Selecting a symbol with additional dependencies requires >> adding the same dependency here: >> >> WARNING: unmet direct dependencies detected for MUX_MMIO >> Depends on [n]: MULTIPLEXER [=y] && OF [=n] >> Selected by [y]: >> - SPI_DW_BT1 [=y] && SPI [=y] && SPI_MASTER [=y] && SPI_DESIGNWARE [=y] && (MIPS_BAIKAL_T1 || COMPILE_TEST [=y]) >> >> Alternatively, we could drop this 'select' and require users to manually >> put it into their .config as we do for other drivers. > > Thanks for the patch. Seeing the driver is only implicitly dependent > from the mux-mmio driver (via the device described in the device tree > blob) I'd suggest to either drop the MUX_MMIO config reverse > dependency or convert it to the weak one - 'imply' (if it will solve > the problem). Ok, I'll send a new patch. I don't want to use 'imply' though, that tends to cause other problems because almost nobody understands what it actually does. Arnd