Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6137282rwp; Mon, 17 Jul 2023 15:53:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEOHbSIQOl35mAWEU2hvudQoe1ZKWn9ttzWCbWv4dr/N9hCm9soa7f2pKZ8fdyG3bQXxdzf X-Received: by 2002:aca:de54:0:b0:3a1:de77:2cc2 with SMTP id v81-20020acade54000000b003a1de772cc2mr11433262oig.20.1689634425795; Mon, 17 Jul 2023 15:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689634425; cv=none; d=google.com; s=arc-20160816; b=BSZXQBKsnF8hAt7ZpkN0BuHByLdE55Vjzh6GZWP4DVh5vi9H3S4Kdmob4jNr70Zkl9 1/EmSZZyvMv9eIGpReggVskiNpONPCWs9aY5pdc1jGDK6OBW6mKVwJhZxl8Ti3YBuZiT 94wlZzSp+zVeaJUvNC3Dagw94s/8rPUVkAx2UfvgdYUWnUu4JI6wTQeru8/KwcvJIxDR D8cAUDweyB7NbUlDDOPlLI/OQQlqW3kIJmJQlxeeMmnywLPIZateOxYiR/qG7DaYpG7z YsdseGSirs9NZc+USIo+I/z8ZXYZ/NomJiXIX2QTc9m+9nPZipkbeXJbetrb6CMfmQxD Z7RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=SD4BjHPOaPvPr1/ZZH1VcvVcxozEk2rDCyg0WbaFdM0=; fh=1nXrbURPhCHJ9dlp4rrhpTqaIqG+aJx3a58cm7On/js=; b=oJbuZ8+Cdut/wX3hDm4DHdwRisvSNkoAPYe3ix0WYeW7ndK5DXsdhz187L3d2D20pE 2TfcX+Obmd3Hyvhpu39wc9KO+4fhFZ3giAfL6G8kWC4ssi3cOxa5KJxZ74cDS97k8kYJ osvfqCLJamgxlg9i830C21lHPFKzD66Ow+R1UQ/UYeqc1ibG9cSqvYAeOEeh3yjWxYVV 3tgbevOQDw+YE2jz5PDjI0J4INOTkib4q+oUNHElMPtcVYoEupnSWTlAAiRiodrO9Dp4 do/MPDqH1ZkcsmKzWLTImQqansWLnbWmGkkCO30AwcavLDeRhW/3F/VJHyCnrVq77/S+ kurA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=OnEaqeNt; 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 i70-20020a638749000000b0055bb109f7acsi474361pge.596.2023.07.17.15.53.33; Mon, 17 Jul 2023 15:53:45 -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=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=OnEaqeNt; 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 S229540AbjGQWSl (ORCPT + 99 others); Mon, 17 Jul 2023 18:18:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbjGQWSk (ORCPT ); Mon, 17 Jul 2023 18:18:40 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B397A10E6 for ; Mon, 17 Jul 2023 15:18:38 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b9e9765f2cso29461655ad.3 for ; Mon, 17 Jul 2023 15:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1689632318; x=1692224318; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=SD4BjHPOaPvPr1/ZZH1VcvVcxozEk2rDCyg0WbaFdM0=; b=OnEaqeNtCg1y9PEkZToJx2qXKEpDTMIHfEjo9ryLGWce5Ez6iQkzNNaszSrdQltpTL JXSC+GLoy3jOttu57R7ZAIwbUehfwyNhFg1I+PDJekFzYWFxHQcUm0C1k9fC9r3kDjhC dTZYe0oQC5OSUyy7kJFaTWKZMzaoJPBSXJPMlaqHUOOt/0BGyucCnHTij+ME3iCdIs9A 7OK9fU4EHjNokBTr/ZQz2q2lb2r+5OmZHkNGOS4DURfxmkrazoxq74f6bawmREa/HOKa 49+qt/GXwpmhPz0tugsFR0D8hcOkHkBHIzFJTZ4GmTok+AJmrOEtKSbdLCMwZRTaQ289 BPQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689632318; x=1692224318; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SD4BjHPOaPvPr1/ZZH1VcvVcxozEk2rDCyg0WbaFdM0=; b=MXzS1yr96pA1QHdY/D/xNnGjOLAINe3LvwNFk64cX/lZh6lKPsR2dsU1tvGUnkYdeZ rdUUd2FSj+woYkW+tuSc30ubQNP9cFAKZqHz4OQpHHLJYs91I5FNTIJRLjXpKjNPOtbd 4m6XXvviPorAhKwK7DP0NdiqizLu/4cViT+UGriWh0evPnuVe5wbFwyb5z1zSW6zAWDi N15S7hUYll6h7MCgoCwbONy620qc5uHKZqzuyWU2mPBPGCRLh7lvrv3gSPcMbq5o3fwf DDXLJggVQD4AKTf2UXl6/5i8ibfynaD5p2zTPCVPNEo8CNfFXEt0n80c7Gb4H1Fry9MZ dhng== X-Gm-Message-State: ABy/qLYNka6+6RtpYa0fPgsKXxaGixYiDzQFlEB7TKO12z1V2nEdTdiz PaHc5mQnRioCzxYRYXNxYPAKzQ== X-Received: by 2002:a17:902:ab8e:b0:1b8:30d8:bc45 with SMTP id f14-20020a170902ab8e00b001b830d8bc45mr9837542plr.47.1689632318070; Mon, 17 Jul 2023 15:18:38 -0700 (PDT) Received: from localhost ([2a00:79e1:abd:1b01:c1c0:7ab6:977d:bcfe]) by smtp.gmail.com with ESMTPSA id 17-20020a170902c11100b001b80d411e5bsm329926pli.253.2023.07.17.15.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 15:18:37 -0700 (PDT) Date: Mon, 17 Jul 2023 15:18:37 -0700 (PDT) X-Google-Original-Date: Mon, 17 Jul 2023 15:17:49 PDT (-0700) Subject: Re: [PATCH 0/2] gpio: sifive: Module support In-Reply-To: <20230717205357.2779473-1-samuel.holland@sifive.com> CC: linus.walleij@linaro.org, brgl@bgdev.pl, andy@kernel.org, robh+dt@kernel.org, frowand.list@gmail.com, samuel.holland@sifive.com, Paul Walmsley , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: samuel.holland@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 Mon, 17 Jul 2023 13:53:55 PDT (-0700), samuel.holland@sifive.com wrote: > With of_irq_count() exported, the SiFive GPIO driver can be built as a > module. This helps to minimize the size of a multiplatform kernel, and > is required by some downstream distributions (Android GKI). > > > Samuel Holland (2): > of/irq: Export of_irq_count() > gpio: sifive: Allow building the driver as a module > > drivers/gpio/Kconfig | 2 +- > drivers/gpio/gpio-sifive.c | 4 +++- > drivers/of/irq.c | 1 + > 3 files changed, 5 insertions(+), 2 deletions(-) Acked-by: Palmer Dabbelt I guess we probably should have just done that the first time around? Either way it seems reasonable to me, aside from sorting out the OF stuff.