Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5484060rwb; Wed, 7 Sep 2022 03:41:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR6dwuRuI+2tcpaeZYM3n28KjwUCPsN1xuRJBzXZUtdz8uLiDVdS7czQXMfk0u+qFeh1W+FE X-Received: by 2002:a05:6402:1d4a:b0:44e:cb6e:8f15 with SMTP id dz10-20020a0564021d4a00b0044ecb6e8f15mr2521672edb.413.1662547293734; Wed, 07 Sep 2022 03:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662547293; cv=none; d=google.com; s=arc-20160816; b=oPbJjuykb9XNK+odmj4wBcZmR5bi4e87aEGm34T38HZqahxLahxIVV/5aktQdS1n1S BgADAZ0AlFDv9pnPv1YcZKQHMf/F27pFcOIPcVlKbKzslNnya7IH0brtrck4iO3A9OBM rsCeEEOj++Tnme898OA9q6lBFclQxPhqLnK0wDbiVrwk2ZINpGZDzTAOSCcvikeckqR+ 9PUcZFJDfWzCVQLmqOFHHhgP1WFRP2HB3W+XDi1rvFnrHp5WVVLKEW9KqriezvF/eK43 AmRBgJhEaSai8nUwS86Z+H+9LSk/GCviHomiMw2vSLFJneu66/VvPyeEbUy0pxdCNR1G QU2A== 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=UmErXfxWmwfotEsmsDPTW3AU+XHqokuOWaVIqSNnJFU=; b=WrDyEVU7RFbvxb2Uq9R/OW9OXJyY4PKeV0pmRJUaMgXvBQwg6CDOy3cLjAETJce6dj QaFGL8wY92C4vvEHphuL+sBO8kBGp1BNKPx03hKHEKEVXmlEh/fffEr7ma+LIGszF2Bm kJjnhJT7OjOb5lqPMABvSrzSh/7x0xwoo2uyS2VPcYSZ8WL35w8oIw3RxYFzCWlCMBeW Y/K2W+0o2RcAlFdSAz6Cdvo+cogiUarpySXZKGGBC+Vk6BcB7t7xD2lKR5bKbDc/t3m+ kJUSUSraVSXXgR9SFhy0uS+RLY0zQ6zknjDS5ajE8b5FE6RIsWWKfXnU494tCg0iEyj8 MZ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="e67eu/2S"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gTKIwCiZ; 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 sb1-20020a1709076d8100b007309a570223si11210816ejc.609.2022.09.07.03.41.08; Wed, 07 Sep 2022 03:41:33 -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="e67eu/2S"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gTKIwCiZ; 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 S230244AbiIGKPl (ORCPT + 99 others); Wed, 7 Sep 2022 06:15:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbiIGKPI (ORCPT ); Wed, 7 Sep 2022 06:15:08 -0400 Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCDEC25588; Wed, 7 Sep 2022 03:15:02 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id CF3012B059F7; Wed, 7 Sep 2022 06:14:59 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 07 Sep 2022 06:15:01 -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=1662545699; x=1662549299; bh=UmErXfxWmw fotEsmsDPTW3AU+XHqokuOWaVIqSNnJFU=; b=e67eu/2Sau6rqKLtSjHFTtHnaQ sYFIdetsex7+OyjkVCLZ9beeQM0Mj/IeHdY5qLHK5/qa9DCDvlLfEE0vXVsM++FW DmI/pO1hL9RP2EFDsAEE3ZnAqtF6BaG2jIBVsYacgmki9ZiMgYsXxo4j1ZXSX9am YWAAb2igRgEssKmR+azw8g+pGFpKueubV/O/pNMRsjRI65T0mBNq1diDNtzgyRRi BgsjNAl0Lz/1ivUtK2a7FQjQi0ubIrbxh0shz6nEs/S2OgZa23RbnQvx6QX/6NnK 4qfC1NcLXSP+byXBtZ5fMkEPxzPtxh4drQDP4xaivqxX8mhLS+T3qZooLzIg== 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=1662545699; x=1662549299; bh=UmErXfxWmwfotEsmsDPTW3AU+XHq okuOWaVIqSNnJFU=; b=gTKIwCiZt86E5s5vG5fI33tYaugRTJZhOxCAbdnOKqVO koCeLg26AixgJHv7xcEnAVxt2f+uq1Qe9Ly/XZ9AZxNADVEoNEuSTGAaJ1MVz9Xv vEs4uekKsxYNrk27iiUJQKpMO5V9w1ithQ8yq6Sl4fwmsTAW1q1KnTVjnJ8fY9iP Pk1BQNuHauJpW3b8oe5l248mJVUiGc/KcaSWHIQV88MILHRtmTjY2juOAMF16fZw 9TFpjATLujFr5ARlnpjrbY4FALuKVkxhNB5Jt7IUi/vL1AUfPtj+Yah3oQmyM+jX hEXnmkP2LMNTlZ6Qq+wjqmzBuITrYXXD+pOTprwL+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedttddgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3CDB4B60083; Wed, 7 Sep 2022 06:14:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-927-gf4c98c8499-fm-20220826.002-gf4c98c84 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Wed, 07 Sep 2022 12:14:38 +0200 From: "Arnd Bergmann" To: "Bartosz Golaszewski" , "Christophe Leroy" Cc: "Linus Walleij" , "Geert Uytterhoeven" , Keerthy , "Russell King" , "Jonathan Corbet" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , "H. Peter Anvin" , "Catalin Marinas" , "Will Deacon" , "Davide Ciminaghi" , "Linux Kernel Mailing List" , "open list:GPIO SUBSYSTEM" , "Linux ARM" , Linux-Arch , linux-doc , x86@kernel.org Subject: Re: [PATCH v2 0/9] gpio: Get rid of ARCH_NR_GPIOS (v2) 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 7, 2022, at 11:58 AM, Bartosz Golaszewski wrote: > On Fri, Sep 2, 2022 at 2:42 PM Christophe Leroy wrote: >> >> Documentation/driver-api/gpio/legacy.rst | 5 - >> arch/arm/Kconfig | 21 -- >> arch/arm/include/asm/gpio.h | 1 - >> arch/arm64/Kconfig | 12 - >> arch/x86/Kconfig | 5 - >> drivers/gpio/Kconfig | 8 - >> drivers/gpio/Makefile | 1 - >> drivers/gpio/gpio-aggregator.c | 7 +- >> drivers/gpio/gpio-davinci.c | 3 - >> drivers/gpio/gpio-sta2x11.c | 411 ----------------------- >> drivers/gpio/gpiolib.c | 13 +- >> include/asm-generic/gpio.h | 55 ++- >> 12 files changed, 33 insertions(+), 509 deletions(-) >> delete mode 100644 drivers/gpio/gpio-sta2x11.c For the arch/arm*/Kconfig and include/asm-generic changes: Acked-by: Arnd Bergmann sta2x11 is an x86 driver, so not my area, but I think it would be best to kill off the entire platform rather than just its gpio driver, since everything needs to work together and it's clearly not functional at the moment. $ git grep -l STA2X11 Documentation/admin-guide/media/pci-cardlist.rst arch/x86/Kconfig arch/x86/include/asm/sta2x11.h arch/x86/pci/Makefile arch/x86/pci/sta2x11-fixup.c drivers/ata/ahci.c drivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-sta2x11.c drivers/i2c/busses/Kconfig drivers/media/pci/Makefile drivers/media/pci/sta2x11/Kconfig drivers/media/pci/sta2x11/Makefile drivers/media/pci/sta2x11/sta2x11_vip.c drivers/media/pci/sta2x11/sta2x11_vip.h drivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/sta2x11-mfd.c include/linux/mfd/sta2x11-mfd.h Removing the other sta2x11 bits (mfd, media, x86) should probably be done through the respective tree, but it would be good not to forget those. Arnd