Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1611680rwj; Sun, 18 Dec 2022 11:47:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5tfCPsLS7sAwEBxyOfQ+m9iF9e0lw2KC86+Ej7I7mFbh02l3JlsMdq6qUym/wdXr2oeGwL X-Received: by 2002:a17:907:c78f:b0:7c1:4e8f:df2f with SMTP id tz15-20020a170907c78f00b007c14e8fdf2fmr50433785ejc.17.1671392848735; Sun, 18 Dec 2022 11:47:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671392848; cv=none; d=google.com; s=arc-20160816; b=y0MphRaHvBa/LiKCIu1XAKtQBbk91nkwfchoovvGCp9xSn8zAnuA6jRycKNafJ2GuV hof62VxUjlTx0eMW+ovs3HNaIrUu4HPECY884iyL6ZxkT72O1OaaqrLP9X2Fb43BVjdy qxz1+rFvVfcXqGVKq2lht5P0rEKf4s85+jGTcEWK4wZosBp9f6TedYmUBLhdF8cIapHQ s5x+O0QKVYH0cQGgriXzZLYno4NWDo+NzHZXGjLbd9EwrZXqZMpSXfVZj5IWAGEYHMZC f/0B1B46p3IABH0xhsB9P19bLdRRKk++ZdoqccuqvayS5oG/hbJbuzM2gI8digryOQYe sIGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RZCLe2m2NSD05JaVIkjBaPWHL388f0XCT+zD7gnXxJg=; b=NiCKKD2tPe8+qL3fr5/GeXqfWhtLWL9MHNzkpUvdDjP5vKqDZx0P7V70gfmfSvuamJ lz/t/D7LJrujCJnWV6IyZRY4GrfrjjKtw6JzPPTmtfb3GD3gnrPLPNei1gP7Q0GQXjCV MazQzJoWx3YJ7Nfqgtz/vzB31UJAvN38+MqKQJ2eCjImM5AsHvVHXhCf6RDZk3zI6RKE rGeJ1mqdku/yNF8M3z7n55Z9ZTi0jdHwhOICno0vCuMpg5r0OYLM6Oyet330Dx6bb/tA dhXGpbcHsYce7KPeC2onWbC5lwiO9LUatjKcOl12SoFucdm1/Qt1vUsEF+9XqIQcCvQB FJYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=G312hAt4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn8-20020a17090794c800b007c11fd0d579si2484546ejc.475.2022.12.18.11.47.11; Sun, 18 Dec 2022 11:47:28 -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=@gmail.com header.s=20210112 header.b=G312hAt4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbiLRTZd (ORCPT + 72 others); Sun, 18 Dec 2022 14:25:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiLRTZb (ORCPT ); Sun, 18 Dec 2022 14:25:31 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 987ECB870; Sun, 18 Dec 2022 11:25:27 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id b3so10900457lfv.2; Sun, 18 Dec 2022 11:25:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RZCLe2m2NSD05JaVIkjBaPWHL388f0XCT+zD7gnXxJg=; b=G312hAt4HxrtBRbux5zdMisgUtEQYRrbQ35b0S9QLptUREc/qCFw4lNReSwD7fb84p JCmsZeCW+BujvZVvkbN33v45J200CxzR2wMa912pDgTGQ6tL1LsCoyqye8An7p831laI QdhvdDN2Xa8KLzcueDZtMT4FTdYogY0hMXZzmpc1JY2Zmdmj2XKopk1/FcgumSQH/MEZ tipl30yhqmJqtfelm6GlvrANJfemuGNl5TBMbZPsL1Lz/AZTyJ5397gGpz251poCrrIU W7HbsAadvuOyFrfP3ZE3Hmzaycc7QJW4Tx3+sppsr12L16WlJTjlYl+hvAhdyeR20P6s FdXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RZCLe2m2NSD05JaVIkjBaPWHL388f0XCT+zD7gnXxJg=; b=6IHbCk0JzKj1o70g5SBH2Px3IVkj7Y0ohDjIEY1+Tqx9sXqQkwcU1d8z392RSYkI5D 6Kq/hlEJo8yu6nhYfz37HDMxqKEvJF6TISHeqbPqE8V4TFGz/Yr5AYamOM5Un9sg6Cac n1S/KlLjwy7CImQCNGsyCmpGeGB3TbL9Kohupdjlg8nG2CRCik0ZIErlo++B9Er+1e4w Hrl2nuzBwrDeusB3ZA9olOrwNdTqHqSPx/4Ub0h8WYe7kMmTGI2eoT98JIaP/bk0hnNQ JVmzOQKMr7G7RwLuN9IobpUryx8rZvqeWiw/QzUzQQfQ/rQgEyI0d2dZ7els+f1NGFBw lAZw== X-Gm-Message-State: ANoB5pmZ/ePuaaQbmGLbC05gBh0Qy/LlsD5QoxzWfEcp0+Tbydn3rop8 sYlG8Ts4U1FUV+JVQmJHPWJDLmoRnpg= X-Received: by 2002:a05:6512:3d8f:b0:4b6:ee14:3e98 with SMTP id k15-20020a0565123d8f00b004b6ee143e98mr16918128lfv.23.1671391525808; Sun, 18 Dec 2022 11:25:25 -0800 (PST) Received: from mobilestation ([95.79.133.202]) by smtp.gmail.com with ESMTPSA id o19-20020a05651205d300b00498f77cfa63sm889219lfo.280.2022.12.18.11.25.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Dec 2022 11:25:25 -0800 (PST) Date: Sun, 18 Dec 2022 22:25:23 +0300 From: Serge Semin To: Arnd Bergmann Cc: Arnd Bergmann , 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 Message-ID: <20221218192523.c6vnfo26ua6xqf26@mobilestation> References: <20221215165247.1723462-1-arnd@kernel.org> <20221218142231.qhczawk2zhpgh6dl@mobilestation> <60290159-8d63-4358-9ff1-a65cc335e0c6@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60290159-8d63-4358-9ff1-a65cc335e0c6@app.fastmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 06:56:24PM +0100, Arnd Bergmann wrote: > 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. Ok. Dropping it will be also suitable solution. I'll make sure our defconfigs will be updated afterwards. -Serge(y) > > Arnd