Received: by 10.223.176.5 with SMTP id f5csp461178wra; Tue, 6 Feb 2018 01:50:52 -0800 (PST) X-Google-Smtp-Source: AH8x227BB4DKYNdVfloauv/2k/AdVVsrmcvEZeOc1ARyksyIo+mEN7xRr3zXs2p38tPkZgExQW4t X-Received: by 10.99.37.7 with SMTP id l7mr1491853pgl.311.1517910651919; Tue, 06 Feb 2018 01:50:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517910651; cv=none; d=google.com; s=arc-20160816; b=DPyBAZh5axOowX+MQ9/6wQoMte60J2KJeB13NfTSN8A/PNGe6MFkAYpQ0B52f/KvNB 2SSGGuyiro8fWMFQrO8G6l2UqOXG+lDUgGlNQjX7s9NWxxdGwfVeyyTtgtTKfzFhVpAC LmQemjHmGoTfMBUsNqoasGx6KJ++pCCHWFndCIzu1U+a9r+AMWL3nr/hTgFGhpOTlT7z H28VKUh3HNHtDc6pw7BXTKvIAoyQsl21SL61vsUJ62EXqBnJ6axhRWZEk1Jt/yzh0N0q Uz+QldOnlXWXys7KaLgWin9HoatLmzijcAOj98KWh1gS6S1x6ScnSjBbKBUxgdOhWwyC BaEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=QHBm3j533MrvIIHpSaLPbs+i7iPBucY9rj+qPorFeCg=; b=l3EY+LPivUGMPBWTtgyxU31oV8fqt4+oowr85NbkL4qwro3Z0VhU7CO7ZW9GW3iQBU Cy4VbctJqht0hKNR3dWS+y+ICdweU0MIPBPi/ZBOE9Y247DBS0MzzEcV3nWcprJlh/rs lkQ+tak4Q8tlQnADYuHLOQ2L+ip/IkZxCVn9rcDj0CMdSeVBm2CWr7iulxxflaeUFFom 0vgfdx1m9QRiiTX0VWqSjhaFN81V6fRMuTCLywiYAXVQzzbAlJ+yHdomTUwNKo9ylg02 I4DDihXRnV+t+D781Be42/ktXAgcRuHjNkbu/I9goBx/mTyD1dbt4dbunVbRH6uWOhql bKMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eNRXvyvr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si6389042pli.180.2018.02.06.01.50.37; Tue, 06 Feb 2018 01:50:51 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=eNRXvyvr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752717AbeBFJtr (ORCPT + 99 others); Tue, 6 Feb 2018 04:49:47 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:45101 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752420AbeBFJth (ORCPT ); Tue, 6 Feb 2018 04:49:37 -0500 Received: by mail-io0-f195.google.com with SMTP id p188so1835206ioe.12 for ; Tue, 06 Feb 2018 01:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QHBm3j533MrvIIHpSaLPbs+i7iPBucY9rj+qPorFeCg=; b=eNRXvyvrdsysjC3fW/5DPdvXVS09y1eKH+lCEEW2WDLzfPLtLT671cwvBf+eTeLxKr Msni4i38h3PVpX8Zfj2ihQ3hoCzUkJ6dro1eehEjeGIt1zJixNgAVYx3Oqce6hkXfO/R 0vMKW6FBqU9TqKjbla+iICxFCWZa8etLWHTbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QHBm3j533MrvIIHpSaLPbs+i7iPBucY9rj+qPorFeCg=; b=tkFKCUrmndiItGGwXhKfLT6sIBH6PGVnBVjosxEu2mdJS0jzb6+BIT4khBW/VkGogY cTEWlrf4UxBviNfx3EE8VRI2iAXH/d5Pl4xsFoUcdkTjb8sBrTscqTNTBCuhGeSMYKrm yvL2Ml6j/v2qhd4S3lR8wWMmUGIM4cLB9Gp2UiROM6Xbf6QWuFabZkst24nlz7DbQvHI qeaNGu2Dz4U0f7k9BWS/V2eeF9KvboGUxcr2au82qVoiBRcEyQVCYS0STVAooJ0r3roE kVGPuPfdqWj8S+afBDOD1w8nCTaC7zFTI+3HZ2jEFQysmWnhBehVlCmc+LAjd8YQPDMP UqfQ== X-Gm-Message-State: APf1xPDsb5bZDDqFufEgVzad0PCk6Siot4mVRPicwlG8wVfgwIGibQh4 Lkr6xJgkjXG6T2uPaw/Kq0S6+/73lUsMTUapSzqIKThF X-Received: by 10.107.17.140 with SMTP id 12mr2310706ior.260.1517910576424; Tue, 06 Feb 2018 01:49:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.131 with HTTP; Tue, 6 Feb 2018 01:49:35 -0800 (PST) In-Reply-To: References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-8-ulfalizer@gmail.com> From: Linus Walleij Date: Tue, 6 Feb 2018 10:49:35 +0100 Message-ID: Subject: Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select To: Ulf Magnusson Cc: "linux-kernel@vger.kernel.org" , linux-kbuild , tfiga@chromium.org, paul.burton@mips.com, Marek Szyprowski , Hans-Christian Egtvedt , Vineet Gupta , mgorman@techsingularity.net, Christoph Hellwig , mina86@mina86.com, Rob Herring , Stephen Boyd , Paul Mackerras , Will Deacon , ext Tony Lindgren , Nicholas Piggin , Masahiro Yamada , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 6, 2018 at 12:49 AM, Ulf Magnusson wrote: > On Tue, Feb 6, 2018 at 12:38 AM, Ulf Magnusson wrote: >> On Tue, Feb 6, 2018 at 12:25 AM, Linus Walleij wrote: >>> On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: >>> >>>> The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743 >>>> ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should >>>> just be selected explicitly if needed. >>>> >>>> Remove the ARCH_WANT_OPTIONAL_GPIOLIB select from RISCV. >>>> >>>> See commit 0145071b3314 ("x86: Do away with >>>> ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") and commit da9a1c6767 ("arm64: do >>>> away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") as well. >>>> >>>> Discovered with the >>>> https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py >>>> script. >>>> >>>> Signed-off-by: Ulf Magnusson >>> >>> This should probaly be replaced with >>> select GPIOLIB >>> >>> Yours, >>> Linus Walleij >> >> That'd make more sense if GPIOLIB is actually used. The select has >> been a no-op since mid-2016 at least, but maybe something else selects >> GPIOLIB. >> >> Cheers, >> Ulf > > Just replace it with your own patch once you've figured out the proper > fix. More efficient than having a middle man making (sometimes poor) > guesses. I think it's just a side effect of the new RISCV arch being developed outside of the mainline kernel. And they may have had a gpio driver outside of the mainline as well. Normally we don't encourage out-of-tree development, but new archs are a bit of an exception since they have to be merged as a big piece of upfront code at some point... Anyways, if they don't have any GPIO in their machine yet, let's let the RISCV maintainers apply this. Yours, Linus Walleij